|
iceoryx2
C++ Language Bindings
|
#include <port_factory_publish_subscribe.hpp>
Friends | |
| template<typename , typename , ServiceType > | |
| class | ServiceBuilderPublishSubscribe |
The factory for [MessagingPattern::PublishSubscribe]. It can acquire dynamic and static service informations and create [Publisher] or [Subscriber] ports.
Definition at line 38 of file port_factory_publish_subscribe.hpp.
|
inlinenoexcept |
Definition at line 117 of file port_factory_publish_subscribe.hpp.
|
inline |
Definition at line 135 of file port_factory_publish_subscribe.hpp.
|
delete |
|
inline |
Returns the attributes defined in the [Service].
Definition at line 158 of file port_factory_publish_subscribe.hpp.
|
inline |
Removes the stale system resources of all dead [Node]s connected to this service.
If a [Node] cannot be cleaned up since the process has insufficient permissions then the [Node] is skipped. If it is currently being cleaned up by another process then the cleaner will wait until the timeout as either passed or the cleaned was finished.
The timeout is applied to every individual dead [Node] the function needs to wait on.
Definition at line 190 of file port_factory_publish_subscribe.hpp.
References CleanupState::cleanups.
|
inline |
Returns the DynamicConfig of the [Service]. Contains all dynamic settings, like the current participants etc..
Definition at line 171 of file port_factory_publish_subscribe.hpp.
|
inline |
Returns the [ServiceName] of the service.
Definition at line 140 of file port_factory_publish_subscribe.hpp.
|
inline |
Iterates over all [Node]s of the [Service] and calls for every [Node] the provided callback. If an error occurs while acquiring the [Node]s corresponding [NodeState] the error is forwarded to the callback as input argument.
Definition at line 204 of file port_factory_publish_subscribe.hpp.
References iox2::internal::ctx(), and iox2::bb::err().
|
delete |
|
inlinenoexcept |
Definition at line 123 of file port_factory_publish_subscribe.hpp.
|
inline |
Returns a [PortFactoryPublisher] to create a new [Publisher] port.
Definition at line 227 of file port_factory_publish_subscribe.hpp.
|
inline |
Returns the [ServiceHash] of the [Service].
Definition at line 146 of file port_factory_publish_subscribe.hpp.
|
inline |
Returns the StaticConfig of the [Service]. Contains all settings that never change during the lifetime of the service.
Definition at line 163 of file port_factory_publish_subscribe.hpp.
References iox2::PortFactoryPublishSubscribe< S, Payload, UserHeader >::static_config().
Referenced by iox2::PortFactoryPublishSubscribe< S, Payload, UserHeader >::static_config().
|
inline |
Returns a [PortFactorySubscriber] to create a new [Subscriber] port.
Definition at line 220 of file port_factory_publish_subscribe.hpp.
|
inline |
Removes the stale system resources of all dead [Node]s connected to this service.
If a [Node] cannot be cleaned up since the process has insufficient permissions or it is currently being cleaned up by another process then the [Node] is skipped.
Definition at line 177 of file port_factory_publish_subscribe.hpp.
References CleanupState::cleanups.
|
friend |
Definition at line 94 of file port_factory_publish_subscribe.hpp.