holoscan::InMemorySessionParticipant

Beta
View as Markdown

Per-participant callback and GID tracking for a shared in-memory pub/sub session.

Each PubSubContext that joins a session gets its own SessionParticipant, which stores the callbacks that PubSubContext::init_context() registers on the discovery and transport frontends.

#include <holoscan/in_memory_pubsub_session.hpp>

Member variables

NameTypeDescription
mutexstd::mutex
discovery_activebool
transport_activebool
participant_closedbool
publisher_discovered_callbacknvidia::gxf::PubSubDiscovery::PublisherDiscoveredCallback
subscriber_discovered_callbacknvidia::gxf::PubSubDiscovery::SubscriberDiscoveredCallback
publisher_lost_callbacknvidia::gxf::PubSubDiscovery::PublisherLostCallback
subscriber_lost_callbacknvidia::gxf::PubSubDiscovery::SubscriberLostCallback
receive_callbacknvidia::gxf::PubSubTransport::ReceiveCallback
connection_established_callbacknvidia::gxf::PubSubTransport::ConnectionEstablishedCallback
connection_lost_callbacknvidia::gxf::PubSubTransport::ConnectionLostCallback
publisher_gidsstd::unordered_set< nvidia::gxf::PublisherGid >
subscriber_gidsstd::unordered_set< nvidia::gxf::SubscriberGid >