ark::plotting::CommsPlottingManager

Defined in header “ark/plotting/gui/comms_plotting_manager.hh”.


This class wraps the plugin comms manager, and allows the plotting system to request data coming in on various fields/channels.

Methods

  • CommsPlottingManager(gui::PluginCommsManagerPtr manager)
    Constructor. Wraps the given comms manager.

  • void add_subscriber(const std::string & name)
    Adds a channel (and field name) for consideration in downloading real-time updates.

  • void remove_subscriber(const std::string & name)
    Removes the field name (and channel, if all fields are removed) for consideration in real-time updates.

  • std::vector< PlottingFieldPtr > fields()
    Returns all of the existing data series (and names).