/** * Convert from Equipment Number to Participant ID * $Id$ * $HeadURL$ * $Author$ * Created by Christian Ehrlicher, SLSE, 2016-04-14 */ #pragma once #include #include #include "logger.h" #include namespace Buildings { class MainHandler; class RelayInfoHandler : public QObject , protected Interface::Fts::SetRelayInfoRequestHandler { Q_OBJECT public: explicit RelayInfoHandler(MainHandler *mainHandler); ~RelayInfoHandler(); bool init(); private Q_SLOTS: private: void onSetRelayInfoRequest(const rti::core::SampleIdentity &cookie, const SetRelayInfoRequest &request) override; Core::FunctionReplyObject onSetRelayInfoRequestInternal(const SetRelayInfoRequest &data); MainHandler *m_mainHandler; LOGGER_T m_logger; }; }