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 } // namespace armarx::plugins
27 
29 
30 namespace armarx
31 {
32  /**
33  * @brief Provides a ready-to-use ArViz client `arviz` as member variable.
34  */
36  {
37  public:
39 
41 
43 
46  {
47  return arviz;
48  }
49 
50  private:
51  armarx::plugins::ArVizComponentPlugin* plugin = nullptr;
52  };
53 } // namespace armarx
54 
55 namespace armarx::plugins
56 {
57  // Legacy typedef.
59 } // namespace armarx::plugins
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:58
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:35
ManagedIceObject.h
armarx::plugins
This file is part of ArmarX.
Definition: DebugObserverComponentPlugin.cpp:27
armarx::ComponentPlugin
Definition: ComponentPlugin.h:37
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:162
armarx::plugins::ArVizComponentPlugin::createClient
armarx::viz::Client createClient()
Definition: ArVizComponentPlugin.cpp:65
armarx::ArVizComponentPluginUser::arviz
armarx::viz::Client arviz
Definition: ArVizComponentPlugin.h:42
IceUtil::Handle< class PropertyDefinitionContainer >
ComponentPlugin.h
armarx::viz::Client
Definition: Client.h:117
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:27