
Definition at line 52 of file mtsStateData.h.
| ThisType& mtsStateData< _elementType >::operator= | ( | value_type | data | ) | [inline] |
Conversion assignment. This allows to assign from an object of the actual type without explicitly referencing the public member "Data".
Definition at line 101 of file mtsStateData.h.
References mtsStateData< _elementType >::Data.
| mtsStateData< _elementType >::operator value_type & | ( | void | ) | [inline] |
Cast operator. This allows to assign to an object of the actual type without explicitly referencing the public data member "Data".
Definition at line 109 of file mtsStateData.h.
References mtsStateData< _elementType >::Data.
| void mtsStateData< _elementType >::AddToStateTable | ( | mtsStateTable & | table, | |
| const std::string & | dataName = "" | |||
| ) | [inline] |
Adds a new element (array) for this state data to the state table. This is normally called from the constructor. The dataName is optional.
Definition at line 116 of file mtsStateData.h.
References mtsStateData< _elementType >::Accessor, CMN_LOG_INIT_ERROR, mtsStateData< _elementType >::Data, mtsStateTable::GetAccessor(), mtsStateData< _elementType >::Id, mtsStateTable::NewElement(), and mtsStateData< _elementType >::Table.
| void mtsStateData< _elementType >::AddReadCommandToInterface | ( | mtsInterfaceProvided * | interfaceProvided, | |
| const std::string & | commandName | |||
| ) | [inline] |
Adds command objects to the specified device interface. Note that there are two command objects: a 'read' command to get the latest value, and a 'qualified read' command to get the value at the specified time. This is normally called from the constructor, and the commandName would typically be GetXXX, where XXX is the name of the state data.
Definition at line 130 of file mtsStateData.h.
References mtsInterfaceProvided::AddCommandQualifiedRead(), mtsInterfaceProvided::AddCommandRead(), mtsStateData< _elementType >::Get(), mtsStateData< _elementType >::GetHistory(), and mtsStateData< _elementType >::GetLatest().
| void mtsStateData< _elementType >::AddWriteCommandToInterface | ( | mtsInterfaceProvided * | interfaceProvided, | |
| const std::string & | commandName | |||
| ) | [inline] |
Add write command to the specified task interface. Note that this must be a task so that the write is thread-safe.
Definition at line 142 of file mtsStateData.h.
References mtsInterfaceProvided::AddCommandWrite(), and mtsStateData< _elementType >::Set().