Cdaqdatetime::isobject, Cdaqdatetime::operator, Cdaqdatetime::setmillisecond – Yokogawa PC-Based MX100 User Manual

Page 49: Cdaqdatetime::setnow

Advertising
background image

2-26

IM MX190-01E

CDAQDateTime::isObject

Syntax

virtual int isObject(const char * classname = "CDAQDateTime");

Parameters

classname

Specify the class name using a string.

Description

Checks whether the specified class name was inherited.

If parameters are omitted, checks whether it is this class.
Classes that inherit this class must be overriden in order to check their own classes.

Returns true (valid) if the class was inherited. Otherwise, returns false (invalid).

Return value

Returns a return value of 1 (true), or 0 (false).

CDAQDateTime::operator=

Syntax

CDAQDateTime & operator=(CDAQDateTime & cDateTime);

Parameters

cDateTime

Specify an object for substitution.

Description

Copies the data member of the specified object .

Return value

Returns the reference to the object.

CDAQDateTime::setMilliSecond

Syntax

virtual void setMilliSecond(int milliSecond);

Parameters

milliSecond

Specify milliseconds.

Description

Stores the specified value in the millisecond field of the data member

CDAQDateTime::setNow

Syntax

virtual void setNow(void);

Description

Gets the current data/time and stores it in the data member.

Milliseconds are set to 0.

Reference

setMilliSecond setTime

2.4 Details of the MX100/DARWIN Common Class

Advertising