The BasePublisher class contains the common implementation for the different publisher specializations.
More...
#include <iceoryx_posh/internal/popo/base_publisher.hpp>
|
|
| BasePublisher (const BasePublisher &other)=delete |
|
BasePublisher & | operator= (const BasePublisher &)=delete |
|
| BasePublisher (BasePublisher &&rhs)=delete |
|
BasePublisher & | operator= (BasePublisher &&rhs)=delete |
| uid_t | getUid () const noexcept |
| | uid Get the UID of the publisher.
|
| capro::ServiceDescription | getServiceDescription () const noexcept |
| | getServiceDescription Get the service description of the publisher.
|
|
void | offer () noexcept |
| | offer Offer the service to be subscribed to.
|
|
void | stopOffer () noexcept |
| | stopOffer Stop offering the service.
|
| bool | isOffered () const noexcept |
| | isOffered
|
| bool | hasSubscribers () const noexcept |
| | hasSubscribers
|
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: