OpenRTM-aist
1.2.1
|
#include <Timestamp.h>
Public Member Functions | |
Timestamp (const char *ts_type) | |
virtual | ~Timestamp () |
virtual ReturnCode | operator() (ConnectorInfo &info, DataType &data) |
Virtual Callback method. More... | |
Public Member Functions inherited from RTC::ConnectorDataListenerT< DataType > | |
virtual | ~ConnectorDataListenerT () |
Destructor. More... | |
virtual ReturnCode | operator() (ConnectorInfo &info, cdrMemoryStream &cdrdata) |
Callback method. More... | |
Public Member Functions inherited from RTC::ConnectorDataListener | |
virtual | ~ConnectorDataListener () |
Destructor. More... | |
Public Attributes | |
std::string | m_tstype |
Public Attributes inherited from RTC::ConnectorDataListener | |
USE_CONNLISTENER_STATUS | |
Additional Inherited Members | |
Public Types inherited from RTC::ConnectorListenerStatus | |
enum | Enum { NO_CHANGE = 0, INFO_CHANGED = 1 << 0, DATA_CHANGED = 1 << 1, BOTH_CHANGED = INFO_CHANGED | DATA_CHANGED } |
Static Public Member Functions inherited from RTC::ConnectorDataListener | |
static const char * | toString (ConnectorDataListenerType type) |
Convert ConnectorDataListenerType into the string. More... | |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Virtual Callback method.
This method invokes the callback method of ConnectorDataListenerT. Data is converted into the variable type used in DataPort.
Implements RTC::ConnectorDataListenerT< DataType >.
References RTC::ConnectorListenerStatus::DATA_CHANGED, coil::gettimeofday(), RTC::Timestamp< DataType >::m_tstype, RTC::ConnectorListenerStatus::NO_CHANGE, RTC::ConnectorInfo::properties, coil::TimeValue::sec(), and coil::TimeValue::usec().
std::string RTC::Timestamp< DataType >::m_tstype |
Referenced by RTC::Timestamp< DataType >::operator()().