ArVizComponentPlugin.h
Go to the documentation of this file.
1 #pragma once
2 
4 
6 
7 namespace armarx::plugins
8 {
10  {
11  public:
12  using ComponentPlugin::ComponentPlugin;
13 
14  void preOnInitComponent() override;
15 
16  void preOnConnectComponent() override;
17 
18  void postCreatePropertyDefinitions(PropertyDefinitionsPtr& properties) override;
19 
21 
22  std::string getTopicName();
23 
24  std::string getStorageName();
25  };
26 }
27 
28 
30 
31 namespace armarx
32 {
33  /**
34  * @brief Provides a ready-to-use ArViz client `arviz` as member variable.
35  */
37  {
38  public:
40 
42 
44 
46  {
47  return arviz;
48  }
49 
50  private:
51  armarx::plugins::ArVizComponentPlugin* plugin = nullptr;
52  };
53 }
54 
55 
56 namespace armarx::plugins
57 {
58  // Legacy typedef.
60 }
Client.h
armarx::plugins::ArVizComponentPlugin::postCreatePropertyDefinitions
void postCreatePropertyDefinitions(PropertyDefinitionsPtr &properties) override
Definition: ArVizComponentPlugin.cpp:46
armarx::ArVizComponentPluginUser::getArvizClient
armarx::viz::Client & getArvizClient()
Definition: ArVizComponentPlugin.h:45
armarx::plugins::ArVizComponentPlugin::preOnInitComponent
void preOnInitComponent() override
Definition: ArVizComponentPlugin.cpp:30
armarx::plugins::ArVizComponentPluginUser
armarx::ArVizComponentPluginUser ArVizComponentPluginUser
Definition: ArVizComponentPlugin.h:59
armarx::plugins::ArVizComponentPlugin
Definition: ArVizComponentPlugin.h:9
armarx::ArVizComponentPluginUser::ArVizComponentPluginUser
ArVizComponentPluginUser()
Definition: ArVizComponentPlugin.cpp:73
armarx::plugins::ArVizComponentPlugin::getTopicName
std::string getTopicName()
Definition: ArVizComponentPlugin.cpp:14
armarx::ArVizComponentPluginUser
Provides a ready-to-use ArViz client arviz as member variable.
Definition: ArVizComponentPlugin.h:36
ManagedIceObject.h
armarx::plugins
This file is part of ArmarX.
Definition: DebugObserverComponentPlugin.cpp:28
armarx::ComponentPlugin
Definition: ComponentPlugin.h:38
armarx::plugins::ArVizComponentPlugin::getStorageName
std::string getStorageName()
Definition: ArVizComponentPlugin.cpp:22
armarx::plugins::ArVizComponentPlugin::preOnConnectComponent
void preOnConnectComponent() override
Definition: ArVizComponentPlugin.cpp:37
armarx::ManagedIceObject
The ManagedIceObject is the base class for all ArmarX objects.
Definition: ManagedIceObject.h:163
armarx::plugins::ArVizComponentPlugin::createClient
armarx::viz::Client createClient()
Definition: ArVizComponentPlugin.cpp:65
armarx::ArVizComponentPluginUser::arviz
armarx::viz::Client arviz
Definition: ArVizComponentPlugin.h:43
IceUtil::Handle< class PropertyDefinitionContainer >
ComponentPlugin.h
armarx::viz::Client
Definition: Client.h:109
armarx::ArVizComponentPluginUser::createArVizClient
armarx::viz::Client createArVizClient()
Definition: ArVizComponentPlugin.cpp:79
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28