Abstract ancestor of all Data objects. More...
#include <InstantIO/BasicData.h>
Public Member Functions | |
| TimeStamp | getTimeStamp () const |
| Returns the timestamp. | |
| void | setTimeStamp () |
| Sets the timestamp to the current system time. | |
| void | setTimeStamp (TimeStamp timeStamp) |
| Sets the timestamp. | |
Protected Member Functions | |
| BasicData (TimeStamp timeStamp=0) | |
| Creates a new BasicData object. | |
Protected Attributes | |
| volatile TimeStamp | timeStamp_ |
| The timestamp. | |
Abstract ancestor of all Data objects.
Applications do not use this class directly, instead they use its descendant (Data).
| InstantIO::BasicData::BasicData | ( | TimeStamp | timeStamp = 0 |
) | [inline, explicit, protected] |
Creates a new BasicData object.
| timeStamp | The timestamp of the new data value. This is a long value that specifies the number of milliseconds since midnight January 1., 1970 UTC. |
| TimeStamp InstantIO::BasicData::getTimeStamp | ( | ) | const [inline] |
Returns the timestamp.
long value that specifies the number of milliseconds since midnight January 1., 1970 UTC. | void InstantIO::BasicData::setTimeStamp | ( | TimeStamp | timeStamp | ) | [inline] |
Sets the timestamp.
| timeStamp | The new timestamp of the data value. This is a long value that specifies the number of milliseconds since midnight January 1., 1970 UTC. |
1.6.3