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