|
DUECA/DUSIME
|
Enum event type for keeping snapshot info. More...
#include <SnapshotState.hxx>
Public Types | |
| enum | Type { SnapClear , SnapPrepared , SnapNow , SnapTaken , SnapSendNotApplicable , SnapSent , SnapLoaded , SnapNotFilled , TooLateForSnap } |
| Enum type for the different snapshot states and commands. More... | |
| typedef SnapshotState | __ThisDCOType__ |
| typedef for internal reference | |
Public Member Functions | |
| SnapshotState () | |
| default constructor. | |
| SnapshotState (const Type &state) | |
| Constructor with arguments. | |
| SnapshotState (const SnapshotState &o) | |
| copy constructor. | |
| SnapshotState (::dueca::AmorphReStore &r) | |
| constructor to restore an SnapshotState from amorphous storage. | |
| ~SnapshotState () | |
| destructor. | |
| void | packData (::dueca::AmorphStore &s) const |
| packs the SnapshotState into amorphous storage. | |
| void | packDataDiff (::dueca::AmorphStore &s, const SnapshotState &ref) const |
| packs the SnapshotState into amorphous storage. | |
| void | unPackData (::dueca::AmorphReStore &s) |
| unpacks the SnapshotState from an amorphous storage. | |
| void | unPackDataDiff (::dueca::AmorphReStore &s) |
| unpacks the differences for SnapshotState from an amorphous storage. | |
| bool | operator== (const SnapshotState &o) const |
| Test for equality. | |
| bool | operator!= (const SnapshotState &o) const |
| Test for inequality. | |
| SnapshotState & | operator= (const SnapshotState &o) |
| Assignment operator. | |
| std::ostream & | print (std::ostream &s) const |
| prints the SnapshotState 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 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, SnapshotState *&o) |
| placement "new", needed for stl. | |
Public Attributes | |
| Type | state |
| actual state | |
Enum event type for keeping snapshot info.
Enum type for the different snapshot states and commands.
|
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::SnapshotState::packDataDiff | ( | ::dueca::AmorphStore & | s, |
| const SnapshotState & | ref ) const |
packs the SnapshotState into amorphous storage.
only differences with a previous object are packed.