SkillProviderExample.h
Go to the documentation of this file.
1
2
/*
3
* This file is part of ArmarX.
4
*
5
* ArmarX is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License version 2 as
7
* published by the Free Software Foundation.
8
*
9
* ArmarX is distributed in the hope that it will be useful, but
10
* WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16
*
17
* @author Fabian Reister ( fabian dot reister at kit dot edu )
18
* @date 2021
19
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20
* GNU General Public License
21
*/
22
23
#pragma once
24
25
26
// ArmarX
27
#include <
ArmarXCore/core/Component.h
>
28
29
// RobotAPI
30
#include <
RobotAPI/libraries/skills/provider/SkillProviderComponentPlugin.h
>
31
32
#include "
Callback.h
"
33
#include "
Chaining.h
"
34
#include "
HelloWorld.h
"
35
#include "
Incomplete.h
"
36
#include "
Timeout.h
"
37
38
namespace
armarx::skills::provider
39
{
40
/**
41
* @defgroup Component-ExampleClient ExampleClient
42
* @ingroup RobotAPI-Components
43
* A description of the component ExampleClient.
44
*
45
* @class ExampleClient
46
* @ingroup Component-ExampleClient
47
* @brief Brief description of class ExampleClient.
48
*
49
* Detailed description of class ExampleClient.
50
*/
51
class
SkillProviderExample
:
52
virtual
public
armarx::Component
,
53
virtual
public
SkillProviderComponentPluginUser
54
{
55
public
:
56
SkillProviderExample
();
57
58
/// @see armarx::ManagedIceObject::getDefaultName()
59
std::string
getDefaultName
()
const override
;
60
61
protected
:
62
armarx::PropertyDefinitionsPtr
createPropertyDefinitions
()
override
;
63
64
void
onInitComponent
()
override
;
65
void
onConnectComponent
()
override
;
66
void
onDisconnectComponent
()
override
;
67
void
onExitComponent
()
override
;
68
69
private
:
70
};
71
}
// namespace armarx::skills::provider
SkillProviderComponentPlugin.h
armarx::skills::provider::SkillProviderExample
Definition:
SkillProviderExample.h:51
armarx::skills::provider::SkillProviderExample::SkillProviderExample
SkillProviderExample()
Definition:
SkillProviderExample.cpp:6
HelloWorld.h
Callback.h
armarx::SkillProviderComponentPluginUser
Definition:
SkillProviderComponentPlugin.h:120
armarx::skills::provider::SkillProviderExample::onInitComponent
void onInitComponent() override
Pure virtual hook for the subclass.
Definition:
SkillProviderExample.cpp:25
Incomplete.h
armarx::skills::provider::SkillProviderExample::onConnectComponent
void onConnectComponent() override
Pure virtual hook for the subclass.
Definition:
SkillProviderExample.cpp:63
armarx::skills::provider::SkillProviderExample::createPropertyDefinitions
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
Definition:
SkillProviderExample.cpp:11
armarx::skills::provider
Definition:
Callback.cpp:4
Component.h
armarx::Component
Baseclass for all ArmarX ManagedIceObjects requiring properties.
Definition:
Component.h:95
armarx::skills::provider::SkillProviderExample::onExitComponent
void onExitComponent() override
Hook for subclass.
Definition:
SkillProviderExample.cpp:73
Timeout.h
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::skills::provider::SkillProviderExample::onDisconnectComponent
void onDisconnectComponent() override
Hook for subclass.
Definition:
SkillProviderExample.cpp:68
armarx::skills::provider::SkillProviderExample::getDefaultName
std::string getDefaultName() const override
Definition:
SkillProviderExample.cpp:19
Chaining.h
RobotAPI
components
skills
SkillProviderExample
SkillProviderExample.h
Generated on Tue Nov 28 2023 06:12:47 for armarx_documentation by
1.8.17