SemanticGraphExample.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 VisionX::ArmarXObjects::SemanticGraphExample
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 <VisionX/interface/libraries/SemanticObjectRelations/GraphStorage.h>
29 
30 
31 namespace armarx
32 {
33  /**
34  * @class SemanticGraphExamplePropertyDefinitions
35  * @brief Property definitions of `SemanticGraphExample`.
36  */
39  {
40  public:
42  };
43 
44 
45 
46  /**
47  * @defgroup Component-SemanticGraphExample SemanticGraphExample
48  * @ingroup VisionX-Components
49  * A description of the component SemanticGraphExample.
50  *
51  * @class SemanticGraphExample
52  * @ingroup Component-SemanticGraphExample
53  * @brief Brief description of class SemanticGraphExample.
54  *
55  * Detailed description of class SemanticGraphExample.
56  */
58  virtual public armarx::Component
59  {
60  public:
61 
62  /// @see armarx::ManagedIceObject::getDefaultName()
63  std::string getDefaultName() const override;
64 
65 
66  protected:
67 
68  /// @see armarx::ManagedIceObject::onInitComponent()
69  void onInitComponent() override;
70 
71  /// @see armarx::ManagedIceObject::onConnectComponent()
72  void onConnectComponent() override;
73 
74  /// @see armarx::ManagedIceObject::onDisconnectComponent()
75  void onDisconnectComponent() override;
76 
77  /// @see armarx::ManagedIceObject::onExitComponent()
78  void onExitComponent() override;
79 
80  /// @see PropertyUser::createPropertyDefinitions()
82 
83 
84  private:
85 
86  armarx::semantic::GraphStorageTopicPrx graphTopic;
87 
88  };
89 }
armarx::PropertyDefinitionContainer::prefix
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
Definition: PropertyDefinitionContainer.h:333
armarx::SemanticGraphExample::onConnectComponent
void onConnectComponent() override
Definition: SemanticGraphExample.cpp:62
armarx::SemanticGraphExamplePropertyDefinitions
Property definitions of SemanticGraphExample.
Definition: SemanticGraphExample.h:37
armarx::SemanticGraphExample::createPropertyDefinitions
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
Definition: SemanticGraphExample.cpp:41
armarx::SemanticGraphExample::onDisconnectComponent
void onDisconnectComponent() override
Definition: SemanticGraphExample.cpp:98
armarx::SemanticGraphExample::onInitComponent
void onInitComponent() override
Definition: SemanticGraphExample.cpp:56
armarx::SemanticGraphExample::onExitComponent
void onExitComponent() override
Definition: SemanticGraphExample.cpp:103
armarx::SemanticGraphExample
Brief description of class SemanticGraphExample.
Definition: SemanticGraphExample.h:57
armarx::SemanticGraphExamplePropertyDefinitions::SemanticGraphExamplePropertyDefinitions
SemanticGraphExamplePropertyDefinitions(std::string prefix)
Definition: SemanticGraphExample.cpp:36
armarx::SemanticGraphExample::getDefaultName
std::string getDefaultName() const override
Definition: SemanticGraphExample.cpp:50
Component.h
armarx::Component
Baseclass for all ArmarX ManagedIceObjects requiring properties.
Definition: Component.h:95
armarx::ComponentPropertyDefinitions
Default component property definition container.
Definition: Component.h:70
IceUtil::Handle< class PropertyDefinitionContainer >
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28