DUECA/DUSIME
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
dueca::HDFReplayConfig Struct Reference

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...
 
HDFReplayConfigoperator= (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...
 

Detailed Description

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:

Constructor & Destructor Documentation

◆ HDFReplayConfig() [1/3]

dueca::HDFReplayConfig::HDFReplayConfig ( )

default constructor.

◆ HDFReplayConfig() [2/3]

dueca::HDFReplayConfig::HDFReplayConfig ( const HDFReplayConfig o)

copy constructor.

◆ HDFReplayConfig() [3/3]

dueca::HDFReplayConfig::HDFReplayConfig ( ::dueca::AmorphReStore r)

constructor to restore an HDFReplayConfig from amorphous storage.

◆ ~HDFReplayConfig()

dueca::HDFReplayConfig::~HDFReplayConfig ( )

destructor.

Member Function Documentation

◆ operator new() [1/2]

static void* dueca::HDFReplayConfig::operator new ( size_t  size)
static

new operator "new", which places objects not on a heap, but in one of the memory arenas.

This to speed up memory management.

◆ operator delete()

static void dueca::HDFReplayConfig::operator delete ( void *  p)
static

new operator "delete", to go with the new version of operator new.

◆ operator new() [2/2]

static void* dueca::HDFReplayConfig::operator new ( size_t  size,
HDFReplayConfig *&  o 
)
inlinestatic

placement "new", needed for stl.

◆ packData()

void dueca::HDFReplayConfig::packData ( ::dueca::AmorphStore s) const

packs the HDFReplayConfig into amorphous storage.

◆ packDataDiff()

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.

◆ unPackData()

void dueca::HDFReplayConfig::unPackData ( ::dueca::AmorphReStore s)

unpacks the HDFReplayConfig from an amorphous storage.

◆ unPackDataDiff()

void dueca::HDFReplayConfig::unPackDataDiff ( ::dueca::AmorphReStore s)

unpacks the differences for HDFReplayConfig from an amorphous storage.

◆ operator==()

bool dueca::HDFReplayConfig::operator== ( const HDFReplayConfig o) const

Test for equality.

◆ operator!=()

bool dueca::HDFReplayConfig::operator!= ( const HDFReplayConfig o) const
inline

Test for inequality.

◆ operator=()

HDFReplayConfig& dueca::HDFReplayConfig::operator= ( const HDFReplayConfig o)

Assignment operator.

◆ print()

std::ostream& dueca::HDFReplayConfig::print ( std::ostream &  s) const

prints the HDFReplayConfig to a stream.

Member Data Documentation

◆ classname

const char* const dueca::HDFReplayConfig::classname
static

The name of this class.

◆ filename

vstring dueca::HDFReplayConfig::filename

File name pattern for reading an HDF log, if empty, use previous file.

◆ replay_start

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

◆ magic_check_number

const uint32_t dueca::HDFReplayConfig::magic_check_number
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.


The documentation for this struct was generated from the following file: