ark::gui::SubscriberConfiguration

Defined in header “ark/gui/plugin_subscriber.hh”.


A structure representing subscriber configuration for a plugin. Note that this is a bit different than the pipeline subscriber configuration, in that we expose different options.

Variables

  • std::string channel_name
    The name of the channel this is string matched against publishers in a particular pipeline.

  • size_t maximum_queue_depth= 1
    The maximum number of items that can be stored on the queue before the oldest items are dropped.

  • bool request_most_recently_published_messages= false
    Set to true if you wish to retrieve historical messages (latched messages). For example, this will cause the first message you receive on this subscriber to be the most recently sent message on the publisher side.

  • pipeline::Callback< Type > callback
    The callback that is invoked when this subscriber is executed.