DebugDrawerToArVizComponent.h
Go to the documentation of this file.
1 /*
2  * This file is part of ArmarX.
3  *
4  * ArmarX is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  *
8  * ArmarX is distributed in the hope that it will be useful, but
9  * WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  * @package RobotAPI::ArmarXObjects::DebugDrawerToArViz
17  * @author Rainer Kartmann ( rainer dot kartmann at kit dot edu )
18  * @date 2020
19  * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20  * GNU General Public License
21  */
22 
23 #pragma once
24 
25 
27 
28 #include <RobotAPI/interface/visualization/DebugDrawerToArViz.h>
29 
31 
32 #include "DebugDrawerToArViz.h"
33 
34 
35 namespace armarx
36 {
37  /**
38  * @class DebugDrawerToArVizPropertyDefinitions
39  * @brief Property definitions of `DebugDrawerToArViz`.
40  */
43  {
44  public:
46  };
47 
48 
49  /**
50  * @defgroup Component-DebugDrawerToArViz DebugDrawerToArViz
51  * @ingroup RobotAPI-Components
52  * A description of the component DebugDrawerToArViz.
53  *
54  * @class DebugDrawerToArViz
55  * @ingroup Component-DebugDrawerToArViz
56  * @brief Brief description of class DebugDrawerToArViz.
57  *
58  * Detailed description of class DebugDrawerToArViz.
59  */
61  virtual public armarx::Component,
62  virtual public armarx::DebugDrawerToArViz, // Implements armarx::DebugDrawerToArvizInterface
64  {
65  public:
66 
67  /// @see armarx::ManagedIceObject::getDefaultName()
68  std::string getDefaultName() const override;
69 
70 
71  protected:
72 
73  /// @see armarx::ManagedIceObject::onInitComponent()
74  void onInitComponent() override;
75 
76  /// @see armarx::ManagedIceObject::onConnectComponent()
77  void onConnectComponent() override;
78 
79  /// @see armarx::ManagedIceObject::onDisconnectComponent()
80  void onDisconnectComponent() override;
81 
82  /// @see armarx::ManagedIceObject::onExitComponent()
83  void onExitComponent() override;
84 
85  /// @see PropertyUser::createPropertyDefinitions()
87 
88  };
89 }
ArVizComponentPlugin.h
armarx::DebugDrawerToArVizComponent::createPropertyDefinitions
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
Definition: DebugDrawerToArVizComponent.cpp:86
armarx::DebugDrawerToArVizPropertyDefinitions::DebugDrawerToArVizPropertyDefinitions
DebugDrawerToArVizPropertyDefinitions(std::string prefix)
Definition: DebugDrawerToArVizComponent.cpp:30
armarx::PropertyDefinitionContainer::prefix
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
Definition: PropertyDefinitionContainer.h:333
armarx::DebugDrawerToArVizComponent::onDisconnectComponent
void onDisconnectComponent() override
Definition: DebugDrawerToArVizComponent.cpp:76
armarx::ArVizComponentPluginUser
Provides a ready-to-use ArViz client arviz as member variable.
Definition: ArVizComponentPlugin.h:36
armarx::DebugDrawerToArVizComponent::getDefaultName
std::string getDefaultName() const override
Definition: DebugDrawerToArVizComponent.cpp:49
DebugDrawerToArViz.h
armarx::DebugDrawerToArVizPropertyDefinitions
Property definitions of DebugDrawerToArViz.
Definition: DebugDrawerToArVizComponent.h:41
armarx::DebugDrawerToArVizComponent
Definition: DebugDrawerToArVizComponent.h:60
Component.h
armarx::Component
Baseclass for all ArmarX ManagedIceObjects requiring properties.
Definition: Component.h:95
armarx::DebugDrawerToArViz
Passes updates from DebugDrawerInterface to ArViz.
Definition: DebugDrawerToArViz.h:40
armarx::ComponentPropertyDefinitions
Default component property definition container.
Definition: Component.h:70
armarx::DebugDrawerToArVizComponent::onExitComponent
void onExitComponent() override
Definition: DebugDrawerToArVizComponent.cpp:81
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::DebugDrawerToArVizComponent::onInitComponent
void onInitComponent() override
Definition: DebugDrawerToArVizComponent.cpp:55
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28
armarx::DebugDrawerToArVizComponent::onConnectComponent
void onConnectComponent() override
Definition: DebugDrawerToArVizComponent.cpp:70