OpenZWave Library  1.4.3190
Public Member Functions | List of all members
OpenZWave::TimeStampImpl Class Reference

Windows implementation of a timestamp. More...

#include <TimeStampImpl.h>

Public Member Functions

 TimeStampImpl ()
 
 ~TimeStampImpl ()
 
void SetTime (int32 _milliseconds)
 
int32 TimeRemaining ()
 
string GetAsString ()
 
int32 operator- (TimeStampImpl const &_other)
 
 TimeStampImpl ()
 
 ~TimeStampImpl ()
 
void SetTime (int32 _milliseconds)
 
int32 TimeRemaining ()
 
string GetAsString ()
 
int32 operator- (TimeStampImpl const &_other)
 

Detailed Description

Windows implementation of a timestamp.

Constructor & Destructor Documentation

TimeStampImpl::TimeStampImpl ( )

Constructor. Creates a TimeStampImpl object.

TimeStampImpl::~TimeStampImpl ( )

Destructor. Destroys the TimeStampImpl object.

OpenZWave::TimeStampImpl::TimeStampImpl ( )

Constructor. Creates a TimeStampImpl object.

OpenZWave::TimeStampImpl::~TimeStampImpl ( )

Destructor. Destroys the TimeStampImpl object.

Member Function Documentation

string TimeStampImpl::GetAsString ( )

Return as as string

string OpenZWave::TimeStampImpl::GetAsString ( )

Return as as string

int32 TimeStampImpl::operator- ( TimeStampImpl const &  _other)

Overload the subtract operator to get the difference between two timestamps in milliseconds.

int32 OpenZWave::TimeStampImpl::operator- ( TimeStampImpl const &  _other)

Overload the subtract operator to get the difference between two timestamps in milliseconds.

void OpenZWave::TimeStampImpl::SetTime ( int32  _milliseconds)

SetTime. Sets the timestamp to now, plus the offset in milliseconds.

Parameters
_millisecondspositive or negative offset from now in milliseconds.
void TimeStampImpl::SetTime ( int32  _milliseconds)

SetTime. Sets the timestamp to now, plus the offset in milliseconds.

Parameters
_millisecondspositive or negative offset from now in milliseconds.
int32 TimeStampImpl::TimeRemaining ( )

TimeRemaining. Gets the difference between now and the timestamp time in milliseconds.

Returns
milliseconds remaining until we reach the timestamp. The return value is negative if the timestamp is in the past.
int32 OpenZWave::TimeStampImpl::TimeRemaining ( )

TimeRemaining. Gets the difference between now and the timestamp time in milliseconds.

Returns
milliseconds remaining until we reach the timestamp. The return value is negative if the timestamp is in the past.

The documentation for this class was generated from the following files: