gramods
Loading...
Searching...
No Matches
gramods::gmTrack::TimeSampleTracker< TYPE >::Impl Struct Reference
Inheritance diagram for gramods::gmTrack::TimeSampleTracker< TYPE >::Impl:
Collaboration diagram for gramods::gmTrack::TimeSampleTracker< TYPE >::Impl:

Classes

struct  TimeState

Public Types

typedef TrackerBase< TYPE >::State State
Public Types inherited from gramods::gmCore::Updateable
typedef std::chrono::steady_clock clock

Public Member Functions

void update (clock::time_point now, size_t frame) override
 Called by updateAll to make the object up-to-date.
void processIncoming ()
TYPE interpolate (TYPE a, TYPE b, float r)
float interpolate (float a, float b, float r)
gmCore::Pose interpolate (gmCore::Pose a, gmCore::Pose b, float r)
Public Member Functions inherited from gramods::gmCore::Updateable
 Updateable (int priority=0)
 Configures the Updateable properties to the specified priority.

Public Attributes

std::vector< std::string > incoming_keys
std::vector< TYPE > incoming_values
std::vector< double > incoming_times
size_t timeless_idx = 0
std::vector< State > timeless_states
std::optional< std::chrono::steady_clock::time_point > start_time
std::vector< TimeState > timed_states
std::optional< State > state

Additional Inherited Members

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()

template<class TYPE>
void gramods::gmTrack::TimeSampleTracker< TYPE >::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: