Skip to content

Type Aliases#

These are the user-facing type aliases. Use these types instead of the internal Basic* templates when declaring variables.

Alias Defined As Description
agnocast::Publisher<MessageT> agnocast::BasicPublisher<MessageT> The user-facing Agnocast publisher type. Alias for BasicPublisher . Use this type (not BasicPublisher directly) when declaring publisher variables.
agnocast::Subscription<MessageT> agnocast::BasicSubscription<MessageT> The user-facing event-driven subscription type. Alias for BasicSubscription. Use this type (not BasicSubscription directly) when declaring subscription variables.
agnocast::TakeSubscription<MessageT> agnocast::BasicTakeSubscription<MessageT> The user-facing polling take-subscription type. Alias for BasicTakeSubscription. Use this type (not BasicTakeSubscription directly) when declaring take-subscription variables.
agnocast::PollingSubscriber<MessageT> agnocast::BasicPollingSubscriber<MessageT> The user-facing polling subscriber type. Alias for BasicPollingSubscriber. Use this type (not BasicPollingSubscriber directly) when declaring polling subscriber variables.