Remote Call Framework 3.4
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...
 
void dropSubscriber (RcfSessionWeakPtr sessionWeakPtr)
 Drops a particular subscriber connection. 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.

◆ dropSubscriber()

void RCF::PublisherBase::dropSubscriber ( RcfSessionWeakPtr  sessionWeakPtr)

Drops a particular subscriber connection.


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