Remote Call Framework 3.0
RCF::Publisher< Interface > Class Template Reference

Represents a single publisher within a RcfServer. To create a publisher, use RcfServer::createPublisher(). More...

#include <PublishingService.hpp>

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

Public Member Functions

RcfClientT & publish ()
 Returns a reference to the RcfClient<> instance to use when publishing messages. More...
 
- Public Member Functions inherited from RCF::PublisherBase
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

template<typename Interface>
class RCF::Publisher< Interface >

Represents a single publisher within a RcfServer. To create a publisher, use RcfServer::createPublisher().

Member Function Documentation

◆ publish()

template<typename Interface >
RcfClientT& RCF::Publisher< Interface >::publish ( )

Returns a reference to the RcfClient<> instance to use when publishing messages.


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