|
rad 6.2.0
|
#include <msgParsers.hpp>
Public Member Functions | |
| TopicParsers (rad::SMAdapter &sm) | |
| void | Handle (const std::string &topic, void const *msg, size_t sz) override |
| TopicParsers (const TopicParsers &)=delete | |
| TopicParsers & | operator= (const MsgParsers &)=delete |
Public Member Functions inherited from rad::TopicHandler | |
| virtual | ~TopicHandler () |
This class parses a ZMQ raw topics into application events and triggers the dispatching of the events.
|
explicit |
Constructor for the topics messages handler.
| [in] | sm | SM adapter used to trigger events. |
|
delete |
|
overridevirtual |
Handle a raw topic messages by parsing the payload, creating the related event, and dispatching the event.
| [in] | topic | Topic's name. |
| [in] | msg | Pointer to the raw message payload. |
| [in] | sz | Size of the payload. |
Implements rad::TopicHandler.
|
delete |