gramods
|
This analogs tracker reports analog states as specified in the samples of the node. More...
#include <TimeSampleAnalogsTracker.hh>
Classes | |
struct | Impl |
Public Member Functions | |
void | addTime (double t) |
Adds a time sample in seconds, from the start of the program. More... | |
void | addAnalogs (gmCore::float3 a) |
Adds an analogs sample as three floats representing three analog inputs. More... | |
bool | getAnalogs (AnalogsSample &a) override |
Replaces the contents of p with analog data. More... | |
![]() | |
virtual std::string | getDefaultKey () override |
Returns the default key, in Configuration, for the Object. More... | |
![]() | |
Object () | |
Initializes internal data. More... | |
virtual | ~Object () |
Cleaning up internal data. More... | |
virtual void | initialize () |
Called to initialize the Object. More... | |
virtual void | accept (Visitor *visitor) |
Calls the visitors apply method with this as argument. More... | |
virtual void | traverse (Visitor *visitor) |
Calls the child Object's accept method, if such exist. More... | |
bool | isInitialized () |
Returns true if the Object is initialized. More... | |
Static Public Attributes | |
static gramods::gmCore::OFactory::OFactoryInformation | _gm_ofi |
Additional Inherited Members | |
![]() | |
typedef std::chrono::steady_clock | clock |
This analogs tracker reports analog states as specified in the samples of the node.
void gramods::gmTrack::TimeSampleAnalogsTracker::addAnalogs | ( | gmCore::float3 | a | ) |
Adds an analogs sample as three floats representing three analog inputs.
XML-attribute: analogs
void gramods::gmTrack::TimeSampleAnalogsTracker::addTime | ( | double | t | ) |
Adds a time sample in seconds, from the start of the program.
There must be at least two time samples as well as an equal amount of time samples and amount of samples.
XML-attribute: time
|
overridevirtual |
Replaces the contents of p with analog data.
Implements gramods::gmTrack::AnalogsTracker.