gramods
Loading...
Searching...
No Matches
gramods::gmTrack::BinaryTimeSampleTracker Class Reference

This tracker of binary (bool) data reports states as specified in the samples of the node. More...

#include <BinaryTimeSampleTracker.hh>

Inheritance diagram for gramods::gmTrack::BinaryTimeSampleTracker:
Collaboration diagram for gramods::gmTrack::BinaryTimeSampleTracker:

Static Public Attributes

static gramods::gmCore::OFactory::OFactoryInformation _gm_ofi

Additional Inherited Members

Public Types inherited from gramods::gmTrack::TrackerBase< bool >
typedef std::chrono::steady_clock clock
typedef std::unordered_map< std::string, Sample > State
 Type of the tracker state.
Public Member Functions inherited from gramods::gmTrack::TimeSampleTracker< bool >
void addTime (double seconds)
 Adds a time sample in seconds, from the start of the program.
void addKey (std::string key)
 Adds an key string for a sample.
void addValue (bool state)
 Adds the value for a sample.
void addKeyValue (std::string key, bool value)
std::optional< typename TrackerBase< bool >::State > get () override
Public Member Functions inherited from gramods::gmTrack::TrackerBase< bool >
std::string getDefaultKey () override
 Returns the default key, in Configuration, for the Object, i.e.
Public Member Functions inherited from gramods::gmCore::Object
 Object ()
 Initializes internal data.
virtual ~Object ()
 Cleaning up internal data.
virtual void initialize ()
 Called to initialize the Object.
virtual void accept (Visitor *visitor)
 Calls the visitors apply method with this as argument.
virtual void traverse (Visitor *visitor)
 Calls the child Object's accept method, if such exist.
bool isInitialized ()
 Returns true if the Object is initialized.
Static Public Member Functions inherited from gramods::gmTrack::TrackerBase< bool >
static void merge (std::optional< State > &A, std::optional< State > B)
 Merges the two specified states.
Protected Attributes inherited from gramods::gmTrack::TimeSampleTracker< bool >
std::unique_ptr< Impl > _impl

Detailed Description

This tracker of binary (bool) data reports states as specified in the samples of the node.

See also
TimeSampleTracker

The documentation for this class was generated from the following files: