|
DUECA/DUSIME
|
Describes the state a module may be in. More...
Public Types | |
| enum | Type { UnPrepared , InitialPrep , Safe , Prepared , On , Neutral , Undefined } |
| Enum type for the different modulestate types. More... | |
| typedef ModuleState | __ThisDCOType__ |
| typedef for internal reference | |
Public Member Functions | |
| ModuleState () | |
| default constructor. | |
| ModuleState (const Type &t) | |
| Constructor with arguments. | |
| ModuleState (const ModuleState &o) | |
| copy constructor. | |
| ModuleState (::dueca::AmorphReStore &r) | |
| constructor to restore an ModuleState from amorphous storage. | |
| ~ModuleState () | |
| destructor. | |
| void | packData (::dueca::AmorphStore &s) const |
| packs the ModuleState into amorphous storage. | |
| void | packDataDiff (::dueca::AmorphStore &s, const ModuleState &ref) const |
| packs the ModuleState into amorphous storage. More... | |
| void | unPackData (::dueca::AmorphReStore &s) |
| unpacks the ModuleState from an amorphous storage. | |
| void | unPackDataDiff (::dueca::AmorphReStore &s) |
| unpacks the differences for ModuleState from an amorphous storage. | |
| bool | operator== (const ModuleState &o) const |
| Test for equality. | |
| bool | operator!= (const ModuleState &o) const |
| Test for inequality. | |
| ModuleState & | operator= (const ModuleState &o) |
| Assignment operator. | |
| std::ostream & | print (std::ostream &s) const |
| prints the ModuleState 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. More... | |
| static void * | operator new (size_t size, void *mem) |
| accompanying placement operator "new" | |
| 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, ModuleState *&o) |
| placement "new", needed for stl. | |
Public Attributes | |
| Type | t |
| A class member. | |
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. | |
Describes the state a module may be in.
Enum type for the different modulestate types.
|
static |
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::ModuleState::packDataDiff | ( | ::dueca::AmorphStore & | s, |
| const ModuleState & | ref | ||
| ) | const |
packs the ModuleState into amorphous storage.
only differences with a previous object are packed.