|
| mtsStateIndex () |
|
| mtsStateIndex (double timestamp, int index, TimeTicksType ticks, int Length) |
|
| ~mtsStateIndex () |
|
int | Length (void) const |
|
int | Index (void) const |
|
TimeTicksType | Ticks (void) const |
|
mtsStateIndex & | operator-- () |
|
mtsStateIndex & | operator-= (int number) |
|
mtsStateIndex | operator- (int number) |
|
bool | operator== (const mtsStateIndex &that) const |
|
bool | operator!= (const mtsStateIndex &that) const |
|
virtual void | ToStream (std::ostream &outputStream) const |
|
virtual void | ToStreamRaw (std::ostream &outputStream, const char delimiter= ' ', bool headerOnly=false, const std::string &headerPrefix="") const |
|
void | SerializeRaw (std::ostream &outputStream) const |
|
virtual void | DeSerializeRaw (std::istream &inputStream) |
|
| mtsGenericObject (void) |
|
| mtsGenericObject (double timestamp, bool automaticTimestamp, bool valid) |
|
| mtsGenericObject (const mtsGenericObject &other) |
|
virtual | ~mtsGenericObject (void) |
|
bool | SetTimestampIfAutomatic (double timestamp) |
|
virtual bool | FromStreamRaw (std::istream &inputStream, const char delimiter= ' ') |
|
size_t | ScalarNumber (void) const |
|
bool | ScalarNumberIsFixed (void) const |
|
double | Scalar (const size_t index) const throw (std::out_of_range) |
|
std::string | ScalarDescription (const size_t index, const std::string &userDescription="") const throw (std::out_of_range) |
|
virtual | ~cmnGenericObject (void) |
|
virtual const
cmnClassServicesBase * | Services (void) const =0 |
|
bool | ReconstructFrom (const cmnGenericObject &other) |
|
std::string | ToString (void) const |
|
virtual cmnLogger::StreamBufType * | GetLogMultiplexer (void) const |
|
virtual double | Scalar (const size_t CMN_UNUSED(index)) const throw (std::out_of_range) |
|
virtual std::string | ScalarDescription (const size_t CMN_UNUSED(index), const std::string &CMN_UNUSED(userDescription)) const |
|
The time indexing of state data is provided by the mtsStateIndex class.
Each iteration of the Task Loop increments a tick counter, which is stored as an unsigned long. (mtsTimeTicks). A mtsStateIndex object contains the following information: The tick value is stored in the mtsStateIndex class to act as a data validity check. This is used to ensure that the circular buffer has not wrapped around and overwritten the index entry between the time that the mtsStateIndex object was created and the time it was used.