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 "
Segfault.h
"
37
#include "
Timeout.h
"
38
#include "
RandomChaining.h
"
39
#include "
InstantKill.h
"
40
#include "
BusyWaiting.h
"
41
#include "
Recursive.h
"
42
43
namespace
armarx::skills::provider
44
{
45
/**
46
* @defgroup Component-ExampleClient ExampleClient
47
* @ingroup RobotAPI-Components
48
* A description of the component ExampleClient.
49
*
50
* @class ExampleClient
51
* @ingroup Component-ExampleClient
52
* @brief Brief description of class ExampleClient.
53
*
54
* Detailed description of class ExampleClient.
55
*/
56
class
SkillProviderExample
:
57
virtual
public
armarx::Component
,
58
virtual
public
SkillProviderComponentPluginUser
59
{
60
public
:
61
SkillProviderExample
();
62
63
/// @see armarx::ManagedIceObject::getDefaultName()
64
std::string
getDefaultName
()
const override
;
65
66
protected
:
67
armarx::PropertyDefinitionsPtr
createPropertyDefinitions
()
override
;
68
69
void
onInitComponent
()
override
;
70
void
onConnectComponent
()
override
;
71
void
onDisconnectComponent
()
override
;
72
void
onExitComponent
()
override
;
73
74
private
:
75
};
76
}
// namespace armarx::skills::provider
BusyWaiting.h
SkillProviderComponentPlugin.h
InstantKill.h
armarx::skills::provider::SkillProviderExample
Definition:
SkillProviderExample.h:56
armarx::skills::provider::SkillProviderExample::SkillProviderExample
SkillProviderExample()
Definition:
SkillProviderExample.cpp:6
HelloWorld.h
Recursive.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:81
Segfault.h
armarx::skills::provider::SkillProviderExample::createPropertyDefinitions
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
Definition:
SkillProviderExample.cpp:11
armarx::skills::provider
Definition:
BusyWaiting.cpp:6
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:91
Timeout.h
RandomChaining.h
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::skills::provider::SkillProviderExample::onDisconnectComponent
void onDisconnectComponent() override
Hook for subclass.
Definition:
SkillProviderExample.cpp:86
armarx::skills::provider::SkillProviderExample::getDefaultName
std::string getDefaultName() const override
Definition:
SkillProviderExample.cpp:19
Chaining.h
RobotAPI
components
skills
SkillProviderExample
SkillProviderExample.h
Generated on Sat Oct 12 2024 09:14:06 for armarx_documentation by
1.8.17