KITProstheticHandObserver.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::KITProstheticHandObserver
17  * @author Raphael Grimm ( raphael dot grimm at kit dot edu )
18  * @date 2018
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 namespace armarx
29 {
30  /**
31  * @class KITProstheticHandObserverPropertyDefinitions
32  * @brief
33  */
35  {
36  public:
39  {
40  //defineRequiredProperty<std::string>("PropertyName", "Description");
41  //defineOptionalProperty<std::string>("PropertyName", "DefaultValue", "Description");
42  }
43  };
44 
45  /**
46  * @defgroup Component-KITProstheticHandObserver KITProstheticHandObserver
47  * @ingroup RobotAPI-Components
48  * A description of the component KITProstheticHandObserver.
49  *
50  * @class KITProstheticHandObserver
51  * @ingroup Component-KITProstheticHandObserver
52  * @brief Brief description of class KITProstheticHandObserver.
53  *
54  * Detailed description of class KITProstheticHandObserver.
55  */
57  {
58  public:
59  /**
60  * @see armarx::ManagedIceObject::getDefaultName()
61  */
62  std::string
63  getDefaultName() const override
64  {
65  return "KITProstheticHandObserver";
66  }
67 
68  protected:
69  /**
70  * @see armarx::ManagedIceObject::onInitComponent()
71  */
72  void onInitComponent() override;
73 
74  /**
75  * @see armarx::ManagedIceObject::onConnectComponent()
76  */
77  void onConnectComponent() override;
78 
79  /**
80  * @see armarx::ManagedIceObject::onDisconnectComponent()
81  */
82  void onDisconnectComponent() override;
83 
84  /**
85  * @see armarx::ManagedIceObject::onExitComponent()
86  */
87  void onExitComponent() override;
88 
89  /**
90  * @see PropertyUser::createPropertyDefinitions()
91  */
93  };
94 } // namespace armarx
armarx::KITProstheticHandObserver::getDefaultName
std::string getDefaultName() const override
Definition: KITProstheticHandObserver.h:63
armarx::KITProstheticHandObserver::onDisconnectComponent
void onDisconnectComponent() override
Definition: KITProstheticHandObserver.cpp:38
armarx::PropertyDefinitionContainer::prefix
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
Definition: PropertyDefinitionContainer.h:345
armarx::KITProstheticHandObserver::onConnectComponent
void onConnectComponent() override
Definition: KITProstheticHandObserver.cpp:33
armarx::KITProstheticHandObserverPropertyDefinitions
Definition: KITProstheticHandObserver.h:34
armarx::KITProstheticHandObserver::onInitComponent
void onInitComponent() override
Definition: KITProstheticHandObserver.cpp:28
armarx::KITProstheticHandObserver
Brief description of class KITProstheticHandObserver.
Definition: KITProstheticHandObserver.h:56
Component.h
armarx::KITProstheticHandObserver::createPropertyDefinitions
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
Definition: KITProstheticHandObserver.cpp:48
armarx::Component
Baseclass for all ArmarX ManagedIceObjects requiring properties.
Definition: Component.h:91
armarx::ComponentPropertyDefinitions
Default component property definition container.
Definition: Component.h:69
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::KITProstheticHandObserverPropertyDefinitions::KITProstheticHandObserverPropertyDefinitions
KITProstheticHandObserverPropertyDefinitions(std::string prefix)
Definition: KITProstheticHandObserver.h:37
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:27
armarx::KITProstheticHandObserver::onExitComponent
void onExitComponent() override
Definition: KITProstheticHandObserver.cpp:43