26 #include <MemoryX/interface/components/LongtermMemoryInterface.h>
31 using SnapshotMap = std::map<Ice::Identity, WorkingMemorySnapshotInterfacePtr>;
41 const CollectionInterfacePrx& collection,
45 WorkingMemorySnapshotInterfacePrx
47 const AbstractWorkingMemoryInterfacePrx& workingMemory,
48 const ::Ice::Current& = Ice::emptyCurrent)
override;
49 WorkingMemorySnapshotInterfacePrx
51 const AbstractWorkingMemoryInterfacePrx& workingMemory,
52 const Ice::StringSeq& entityIdList,
53 const ::Ice::Current&
c = Ice::emptyCurrent)
override;
54 WorkingMemorySnapshotInterfacePrx
55 openSnapshot(const ::std::string& name, const ::Ice::Current& = Ice::emptyCurrent)
override;
56 void closeSnapshot(
const WorkingMemorySnapshotInterfacePrx& snapshot,
57 const ::Ice::Current& = Ice::emptyCurrent)
override;
59 const AbstractWorkingMemoryInterfacePrx& workingMemory,
60 const ::Ice::Current& = Ice::emptyCurrent)
override;
62 const ::Ice::Current& = Ice::emptyCurrent)
override;
63 NameList
getSnapshotNames(const ::Ice::Current& = Ice::emptyCurrent)
const override;
65 Ice::Int size(const ::Ice::Current& = Ice::emptyCurrent)
const override;
66 void clear(const ::Ice::Current& = Ice::emptyCurrent)
override;
67 void print(const ::Ice::Current& = Ice::emptyCurrent)
const override;
73 const ::Ice::Current& = Ice::emptyCurrent)
override
75 this->segmentName = segmentName;
81 this->parentMemory = memory;
86 MemoryInterfacePtr parentMemory;
87 DatabaseInterfacePrx databasePrx;
88 CollectionInterfacePrx snapshotListCollection;
94 WorkingMemorySnapshotInterfacePrx
97 std::string segmentName;