rad  3.0.0
Public Member Functions | List of all members
rad::TopicHandler Class Referenceabstract

#include <topicHandler.hpp>

Inheritance diagram for rad::TopicHandler:
hello::TopicParsers server::TopicParsers TestTopicHandler

Public Member Functions

virtual ~TopicHandler ()
 
virtual void Handle (const std::string &topic_type_id, const void *data, size_t data_size)=0
 
virtual ~TopicHandler ()
 
virtual void Handle (const std::string &topic_type_id, const void *data, size_t data_size)=0
 

Detailed Description

Base class for actions performed for a specific topic type

Constructor & Destructor Documentation

◆ ~TopicHandler() [1/2]

virtual rad::TopicHandler::~TopicHandler ( )
inlinevirtual

◆ ~TopicHandler() [2/2]

virtual rad::TopicHandler::~TopicHandler ( )
inlinevirtual

Member Function Documentation

◆ Handle() [1/2]

virtual void rad::TopicHandler::Handle ( const std::string &  topic_type_id,
const void *  data,
size_t  data_size 
)
pure virtual

Handles raw topic.

Parameters
topic_type_idIdentity of message type.
dataRaw serialized message.
data_sizeSize of the raw message.

Implemented in TestTopicHandler, server::TopicParsers, server::TopicParsers, hello::TopicParsers, and hello::TopicParsers.

◆ Handle() [2/2]

virtual void rad::TopicHandler::Handle ( const std::string &  topic_type_id,
const void *  data,
size_t  data_size 
)
pure virtual

Handles raw topic.

Parameters
topic_type_idIdentity of message type.
dataRaw serialized message.
data_sizeSize of the raw message.

Implemented in TestTopicHandler, server::TopicParsers, server::TopicParsers, hello::TopicParsers, and hello::TopicParsers.


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