Remote Call Framework 3.1
RCF::PublisherBase Class Reference

Base class of all publishers. More...

#include <PublishingService.hpp>

Inheritance diagram for RCF::PublisherBase:
RCF::Publisher< Interface >

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...
 

Detailed Description

Base class of all publishers.

Member Function Documentation

◆ getTopicName()

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.

◆ getSubscriberCount()

std::size_t RCF::PublisherBase::getSubscriberCount ( )

Gets the number of subscribers currently connected.

◆ close()

void RCF::PublisherBase::close ( )

Closes the publisher and disconnects any current subscribers.


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