PluginUser.h
Go to the documentation of this file.
1 #pragma once
2 
4 
6 
7 // Use this one include in your .cpp:
8 // #include <RobotAPI/libraries/armem/client/MemoryNameSystem.h>
9 
10 
12 {
13  class Plugin;
14 
15  /**
16  * @brief Adds the Memory Name System client component plugin.
17  *
18  * This plugin class does not implement the `MemoryListenerInterface`.
19  * Therefore, it will not receive and process memory udpate events via the
20  * memory updates topic. If you want to receive these updates, use the
21  * `ListeningMemoryNameSystemPluginUser`.
22  *
23  *
24  * @see MemoryNameSystemPlugin
25  * @see ListeningMemoryNameSystemPluginUser
26  */
27  class PluginUser : virtual public armarx::ManagedIceObject
28  {
29  protected:
30  PluginUser();
31  virtual ~PluginUser() override;
32 
33 
34  public:
36  const MemoryNameSystem& memoryNameSystem() const;
37 
38 
39  private:
40  plugins::Plugin* plugin = nullptr;
41  };
42 
43 } // namespace armarx::armem::client::plugins
44 
45 namespace armarx::armem::client
46 {
48 }
49 
50 namespace armarx::armem
51 {
53 }
armarx::armem::client::plugins::PluginUser::memoryNameSystem
MemoryNameSystem & memoryNameSystem()
Definition: PluginUser.cpp:20
armarx::armem
Definition: LegacyRobotStateMemoryAdapter.cpp:32
armarx::armem::client
This file is part of ArmarX.
Definition: forward_declarations.h:6
armarx::armem::client::PluginUser
plugins::PluginUser PluginUser
Definition: PluginUser.h:47
armarx::armem::client::plugins::PluginUser
Adds the Memory Name System client component plugin.
Definition: PluginUser.h:27
forward_declarations.h
ManagedIceObject.h
armarx::ManagedIceObject
The ManagedIceObject is the base class for all ArmarX objects.
Definition: ManagedIceObject.h:162
armarx::armem::client::plugins
This file is part of ArmarX.
Definition: forward_declarations.h:23
armarx::armem::client::MemoryNameSystem
The memory name system (MNS) client.
Definition: MemoryNameSystem.h:68
armarx::armem::client::plugins::PluginUser::PluginUser
PluginUser()
Definition: PluginUser.cpp:10
plugins::Plugin
armarx::armem::client::plugins::PluginUser::~PluginUser
virtual ~PluginUser() override
Definition: PluginUser.cpp:15