BringObjectSkill.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// STD/STL
25#include <string>
26
27// ArmarX
29
30// RobotAPI
33
34// Proxies
35#include <RobotAPI/interface/units/HandUnitInterface.h>
36
37// ArmarX
39
42
43namespace armarx::skills
44{
46 {
47 std::string graspControlSkillProvider = "GraspControlSkillProvider";
48 std::string platformControlSkillProvider = "PlatformControlSkillProvider";
49
50 void
52 const std::string& prefix) final
53 {
54 defs->optional(graspControlSkillProvider, prefix + "graspControlSkillProviderName");
55 defs->optional(platformControlSkillProvider,
56 prefix + "platformControlSkillProviderName");
57 }
58
59 virtual void
61 {
62 parent.usingProxy(graspControlSkillProvider);
63 parent.usingProxy(platformControlSkillProvider);
64 }
65 };
66
68 {
69 public:
71
72 protected:
74 };
75} // namespace armarx::skills
constexpr T c
Baseclass for all ArmarX ManagedIceObjects requiring properties.
Definition Component.h:94
BringObjectSkill(const BringObjectSkillContext &c)
const BringObjectSkillContext & context
This file is part of ArmarX.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
virtual void onInit(armarx::Component &parent) final
void defineProperties(const armarx::PropertyDefinitionsPtr &defs, const std::string &prefix) final