Update Hyperion.h

Former-commit-id: 877c98ea4c6f5503fda14914e315c2b9eb301a44
This commit is contained in:
AEtHeLsYn 2016-03-09 19:55:55 +01:00
parent 63e3380ff7
commit bcb0802542

View File

@ -141,6 +141,12 @@ public slots:
/// ///
ColorCorrection * getCorrection(const std::string& id); ColorCorrection * getCorrection(const std::string& id);
///
/// Returns MessageForwarder Object
/// @return instance of message forwarder object
///
MessageForwarder * getForwarder();
/// Tell Hyperion that the transforms have changed and the leds need to be updated /// Tell Hyperion that the transforms have changed and the leds need to be updated
void transformsUpdated(); void transformsUpdated();
@ -195,6 +201,7 @@ public:
static RgbChannelCorrection * createRgbChannelCorrection(const Json::Value& colorConfig); static RgbChannelCorrection * createRgbChannelCorrection(const Json::Value& colorConfig);
static LedDevice * createColorSmoothing(const Json::Value & smoothingConfig, LedDevice * ledDevice); static LedDevice * createColorSmoothing(const Json::Value & smoothingConfig, LedDevice * ledDevice);
static MessageForwarder * createMessageForwarder(const Json::Value & forwarderConfig);
signals: signals:
/// Signal which is emitted when a priority channel is actively cleared /// Signal which is emitted when a priority channel is actively cleared
@ -234,6 +241,9 @@ private:
/// Effect engine /// Effect engine
EffectEngine * _effectEngine; EffectEngine * _effectEngine;
//protoo and json Message forwarder
MessageForwarder * _messageForwarder;
/// The timer for handling priority channel timeouts /// The timer for handling priority channel timeouts
QTimer _timer; QTimer _timer;
}; };