gramods
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
gramods::gmTrack::TimeSampleAnalogsTracker::Impl Struct Reference
Inheritance diagram for gramods::gmTrack::TimeSampleAnalogsTracker::Impl:
Inheritance graph
[legend]
Collaboration diagram for gramods::gmTrack::TimeSampleAnalogsTracker::Impl:
Collaboration graph
[legend]

Public Member Functions

void update (clock::time_point now, size_t frame) override
 Called by updateAll to make the object up-to-date.
 
void addTime (double t)
 
void addAnalogs (gmCore::float3 a)
 
bool getAnalogs (AnalogsSample &a)
 
- Public Member Functions inherited from gramods::gmCore::Updateable
 Updateable (int priority=0)
 Configures the Updateable properties to the specified priority.
 

Public Attributes

std::vector< double > time
 
size_t sample_idx = 0
 
std::vector< gmCore::float3states
 
std::optional< AnalogsSampleanalogs_sample
 
std::optional< std::chrono::steady_clock::time_point > start_time
 

Additional Inherited Members

- Public Types inherited from gramods::gmCore::Updateable
typedef std::chrono::steady_clock clock
 
- Static Public Member Functions inherited from gramods::gmCore::Updateable
static void updateAll (clock::time_point t=clock::now(), std::optional< size_t > frame=std::nullopt)
 Updates all currently instanciated updateable objects.
 

Member Function Documentation

◆ update()

void gramods::gmTrack::TimeSampleAnalogsTracker::Impl::update ( clock::time_point  t,
size_t  frame 
)
overridevirtual

Called by updateAll to make the object up-to-date.

Implements gramods::gmCore::Updateable.


The documentation for this struct was generated from the following file: