From bcb080254251193ec877b216e5bd10d5aab94d6b Mon Sep 17 00:00:00 2001 From: AEtHeLsYn Date: Wed, 9 Mar 2016 19:55:55 +0100 Subject: [PATCH] Update Hyperion.h Former-commit-id: 877c98ea4c6f5503fda14914e315c2b9eb301a44 --- include/hyperion/Hyperion.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/hyperion/Hyperion.h b/include/hyperion/Hyperion.h index 516efc2d..a8691953 100644 --- a/include/hyperion/Hyperion.h +++ b/include/hyperion/Hyperion.h @@ -140,6 +140,12 @@ public slots: /// @return The transform with the given identifier (or nullptr if the identifier does not exist) /// 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 void transformsUpdated(); @@ -195,6 +201,7 @@ public: static RgbChannelCorrection * createRgbChannelCorrection(const Json::Value& colorConfig); static LedDevice * createColorSmoothing(const Json::Value & smoothingConfig, LedDevice * ledDevice); + static MessageForwarder * createMessageForwarder(const Json::Value & forwarderConfig); signals: /// Signal which is emitted when a priority channel is actively cleared @@ -233,6 +240,9 @@ private: /// Effect engine EffectEngine * _effectEngine; + + //protoo and json Message forwarder + MessageForwarder * _messageForwarder; /// The timer for handling priority channel timeouts QTimer _timer;