Base class of all publishers. More...
#include <PublishingService.hpp>
Public Member Functions | |
std::string | getTopicName () |
Gets the topic name of the publisher. The default topic name is the name of the RCF interface of the publisher. More... | |
std::size_t | getSubscriberCount () |
Gets the number of subscribers currently connected. More... | |
void | close () |
Closes the publisher and disconnects any current subscribers. More... | |
void | dropSubscriber (RcfSessionWeakPtr sessionWeakPtr) |
Drops a particular subscriber connection. More... | |
Base class of all publishers.
std::string RCF::PublisherBase::getTopicName | ( | ) |
Gets the topic name of the publisher. The default topic name is the name of the RCF interface of the publisher.
std::size_t RCF::PublisherBase::getSubscriberCount | ( | ) |
Gets the number of subscribers currently connected.
void RCF::PublisherBase::close | ( | ) |
Closes the publisher and disconnects any current subscribers.
void RCF::PublisherBase::dropSubscriber | ( | RcfSessionWeakPtr | sessionWeakPtr | ) |
Drops a particular subscriber connection.