The WorkingMemorySnapshot class handles snapshot IO methods.
More...
#include <MemoryX/libraries/longtermmemory/WorkingMemorySnapshot.h>
|
| PersistentEntitySegmentBasePrx | addSegment (const ::std::string &segName, const ::Ice::Current &=Ice::emptyCurrent) override |
| |
| void | clear (const ::Ice::Current &=Ice::emptyCurrent) override |
| |
| void | deserialize (const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) override |
| |
| Ice::Identity | getIceId () const |
| |
| PersistentEntitySegmentBasePrx | getSegment (const ::std::string &segName, const ::Ice::Current &=Ice::emptyCurrent) override |
| |
| SegmentMap | getSegmentAndCollectionNames () const |
| |
| NameList | getSegmentNames (const ::Ice::Current &=Ice::emptyCurrent) override |
| |
| bool | hasSegment (const ::std::string &segName, const ::Ice::Current &=Ice::emptyCurrent) override |
| |
| void | restoreWorkingMemory (const AbstractWorkingMemoryInterfacePrx &workingMemory, const ::Ice::Current &=Ice::emptyCurrent) override |
| | Restore all segments with all entities of this snapshot to the WorkingMemory. More...
|
| |
| void | saveWorkingMemory (const AbstractWorkingMemoryInterfacePrx &workingMemory, const ::Ice::Current &=Ice::emptyCurrent) override |
| | Save all segments with all entities of the WorkingMemory to this snapshot. More...
|
| |
| void | saveWorkingMemorySubset (const AbstractWorkingMemoryInterfacePrx &workingMemory, const Ice::StringSeq &entityIdList, const ::Ice::Current &=Ice::emptyCurrent) override |
| |
| void | serialize (const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) const override |
| |
| | WorkingMemorySnapshot (const std::string &name, Ice::CommunicatorPtr ic, const DatabaseInterfacePrx &databasePrx) |
| |
The WorkingMemorySnapshot class handles snapshot IO methods.
Snapshots can be loaded and restored from the database.
Definition at line 41 of file WorkingMemorySnapshot.h.
◆ WorkingMemorySnapshot()
◆ addSegment()
| PersistentEntitySegmentBasePrx addSegment |
( |
const ::std::string & |
segName, |
|
|
const ::Ice::Current & |
= Ice::emptyCurrent |
|
) |
| |
|
override |
◆ clear()
| void clear |
( |
const ::Ice::Current & |
= Ice::emptyCurrent | ) |
|
|
override |
◆ deserialize()
| void deserialize |
( |
const armarx::ObjectSerializerBasePtr & |
serializer, |
|
|
const ::Ice::Current & |
c = Ice::emptyCurrent |
|
) |
| |
|
override |
◆ getIceId()
| Ice::Identity getIceId |
( |
| ) |
const |
◆ getSegment()
| PersistentEntitySegmentBasePrx getSegment |
( |
const ::std::string & |
segName, |
|
|
const ::Ice::Current & |
c = Ice::emptyCurrent |
|
) |
| |
|
override |
◆ getSegmentAndCollectionNames()
◆ getSegmentNames()
| NameList getSegmentNames |
( |
const ::Ice::Current & |
= Ice::emptyCurrent | ) |
|
|
override |
◆ hasSegment()
| bool hasSegment |
( |
const ::std::string & |
segName, |
|
|
const ::Ice::Current & |
= Ice::emptyCurrent |
|
) |
| |
|
override |
◆ restoreWorkingMemory()
| void restoreWorkingMemory |
( |
const AbstractWorkingMemoryInterfacePrx & |
workingMemory, |
|
|
const ::Ice::Current & |
= Ice::emptyCurrent |
|
) |
| |
|
override |
◆ saveWorkingMemory()
| void saveWorkingMemory |
( |
const AbstractWorkingMemoryInterfacePrx & |
workingMemory, |
|
|
const ::Ice::Current & |
= Ice::emptyCurrent |
|
) |
| |
|
override |
◆ saveWorkingMemorySubset()
| void saveWorkingMemorySubset |
( |
const AbstractWorkingMemoryInterfacePrx & |
workingMemory, |
|
|
const Ice::StringSeq & |
entityIdList, |
|
|
const ::Ice::Current & |
= Ice::emptyCurrent |
|
) |
| |
|
override |
◆ serialize()
| void serialize |
( |
const armarx::ObjectSerializerBasePtr & |
serializer, |
|
|
const ::Ice::Current & |
c = Ice::emptyCurrent |
|
) |
| const |
|
override |
The documentation for this class was generated from the following files: