General configuration of a publisher. More...
#include <PublishingService.hpp>
Public Member Functions | |
| void | setTopicName (const std::string &topicName) |
| Sets the topic name of the publisher. More... | |
| std::string | getTopicName () const |
| Gets the topic name of the publisher. More... | |
| void | setOnSubscriberConnect (OnSubscriberConnect onSubscriberConnect) |
| Configures a callback to be called whenever a subscriber connects to this publisher. More... | |
| void | setOnSubscriberDisconnect (OnSubscriberDisconnect onSubscriberDisconnect) |
| Configures a callback to be called whenever a subscriber disconnects from this publisher. More... | |
General configuration of a publisher.
| void RCF::PublisherParms::setTopicName | ( | const std::string & | topicName | ) |
Sets the topic name of the publisher.
| std::string RCF::PublisherParms::getTopicName | ( | ) | const |
Gets the topic name of the publisher.
| void RCF::PublisherParms::setOnSubscriberConnect | ( | OnSubscriberConnect | onSubscriberConnect | ) |
Configures a callback to be called whenever a subscriber connects to this publisher.
| void RCF::PublisherParms::setOnSubscriberDisconnect | ( | OnSubscriberDisconnect | onSubscriberDisconnect | ) |
Configures a callback to be called whenever a subscriber disconnects from this publisher.