DUECA/DUSIME
|
Configuration message for HDF5 logging. More...
Public Types | |
typedef HDFReplayConfig | __ThisDCOType__ |
typedef for internal reference | |
Public Member Functions | |
HDFReplayConfig () | |
default constructor. More... | |
HDFReplayConfig (const vstring &filename, const dueca::TimeTickType &replay_start) | |
Constructor with arguments. | |
HDFReplayConfig (const HDFReplayConfig &o) | |
copy constructor. More... | |
HDFReplayConfig (::dueca::AmorphReStore &r) | |
constructor to restore an HDFReplayConfig from amorphous storage. More... | |
~HDFReplayConfig () | |
destructor. More... | |
void | packData (::dueca::AmorphStore &s) const |
packs the HDFReplayConfig into amorphous storage. More... | |
void | packDataDiff (::dueca::AmorphStore &s, const HDFReplayConfig &ref) const |
packs the HDFReplayConfig into amorphous storage. More... | |
void | unPackData (::dueca::AmorphReStore &s) |
unpacks the HDFReplayConfig from an amorphous storage. More... | |
void | unPackDataDiff (::dueca::AmorphReStore &s) |
unpacks the differences for HDFReplayConfig from an amorphous storage. More... | |
bool | operator== (const HDFReplayConfig &o) const |
Test for equality. More... | |
bool | operator!= (const HDFReplayConfig &o) const |
Test for inequality. More... | |
HDFReplayConfig & | operator= (const HDFReplayConfig &o) |
Assignment operator. More... | |
std::ostream & | print (std::ostream &s) const |
prints the HDFReplayConfig to a stream. More... | |
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. More... | |
static void | operator delete (void *p) |
new operator "delete", to go with the new version of operator new. More... | |
static void * | operator new (size_t size, HDFReplayConfig *&o) |
placement "new", needed for stl. More... | |
Public Attributes | |
vstring | filename |
File name pattern for reading an HDF log, if empty, use previous file. More... | |
dueca::TimeTickType | replay_start |
Data point to start reading in the data file, defined in DUECA granules. More... | |
Static Public Attributes | |
static const char *const | classname |
The name of this class. More... | |
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. More... | |
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:
dueca::HDFReplayConfig::HDFReplayConfig | ( | ) |
default constructor.
dueca::HDFReplayConfig::HDFReplayConfig | ( | const HDFReplayConfig & | o | ) |
copy constructor.
dueca::HDFReplayConfig::HDFReplayConfig | ( | ::dueca::AmorphReStore & | r | ) |
constructor to restore an HDFReplayConfig from amorphous storage.
dueca::HDFReplayConfig::~HDFReplayConfig | ( | ) |
destructor.
|
static |
new operator "new", which places objects not on a heap, but in one of the memory arenas.
This to speed up memory management.
|
static |
new operator "delete", to go with the new version of operator new.
|
inlinestatic |
placement "new", needed for stl.
void dueca::HDFReplayConfig::packData | ( | ::dueca::AmorphStore & | s | ) | const |
packs the HDFReplayConfig into amorphous storage.
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.
void dueca::HDFReplayConfig::unPackData | ( | ::dueca::AmorphReStore & | s | ) |
unpacks the HDFReplayConfig from an amorphous storage.
void dueca::HDFReplayConfig::unPackDataDiff | ( | ::dueca::AmorphReStore & | s | ) |
unpacks the differences for HDFReplayConfig from an amorphous storage.
bool dueca::HDFReplayConfig::operator== | ( | const HDFReplayConfig & | o | ) | const |
Test for equality.
|
inline |
Test for inequality.
HDFReplayConfig& dueca::HDFReplayConfig::operator= | ( | const HDFReplayConfig & | o | ) |
Assignment operator.
std::ostream& dueca::HDFReplayConfig::print | ( | std::ostream & | s | ) | const |
prints the HDFReplayConfig to a stream.
|
static |
The name of this class.
vstring dueca::HDFReplayConfig::filename |
File name pattern for reading an HDF log, if empty, use previous file.
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
|
static |
a "magic" number, hashed out of the class definition, that will be used to check consistency of the sent objects across the dueca nodes.