Go to the documentation of this file.
29 #include <RobotAPI/interface/armem/mns/MemoryNameSystemInterface.h>
50 if (armemPlugin ==
nullptr)
62 readerWriter.registerPropertyDefinitions(properties);
71 ARMARX_INFO <<
"The memory name system is disabled by user choice via the property."
72 <<
"Reader and writer will not be able to connect to the memory.";
76 readerWriter.connect(memoryNameSystem());
106 if (armemPlugin ==
nullptr)
void addPluginDependency(ManagedIceObjectPlugin *dependedOn)
bool isMemoryNameSystemEnabled()
Indicate whether the Memory Name System (MNS) is enabled.
MemoryNameSystem & getMemoryNameSystemClient()
Get the MNS client.
ManagedIceObject & parent()
#define ARMARX_CHECK_NOT_NULL(ptr)
This macro evaluates whether ptr is not null and if it turns out to be false it will throw an Express...
A component plugin offering client-side access to a reader or writer and manages the lifecycle,...
void postCreatePropertyDefinitions(PropertyDefinitionsPtr &properties) override
PluginT * addPlugin(const std::string prefix="", ParamsT &&...params)
#define ARMARX_CHECK(expression)
Shortcut for ARMARX_CHECK_EXPRESSION.
void preOnConnectComponent() override
ReaderWriterPlugin(ManagedIceObject &parent, const std::string &pre)
The ManagedIceObject is the base class for all ArmarX objects.
This file is part of ArmarX.
~ReaderWriterPlugin() override=default
The memory name system (MNS) client.
A component plugin offering client-side access to to the working memory system by providing a Memory ...