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

This tracker of gmCore::float2 (std::array<float, 2>) data reports states as specified in the samples of the node. More...

#include <Float2TimeSampleTracker.hh>

Inheritance diagram for gramods::gmTrack::Float2TimeSampleTracker:
Collaboration diagram for gramods::gmTrack::Float2TimeSampleTracker:

Static Public Attributes

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

Additional Inherited Members

Public Types inherited from gramods::gmTrack::TrackerBase< gmCore::float2 >
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< gmCore::float2 >
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 (gmCore::float2 state)
 Adds the value for a sample.
void addKeyValue (std::string key, gmCore::float2 value)
std::optional< typename TrackerBase< gmCore::float2 >::State > get () override
Public Member Functions inherited from gramods::gmTrack::TrackerBase< gmCore::float2 >
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< gmCore::float2 >
static void merge (std::optional< State > &A, std::optional< State > B)
 Merges the two specified states.
Protected Attributes inherited from gramods::gmTrack::TimeSampleTracker< gmCore::float2 >
std::unique_ptr< Impl > _impl

Detailed Description

This tracker of gmCore::float2 (std::array<float, 2>) 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: