30#include <MemoryX/interface/components/CommonStorageInterface.h>
31#include <MemoryX/interface/components/LongtermMemoryInterface.h>
47 virtual public LongtermMemoryInterface,
56 return "AbstractLongtermMemory";
59 void onInitComponent()
override;
60 void onConnectComponent()
override;
62 void clear(const ::Ice::Current& = Ice::emptyCurrent)
override;
67 return Component::getObjectAdapter();
#define ARMARXCOMPONENT_IMPORT_EXPORT
Default component property definition container.
ComponentPropertyDefinitions(std::string prefix, bool hasObjectNameParameter=true)
Baseclass for all ArmarX ManagedIceObjects requiring properties.
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 > & defineRequiredProperty(const std::string &name, const std::string &description="", PropertyDefinitionBase::PropertyConstness constness=PropertyDefinitionBase::eConstant)
AbstractLongtermMemoryPropertyDefinitions(std::string prefix)
virtual void onConnectLongtermMemory()=0
MongoSerializerPtr dbSerializer
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
Ice::ObjectAdapterPtr getObjectAdapter() const override
CommonStorageInterfacePrx storagePrx
virtual void onInitLongtermMemory()=0
std::string getDefaultName() const override
Retrieve default name of component.
::IceInternal::Handle<::Ice::Communicator > CommunicatorPtr
::IceInternal::Handle<::Ice::ObjectAdapter > ObjectAdapterPtr
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
IceUtil::Handle< AbstractLongtermMemory > AbstractLongtermMemoryPtr
IceUtil::Handle< MongoSerializer > MongoSerializerPtr