30#include <MemoryX/interface/components/CommonStorageInterface.h>
31#include <MemoryX/interface/components/LongtermMemoryInterface.h>
32#include <MemoryX/interface/components/PriorKnowledgeInterface.h>
45 "SnapshotListCollection",
46 LTM::SegmentNames::SNAPSHOTS,
47 "Mongo collection holding a list of snapshots with corresponding metadata");
49 "OacCollection", LTM::SegmentNames::OACS,
"Mongo collection holding all OACs");
51 "DmpCollection", LTM::SegmentNames::DMP,
"Mongo collection holding all DMPs");
53 LTM::SegmentNames::KBM,
54 "Mongo collection holding all KBM instances");
56 "ltm_" + LTM::SegmentNames::PROFILER,
57 "Mongo collection for storing Profiler data");
59 "ltm_" + LTM::SegmentNames::RESOURCE_PROFILES,
60 "Mongo collection for storing ResourceProfile");
62 "ltm_" + LTM::SegmentNames::PREDICTION_DATA,
63 "Mongo collection for storing ResourceProfile");
65 "SelfLocalisationCollection",
66 "ltm_" + LTM::SegmentNames::SELF_LOCALISATION,
67 "Mongo collection for storing self localisation results");
70 "memdb.Longterm_Objects",
71 "Comma separated list of MongoDB collections (<db>.<collection>) which store known "
72 "object classes. First collection will be used for writing.");
85 virtual public LongtermMemoryInterface,
95 std::string
getMemoryName(
const Ice::Current& = Ice::emptyCurrent)
const override;
98 WorkingMemorySnapshotListSegmentBasePrx
101 PersistentObjectInstanceSegmentBasePrx
103 bool createIfMissing,
104 const ::Ice::Current&
c = Ice::emptyCurrent)
override;
105 OacMemorySegmentBasePrx
getOacSegment(const ::Ice::Current& = Ice::emptyCurrent)
override;
106 KBMSegmentBasePrx
getKBMSegment(
const Ice::Current&)
override;
107 PersistentDMPDataSegmentBasePrx
108 getDMPSegment(const ::Ice::Current& = Ice::emptyCurrent)
override;
109 PersistentProfilerDataSegmentBasePrx
111 PersistentPredictionDataSegmentBasePrx
113 PersistentResourceProfileSegmentBasePrx
115 PersistentEntitySegmentBasePrx
118 PersistentObjectClassSegmentBasePrx
120 CommonStorageInterfacePrx
125 const AbstractWorkingMemoryInterfacePrx& workingMemory,
126 const ::Ice::Current& = Ice::emptyCurrent)
override;
128 const AbstractWorkingMemoryInterfacePrx& workingMemory,
129 const ::Ice::Current& = Ice::emptyCurrent)
override;
131 const ::Ice::Current& = Ice::emptyCurrent)
override;
132 WorkingMemorySnapshotInterfacePrx
134 const ::Ice::Current& = Ice::emptyCurrent)
override;
135 NameList
getSnapshotNames(const ::Ice::Current& = Ice::emptyCurrent)
override;
147 AbstractMemorySegmentPrx addGenericSegment(
const std::string& segmentName,
148 const Ice::Current&)
override;
151 DatabaseInterfacePrx databaseInterfacePrx;
152 PriorKnowledgeInterfacePrx priorKnowledgePrx;
153 NameList classCollNames;
#define ARMARXCOMPONENT_IMPORT_EXPORT
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
PropertyDefinition< PropertyType > & defineOptionalProperty(const std::string &name, PropertyType defaultValue, const std::string &description="", PropertyDefinitionBase::PropertyConstness constness=PropertyDefinitionBase::eConstant)
AbstractLongtermMemoryPropertyDefinitions(std::string prefix)
LongtermMemoryPropertyDefinitions(std::string prefix)
The LongtermMemory class provides persistent data that has been learned or copied as a snapshot from ...
NameList getSnapshotNames(const ::Ice::Current &=Ice::emptyCurrent) override
PersistentObjectInstanceSegmentBasePrx getCustomInstancesSegment(const std::string &segmentName, bool createIfMissing, const ::Ice::Current &c=Ice::emptyCurrent) override
void loadWorkingMemorySnapshot(const std::string &snapshotName, const AbstractWorkingMemoryInterfacePrx &workingMemory, const ::Ice::Current &=Ice::emptyCurrent) override
OacMemorySegmentBasePrx getOacSegment(const ::Ice::Current &=Ice::emptyCurrent) override
bool removeWorkingMemorySnapshot(const std::string &snapshotName, const ::Ice::Current &=Ice::emptyCurrent) override
bool saveWorkingMemorySnapshot(const std::string &snapshotName, const AbstractWorkingMemoryInterfacePrx &workingMemory, const ::Ice::Current &=Ice::emptyCurrent) override
CommonStorageInterfacePrx getCommonStorage(const ::Ice::Current &c=Ice::emptyCurrent) const override
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
PersistentProfilerDataSegmentBasePrx getProfilerDataSegment(const Ice::Current &c=Ice::emptyCurrent) override
KBMSegmentBasePrx getKBMSegment(const Ice::Current &) override
void onConnectLongtermMemory() override
PersistentDMPDataSegmentBasePrx getDMPSegment(const ::Ice::Current &=Ice::emptyCurrent) override
std::string getMemoryName(const Ice::Current &=Ice::emptyCurrent) const override
PersistentEntitySegmentBasePrx getSelfLocalisationSegment(const Ice::Current &c=Ice::emptyCurrent) override
PersistentResourceProfileSegmentBasePrx getResourceProfileSegment(const Ice::Current &c=Ice::emptyCurrent) override
static std::string GetDefaultName()
WorkingMemorySnapshotListSegmentBasePrx getWorkingMemorySnapshotListSegment(const ::Ice::Current &=Ice::emptyCurrent) override
void onInitLongtermMemory() override
PersistentPredictionDataSegmentBasePrx getPredictionDataSegment(const Ice::Current &c=Ice::emptyCurrent) override
PersistentObjectClassSegmentBasePrx getObjectClassesSegment(const ::Ice::Current &c=Ice::emptyCurrent) const override
WorkingMemorySnapshotInterfacePrx openWorkingMemorySnapshot(const std::string &snapshotName, const ::Ice::Current &=Ice::emptyCurrent) override
std::string getDefaultName() const override
Retrieve default name of component.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
IceUtil::Handle< LongtermMemory > LongtermMemoryPtr