DUECA/DUSIME
|
This class offers facilities to store data on a temporary basis. More...
Public Member Functions | |
DataSaver () | |
Constructor. | |
~DataSaver () | |
Destructor. | |
void | save (const T &data, const TimeSpec &ts) |
Save data. More... | |
void | get (T &data, const TimeSpec &ts) |
Get the data. More... | |
This class offers facilities to store data on a temporary basis.
It can be used to implement replay facilities. Data storage is raw, unformatted, and machine dependent. It is not advisable to use this as your permanent storage format.
|
inline |
Save data.
data | Data that is to be stored. |
ts | Time specification of the data. |
|
inline |
Get the data.
data | Spot where re-constructed data is to be put. |
ts | Time specification of "now" |