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 Timestamp(const char *ts_type)
Definition: Timestamp.h:31
coil::Properties properties
Connection properties.
Definition: ConnectorBase.h:126
long int sec() const
Get value of second time scale.
Definition: TimeValue.h:110
virtual ReturnCode operator()(ConnectorInfo &info, DataType &data)
Virtual Callback method.
Definition: Timestamp.h:33
Definition: ConnectorBase.h:43
Definition: Timestamp.h:26
virtual ~Timestamp()
Definition: Timestamp.h:32
Definition: ConnectorListener.h:68
TimeValue class.
Definition: TimeValue.h:40
int gettimeofday(struct timeval *tv, struct timezone *tz)
Get the time and timezone.
Definition: Time.h:137
ConnectorDataListenerT class.
Definition: ConnectorListener.h:505
std::string m_tstype
Definition: Timestamp.h:44
long int usec() const
Get value of micro second time scale.
Definition: TimeValue.h:131
Definition: ConnectorListener.h:66