BringObjectSkillProvider.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
* @author Fabian Reister ( fabian dot reister at kit dot edu )
17
* @date 2021
18
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
19
* GNU General Public License
20
*/
21
22
#pragma once
23
24
25
// ArmarX
26
#include <
ArmarXCore/core/Component.h
>
27
28
// RobotAPI
29
#include <
RobotAPI/libraries/skills/provider/SkillProviderComponentPlugin.h
>
30
#include <
RobotAPI/libraries/armem/client/plugins/PluginUser.h
>
31
#include <
RobotAPI/libraries/RobotAPIComponentPlugins/ArVizComponentPlugin.h
>
32
33
34
#include <
RobotSkillTemplates/libraries/skill_bring_object/BringObjectToLocation.h
>
35
36
namespace
armarx::skills::provider
37
{
38
class
BringObjectSkillProvider
:
39
virtual
public
armarx::Component
,
40
virtual
public
SkillProviderComponentPluginUser
41
{
42
public
:
43
BringObjectSkillProvider
() =
default
;
44
45
/// @see armarx::ManagedIceObject::getDefaultName()
46
std::string
getDefaultName
()
const override
;
47
48
protected
:
49
50
armarx::PropertyDefinitionsPtr
createPropertyDefinitions
()
override
;
51
52
void
onInitComponent
()
override
;
53
void
onConnectComponent
()
override
;
54
void
onDisconnectComponent
()
override
;
55
void
onExitComponent
()
override
;
56
57
private
:
58
// skills
59
BringObjectSkillContext
bringObjectSkillContext;
60
};
61
}
armarx::skills::provider::BringObjectSkillProvider::onConnectComponent
void onConnectComponent() override
Pure virtual hook for the subclass.
Definition:
BringObjectSkillProvider.cpp:24
ArVizComponentPlugin.h
SkillProviderComponentPlugin.h
armarx::skills::provider::BringObjectSkillProvider::onInitComponent
void onInitComponent() override
Pure virtual hook for the subclass.
Definition:
BringObjectSkillProvider.cpp:19
armarx::SkillProviderComponentPluginUser
Definition:
SkillProviderComponentPlugin.h:120
armarx::skills::provider::BringObjectSkillProvider::BringObjectSkillProvider
BringObjectSkillProvider()=default
armarx::skills::provider::BringObjectSkillProvider::onDisconnectComponent
void onDisconnectComponent() override
Hook for subclass.
Definition:
BringObjectSkillProvider.cpp:33
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::BringObjectSkillProvider::createPropertyDefinitions
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
Definition:
BringObjectSkillProvider.cpp:5
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::skills::provider::BringObjectSkillProvider::getDefaultName
std::string getDefaultName() const override
Definition:
BringObjectSkillProvider.cpp:14
PluginUser.h
armarx::skills::provider::BringObjectSkillProvider::onExitComponent
void onExitComponent() override
Hook for subclass.
Definition:
BringObjectSkillProvider.cpp:38
armarx::skills::BringObjectSkillContext
Definition:
BringObjectSkill.h:44
armarx::skills::provider::BringObjectSkillProvider
Definition:
BringObjectSkillProvider.h:38
BringObjectToLocation.h
RobotSkillTemplates
components
BringObjectSkillProvider
BringObjectSkillProvider.h
Generated on Sat Oct 12 2024 09:14:13 for armarx_documentation by
1.8.17