InstantIO::BasicData Class Reference

Abstract ancestor of all Data objects. More...

#include <InstantIO/BasicData.h>

Inheritance diagram for InstantIO::BasicData:
InstantIO::Data< T >

List of all members.

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.

Detailed Description

Abstract ancestor of all Data objects.

Applications do not use this class directly, instead they use its descendant (Data).

See also:
Data
Author:
Patrick Dähne

Constructor & Destructor Documentation

InstantIO::BasicData::BasicData ( TimeStamp  timeStamp = 0  )  [inline, explicit, protected]

Creates a new BasicData object.

Parameters:
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.

Member Function Documentation

TimeStamp InstantIO::BasicData::getTimeStamp (  )  const [inline]

Returns the timestamp.

Returns:
Returns the timestamp of the value contained in the data object. This is a long value that specifies the number of milliseconds since midnight January 1., 1970 UTC.
void InstantIO::BasicData::setTimeStamp ( TimeStamp  timeStamp  )  [inline]

Sets the timestamp.

Parameters:
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.

The documentation for this class was generated from the following file:
Generated on Thu Jul 31 17:17:32 2014 by  doxygen 1.6.3