Cdaqdatetime class, Public members, Protected members – Yokogawa PC-Based MX100 User Manual

Page 47: Private members

Advertising
background image

2-24

IM MX190-01E

CDAQDateTime Class

This class is a base class of time information data.
Numbers of seconds and milliseconds are passed to the data member.

If necessary, you can override member data manipulation with an inheritance class.
A function is provided that checks whether the instance has inherited this class.

You can override with an inheritance class.

Public Members

Construct/Destruct

CDAQDateTime

Constructs an object.

~CDAQDateTime

Destructs an object.

Member Data Manipulation

initialize

Initializes the data member.

getTime

Gets seconds.

getMilliSecond

Gets milliseconds.

setTime

Sets seconds.

setMilliSecond

Sets milliseconds.

setNow

Sets the current date/time.

Utilities

isObject

Checks an object.

toLocalDateTime

Converts to years, months, days, hours, minutes, and
seconds according to the local time zone.

Operator

operator=

Executes substitution.

Protected Members

Data Members

m_time

Field for storing the number of seconds from Jan. 1, 1970.

m_milli Second

Field for storing the number of milliseconds.

Private Members

None.

2.4 Details of the MX100/DARWIN Common Class

Advertising