Go to the documentation of this file.
27 #include <MemoryX/interface/components/LongtermMemoryInterface.h>
28 #include <MemoryX/interface/components/CommonStorageInterface.h>
43 defineRequiredProperty<std::string>(
"DatabaseName",
"Mongo database to store LTM data");
48 virtual public LongtermMemoryInterface,
56 return "AbstractLongtermMemory";
58 void onInitComponent()
override;
59 void onConnectComponent()
override;
61 void clear(const ::Ice::Current& = Ice::emptyCurrent)
override;
65 return Component::getObjectAdapter();
75 getConfigIdentifier()));
86 virtual void onInitLongtermMemory() = 0;
87 virtual void onConnectLongtermMemory() = 0;
CommonStorageInterfacePrx storagePrx
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
AbstractLongtermMemoryPropertyDefinitions(std::string prefix)
MongoSerializerPtr dbSerializer
The SegmentedMemory class provides an interface for organizing memories with segmented data structure...
#define ARMARXCOMPONENT_IMPORT_EXPORT
std::string getDefaultName() const override
Retrieve default name of component.
Baseclass for all ArmarX ManagedIceObjects requiring properties.
Default component property definition container.
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
ComponentPropertyDefinitions(std::string prefix, bool hasObjectNameParameter=true)
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
Ice::ObjectAdapterPtr getObjectAdapter() const override