The BasePublisher class contains the common implementation for the different publisher specializations.
More...
#include <iceoryx_posh/internal/popo/base_publisher.hpp>
template<typename port_t = iox::PublisherPortUserType>
class iox::popo::BasePublisher< port_t >
The BasePublisher class contains the common implementation for the different publisher specializations.
- Note
- Not intended for public usage! Use the
Publisher
or UntypedPublisher
instead!
◆ getServiceDescription()
template<typename port_t = iox::PublisherPortUserType>
getServiceDescription Get the service description of the publisher.
- Returns
- The service description.
◆ getUid()
template<typename port_t = iox::PublisherPortUserType>
uid Get the UID of the publisher.
- Returns
- The publisher's UID.
◆ hasSubscribers()
template<typename port_t = iox::PublisherPortUserType>
hasSubscribers
- Returns
- True if currently has subscribers to the service.
◆ isOffered()
template<typename port_t = iox::PublisherPortUserType>
isOffered
- Returns
- True if service is currently being offered.
◆ port() [1/2]
template<typename port_t = iox::PublisherPortUserType>
port
- Returns
- const accessor of the underlying port
◆ port() [2/2]
template<typename port_t = iox::PublisherPortUserType>
port
- Returns
- accessor of the underlying port
The documentation for this class was generated from the following file: