Cdaqdatetime::getmillisecond, Cdaqdatetime::gettime, Cdaqdatetime::initialize – Yokogawa PC-Based MX100 User Manual
Page 48

2-25
IM MX190-01E
MX100 -Visual C++
2
Member Functions (Alphabetical Order)
CDAQDateTime::CDAQDateTime
Syntax
CDAQDateTime(time_t time = 0, int millisecond = 0);
virtual ~CDAQDateTime(void);
Parameters
time
Specify seconds.
milliSecond
Specify milliseconds.
Description
Constructs or destructs an object.
When constructing, the data member is set to the specified value.
Reference
setMilliSecond setTime
CDAQDateTime::getMilliSecond
Syntax
virtual int getMilliSecond(void);
Description
Gets the value of the milliseconds field of the data member.
Return value
Returns milliseconds.
CDAQDateTime::getTime
Syntax
virtual time_t getTime(void);
Description
Gets the value of the decimal point position field of the data member.
Return value
Returns seconds.
CDAQDateTime::initialize
Syntax
virtual void initialize(void);
Description
Initializes the data member. The default value is 0.
Reference
setMillioSecond setTime
2.4 Details of the MX100/DARWIN Common Class