5#include <RobotAPI/interface/armem/client/MemoryListenerInterface.h>
6#include <RobotAPI/interface/armem/mns/MemoryNameSystemInterface.h>
90 std::atomic_bool initialized =
false;
91 std::atomic_bool connected =
false;
92 std::atomic_bool statistics_saved =
false;
Baseclass for all ArmarX ManagedIceObjects requiring properties.
ManagedIceObject & parent()
friend class ManagedIceObject
const std::string & prefix() const
A component plugin offering client-side access to to the working memory system by providing a Memory ...
Helps connecting a Memory server to the Ice interface.
Plugin(ManagedIceObject &parent, std::string prefix)
A memory storing data on the hard drive and in mongodb (needs 'armarx memory start' to start the mong...
void setMemoryName(const std::string &memoryName)
Set the name of the wm and the ltm.
virtual void postOnInitComponent() override
std::string memoryTopicName
Available at onInit().
server::ltm::Memory longtermMemory
A manager class for the ltm. It internally holds a normal wm instance as a cache.
virtual void preOnInitComponent() override
virtual void preOnConnectComponent() override
mns::dto::RegisterServerResult registerServer(armarx::Component &parent)
Register the parent component in the MNS.
mns::dto::RemoveServerResult removeServer()
Remove the parent component from the MNS.
client::MemoryListenerInterfacePrx memoryTopic
Available after onConnect().
virtual void postOnConnectComponent() override
virtual void postCreatePropertyDefinitions(PropertyDefinitionsPtr &properties) override
MemoryToIceAdapter iceAdapter
Helps connecting memory to ice. Used to handle Ice callbacks.
virtual ~Plugin() override
virtual void preOnDisconnectComponent() override
server::wm::Memory workingMemory
The actual memory.
Plugin(ManagedIceObject &parent, std::string prefix)
This file is part of ArmarX.
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.