![]() |
OpenZWave Library
1.5.0
|
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) |
Windows implementation of a timestamp.
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.
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.
_milliseconds | positive or negative offset from now in milliseconds. |
void TimeStampImpl::SetTime | ( | int32 | _milliseconds | ) |
SetTime. Sets the timestamp to now, plus the offset in milliseconds.
_milliseconds | positive or negative offset from now in milliseconds. |
int32 TimeStampImpl::TimeRemaining | ( | ) |
TimeRemaining. Gets the difference between now and the timestamp time in milliseconds.
int32 OpenZWave::TimeStampImpl::TimeRemaining | ( | ) |
TimeRemaining. Gets the difference between now and the timestamp time in milliseconds.