![]()  | 
  
    mrs_lib
    
   Various reusable classes, functions and utilities for use in MRS projects 
   | 
 
implementation of the publisher handler More...
#include <publisher_handler.h>
Public Member Functions | |
| PublisherHandler_impl (void) | |
| default constructor  | |
| ~PublisherHandler_impl (void) | |
| default destructor  | |
| PublisherHandler_impl (const PublisherHandlerOptions &options, const std::string &address) | |
| full constructor with options   | |
| void | publish (const TopicType &msg) | 
| publish message   | |
| void | publish (const std::shared_ptr< TopicType > &msg) | 
| publish message, boost ptr overload   | |
| void | publish (typename TopicType::ConstSharedPtr msg) | 
| publish message, boost const ptr overload   | |
| unsigned int | getNumSubscribers (void) | 
| get number of subscribers   | |
implementation of the publisher handler
| mrs_lib::PublisherHandler_impl< TopicType >::PublisherHandler_impl | ( | const PublisherHandlerOptions & | options, | 
| const std::string & | address | ||
| ) | 
full constructor with options
| options | subscribe handler options | 
| address | topic address | 
| unsigned int mrs_lib::PublisherHandler_impl< TopicType >::getNumSubscribers | ( | void | ) | 
get number of subscribers
| void mrs_lib::PublisherHandler_impl< TopicType >::publish | ( | const std::shared_ptr< TopicType > & | msg | ) | 
publish message, boost ptr overload
| msg | message | 
| void mrs_lib::PublisherHandler_impl< TopicType >::publish | ( | const TopicType & | msg | ) | 
publish message
| msg | data | 
| void mrs_lib::PublisherHandler_impl< TopicType >::publish | ( | typename TopicType::ConstSharedPtr | msg | ) | 
publish message, boost const ptr overload
| msg | message | 
publish message, boost const ptr overload
| msg | message |