[詳解]
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)
時刻とタイムゾーンを取得する
Definition: Time.h:137
virtual ~Timestamp()
Definition: Timestamp.h:32
TimeValue クラス
Definition: TimeValue.h:40
virtual ReturnCode operator()(ConnectorInfo &info, DataType &data)
仮想コールバックメソッド
Definition: Timestamp.h:33
std::string m_tstype
Definition: Timestamp.h:44
@ DATA_CHANGED
Definition: ConnectorListener.h:68
ConnectorInfo クラス
Definition: ConnectorBase.h:43
long int sec() const
秒単位の値を取得する
Definition: TimeValue.h:110
ConnectorDataListenerT クラス
Definition: ConnectorListener.h:505
Definition: Timestamp.h:26
Timestamp(const char *ts_type)
Definition: Timestamp.h:31
coil::Properties properties
プロパティ
Definition: ConnectorBase.h:126
long int usec() const
マイクロ秒単位の値を取得する
Definition: TimeValue.h:131