Struct BufferPublisherState
Defined in File custom_publisher_info.hpp
Struct Documentation
-
struct BufferPublisherState
Mutable buffer state shared between the discovery callback and the publish/destroy paths. Managed via shared_ptr so the callback can safely outlive the CustomPublisherInfo that created it.
Public Members
-
std::atomic<bool> alive = {true}
-
std::mutex mutex
-
std::vector<std::shared_ptr<BufferPublisherEndpoint>> endpoints
Per-subscriber (peer-to-peer) endpoints for non-CPU-only subscribers.
-
std::vector<PendingBufferPublisher> pending
-
std::vector<rmw_gid_t> cpu_only_subscribers
GIDs of discovered CPU-only subscribers served by the shared CPU channel.
-
std::atomic<bool> alive = {true}