Remote Call Framework 3.0
RCF::PublisherParms Class Reference

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

Detailed Description

General configuration of a publisher.

Member Function Documentation

◆ setTopicName()

void RCF::PublisherParms::setTopicName ( const std::string &  topicName)

Sets the topic name of the publisher.

◆ getTopicName()

std::string RCF::PublisherParms::getTopicName ( ) const

Gets the topic name of the publisher.

◆ setOnSubscriberConnect()

void RCF::PublisherParms::setOnSubscriberConnect ( OnSubscriberConnect  onSubscriberConnect)

Configures a callback to be called whenever a subscriber connects to this publisher.

◆ setOnSubscriberDisconnect()

void RCF::PublisherParms::setOnSubscriberDisconnect ( OnSubscriberDisconnect  onSubscriberDisconnect)

Configures a callback to be called whenever a subscriber disconnects from this publisher.


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