ifw
0.0.1-dev
|
#include <msgParsers.hpp>
Public Member Functions | |
TopicParsers (rad::Dispatcher &event_dispatcher) | |
void | handle (const std::string &payload_type, void const *topic, size_t topic_size) override |
TopicParsers (const TopicParsers &)=delete | |
TopicParsers & | operator= (const MsgParsers &)=delete |
Disable copy constructor. More... | |
TopicParsers (rad::Dispatcher &event_dispatcher) | |
void | handle (const std::string &payload_type, void const *topic, size_t topic_size) override |
TopicParsers (const TopicParsers &)=delete | |
TopicParsers & | operator= (const MsgParsers &)=delete |
Disable copy constructor. More... | |
![]() | |
virtual | ~TopicHandler () |
virtual | ~TopicHandler () |
virtual | ~TopicHandler () |
This class parses a ZMQ raw topics into application events and triggers the dispatching of the events.
ctd::qatk::qapp2::TopicParsers::TopicParsers | ( | rad::Dispatcher & | event_dispatcher | ) |
Constructor for the topics messages handler.
[in] | eventDispatcher | Dispatcher to be used to dispatch the events. |
|
delete |
ctd::qatk::qapp2::TopicParsers::TopicParsers | ( | rad::Dispatcher & | event_dispatcher | ) |
Constructor for the topics messages handler.
[in] | eventDispatcher | Dispatcher to be used to dispatch the events. |
|
delete |
|
overridevirtual |
Handle a raw topic messages by parsing the payload, creating the related event, and dispatching the event.
[in] | identity | Identity of the originator of the request/reply. |
[in] | payloadType | Type of the payload received. It coincides with the request ID. |
[in] | pMsg | Pointer to the raw message payload. |
[in] | msgSize | Size of the payload. |
Implements rad::TopicHandler.
|
overridevirtual |
Handle a raw topic messages by parsing the payload, creating the related event, and dispatching the event.
[in] | identity | Identity of the originator of the request/reply. |
[in] | payloadType | Type of the payload received. It coincides with the request ID. |
[in] | pMsg | Pointer to the raw message payload. |
[in] | msgSize | Size of the payload. |
Implements rad::TopicHandler.
|
delete |
Disable copy constructor.
|
delete |
Disable copy constructor.