ifw  0.0.1-dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
devmgr::common::TopicParsers Class Referencefinal

#include <msgParsers.hpp>

Inheritance diagram for devmgr::common::TopicParsers:
rad::TopicHandler rad::TopicHandler rad::TopicHandler

Public Member Functions

 TopicParsers (rad::Dispatcher &event_dispatcher)
 
void handle (const std::string &payload_type, void const *topic, size_t topic_size)
 
 TopicParsers (const TopicParsers &)=delete
 Disable copy constructor. More...
 
TopicParsersoperator= (const MsgParsers &)=delete
 Disable assignment operator. More...
 
 TopicParsers (rad::Dispatcher &event_dispatcher)
 
void handle (const std::string &payload_type, void const *topic, size_t topic_size)
 
 TopicParsers (const TopicParsers &)=delete
 Disable copy constructor. More...
 
TopicParsersoperator= (const MsgParsers &)=delete
 Disable assignment operator. More...
 
 TopicParsers (rad::Dispatcher &event_dispatcher)
 
void handle (const std::string &payload_type, void const *topic, size_t topic_size)
 
 TopicParsers (const TopicParsers &)=delete
 Disable copy constructor. More...
 
TopicParsersoperator= (const MsgParsers &)=delete
 Disable assignment operator. More...
 
- Public Member Functions inherited from rad::TopicHandler
virtual ~TopicHandler ()
 
virtual ~TopicHandler ()
 
virtual ~TopicHandler ()
 

Detailed Description

This class parses a ZMQ raw topics into application events and triggers the dispatching of the events.

Constructor & Destructor Documentation

devmgr::common::TopicParsers::TopicParsers ( rad::Dispatcher event_dispatcher)

Constructor for the topics messages handler.

Parameters
[in]eventDispatcherDispatcher to be used to dispatch the events.
devmgr::common::TopicParsers::TopicParsers ( const TopicParsers )
delete

Disable copy constructor.

devmgr::common::TopicParsers::TopicParsers ( rad::Dispatcher event_dispatcher)

Constructor for the topics messages handler.

Parameters
[in]eventDispatcherDispatcher to be used to dispatch the events.
devmgr::common::TopicParsers::TopicParsers ( const TopicParsers )
delete

Disable copy constructor.

devmgr::common::TopicParsers::TopicParsers ( rad::Dispatcher event_dispatcher)

Constructor for the topics messages handler.

Parameters
[in]eventDispatcherDispatcher to be used to dispatch the events.
devmgr::common::TopicParsers::TopicParsers ( const TopicParsers )
delete

Disable copy constructor.

Member Function Documentation

void devmgr::common::TopicParsers::handle ( const std::string &  payload_type,
void const topic,
size_t  topic_size 
)
virtual

Handle a raw topic messages by parsing the payload, creating the related event, and dispatching the event.

Parameters
[in]identityIdentity of the originator of the request/reply.
[in]payloadTypeType of the payload received. It coincides with the request ID.
[in]pMsgPointer to the raw message payload.
[in]msgSizeSize of the payload.

Implements rad::TopicHandler.

void devmgr::common::TopicParsers::handle ( const std::string &  payload_type,
void const topic,
size_t  topic_size 
)
virtual

Handle a raw topic messages by parsing the payload, creating the related event, and dispatching the event.

Parameters
[in]identityIdentity of the originator of the request/reply.
[in]payloadTypeType of the payload received. It coincides with the request ID.
[in]pMsgPointer to the raw message payload.
[in]msgSizeSize of the payload.

Implements rad::TopicHandler.

void devmgr::common::TopicParsers::handle ( const std::string &  payload_type,
void const topic,
size_t  topic_size 
)
virtual

Handle a raw topic messages by parsing the payload, creating the related event, and dispatching the event.

Parameters
[in]identityIdentity of the originator of the request/reply.
[in]payloadTypeType of the payload received. It coincides with the request ID.
[in]pMsgPointer to the raw message payload.
[in]msgSizeSize of the payload.

Implements rad::TopicHandler.

TopicParsers& devmgr::common::TopicParsers::operator= ( const MsgParsers )
delete

Disable assignment operator.

TopicParsers& devmgr::common::TopicParsers::operator= ( const MsgParsers )
delete

Disable assignment operator.

TopicParsers& devmgr::common::TopicParsers::operator= ( const MsgParsers )
delete

Disable assignment operator.


The documentation for this class was generated from the following files: