DUECA/DUSIME
|
Configuration message for HDF5 logging. More...
#include <HDFReplayConfig.hxx>
Public Types | |
typedef HDFReplayConfig | __ThisDCOType__ |
typedef for internal reference | |
Public Member Functions | |
HDFReplayConfig () | |
default constructor. | |
HDFReplayConfig (const vstring &filename, const dueca::TimeTickType &replay_start) | |
Constructor with arguments. | |
HDFReplayConfig (const HDFReplayConfig &o) | |
copy constructor. | |
HDFReplayConfig (::dueca::AmorphReStore &r) | |
constructor to restore an HDFReplayConfig from amorphous storage. | |
~HDFReplayConfig () | |
destructor. | |
void | packData (::dueca::AmorphStore &s) const |
packs the HDFReplayConfig into amorphous storage. | |
void | packDataDiff (::dueca::AmorphStore &s, const HDFReplayConfig &ref) const |
packs the HDFReplayConfig into amorphous storage. | |
void | unPackData (::dueca::AmorphReStore &s) |
unpacks the HDFReplayConfig from an amorphous storage. | |
void | unPackDataDiff (::dueca::AmorphReStore &s) |
unpacks the differences for HDFReplayConfig from an amorphous storage. | |
bool | operator== (const HDFReplayConfig &o) const |
Test for equality. | |
bool | operator!= (const HDFReplayConfig &o) const |
Test for inequality. | |
HDFReplayConfig & | operator= (const HDFReplayConfig &o) |
Assignment operator. | |
std::ostream & | print (std::ostream &s) const |
prints the HDFReplayConfig to a stream. | |
Static Public Member Functions | |
static void * | operator new (size_t size) |
new operator "new", which places objects not on a heap, but in one of the memory arenas. | |
static void | operator delete (void *p) |
new operator "delete", to go with the new version of operator new. | |
static void * | operator new (size_t size, HDFReplayConfig *&o) |
placement "new", needed for stl. | |
Public Attributes | |
vstring | filename |
File name pattern for reading an HDF log, if empty, use previous file. | |
dueca::TimeTickType | replay_start |
Data point to start reading in the data file, defined in DUECA granules. | |
Static Public Attributes | |
static const char *const | classname |
The name of this class. | |
static const uint32_t | magic_check_number |
a "magic" number, hashed out of the class definition, that will be used to check consistency of the sent objects across the dueca nodes. | |
Configuration message for HDF5 logging.
When configured to listen to config messages, the HDF5Replayer can switch files or re-use files when in HoldCurrent mode.
Possible modes of operation:
new operator "new", which places objects not on a heap, but in one of the memory arenas.
This to speed up memory management.
void dueca::HDFReplayConfig::packDataDiff | ( | ::dueca::AmorphStore & | s, |
const HDFReplayConfig & | ref ) const |
packs the HDFReplayConfig into amorphous storage.
only differences with a previous object are packed.
dueca::TimeTickType dueca::HDFReplayConfig::replay_start |
Data point to start reading in the data file, defined in DUECA granules.
A value of 0 implies starting from the first detected stream data point