SF2 C++ FRC Class Library
Sensor Fusion Framework (SF2) for FRC
Public Member Functions | List of all members
ITimestampedValue Class Referenceabstract
Inheritance diagram for ITimestampedValue:
TimestampedValue< T > TimestampedValue< Quaternion >

Public Member Functions

virtual long getTimestamp ()=0
 Accessor for this object's sensor timestamp. More...
 
virtual bool getValid ()=0
 Indicates whether this object currently represents a valid value/timestamp. More...
 
virtual void setValid (bool valid)=0
 Modifies whether this object currently represents a valid value/timestamp. More...
 
virtual IQuantitygetQuantity ()=0
 

Member Function Documentation

virtual long ITimestampedValue::getTimestamp ( )
pure virtual

Accessor for this object's sensor timestamp.

Returns
- sensor timestamp

Implemented in TimestampedValue< T >, and TimestampedValue< Quaternion >.

virtual bool ITimestampedValue::getValid ( )
pure virtual

Indicates whether this object currently represents a valid value/timestamp.

Returns
- true if this object is currently valid, false if not.

Implemented in TimestampedValue< T >, and TimestampedValue< Quaternion >.

virtual void ITimestampedValue::setValid ( bool  valid)
pure virtual

Modifies whether this object currently represents a valid value/timestamp.

Parameters
valid- true if this object is currently valid, false if not.

Implemented in TimestampedValue< T >, and TimestampedValue< Quaternion >.


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