Go to the documentation of this file.
18 #ifndef RTM_TIMESTAMP_H
19 #define RTM_TIMESTAMP_H
25 template <
class DataType>
29 USE_CONNLISTENER_STATUS;
40 data.tm.sec = tm.
sec();
41 data.tm.nsec = tm.
usec() * 1000;
48 #endif // RTM_TIMESTAMP_H
@ NO_CHANGE
Definition: ConnectorListener.h:66
int gettimeofday(struct timeval *tv, struct timezone *tz)
Get the time and timezone.
Definition: Time.h:137
virtual ~Timestamp()
Definition: Timestamp.h:32
TimeValue class.
Definition: TimeValue.h:40
virtual ReturnCode operator()(ConnectorInfo &info, DataType &data)
Virtual Callback method.
Definition: Timestamp.h:33
std::string m_tstype
Definition: Timestamp.h:44
@ DATA_CHANGED
Definition: ConnectorListener.h:68
Definition: ConnectorBase.h:43
long int sec() const
Get value of second time scale.
Definition: TimeValue.h:110
ConnectorDataListenerT class.
Definition: ConnectorListener.h:505
Definition: Timestamp.h:26
Timestamp(const char *ts_type)
Definition: Timestamp.h:31
coil::Properties properties
Connection properties.
Definition: ConnectorBase.h:126
long int usec() const
Get value of micro second time scale.
Definition: TimeValue.h:131