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 
43 namespace 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
60  onInit(armarx::Component& parent) final
61  {
62  parent.usingProxy(graspControlSkillProvider);
63  parent.usingProxy(platformControlSkillProvider);
64  }
65  };
66 
68  {
69  public:
71 
72  protected:
74  };
75 } // namespace armarx::skills
ArVizComponentPlugin.h
armarx::skills::BringObjectSkill::context
const BringObjectSkillContext & context
Definition: BringObjectSkill.h:70
armarx::skills
This file is part of ArmarX.
Definition: PeriodicUpdateWidget.cpp:11
armarx::skills::BringObjectSkillContext::platformControlSkillProvider
std::string platformControlSkillProvider
Definition: BringObjectSkill.h:48
c
constexpr T c
Definition: UnscentedKalmanFilterTest.cpp:46
SimpleSpecializedSkill.h
armarx::skills::BringObjectSkillContext::onInit
virtual void onInit(armarx::Component &parent) final
Definition: BringObjectSkill.h:60
armarx::skills::SkillContext
Definition: SkillContext.h:13
armarx::skills::BringObjectSkillContext::graspControlSkillProvider
std::string graspControlSkillProvider
Definition: BringObjectSkill.h:47
Component.h
armarx::Component
Baseclass for all ArmarX ManagedIceObjects requiring properties.
Definition: Component.h:91
SkillContext.h
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::skills::BringObjectSkill
Definition: BringObjectSkill.h:67
armarx::skills::BringObjectSkill::BringObjectSkill
BringObjectSkill(const BringObjectSkillContext &c)
Definition: BringObjectSkill.h:70
MemoryNameSystem.h
armarx::skills::BringObjectSkillContext
Definition: BringObjectSkill.h:45
armarx::skills::BringObjectSkillContext::defineProperties
void defineProperties(const armarx::PropertyDefinitionsPtr &defs, const std::string &prefix) final
Definition: BringObjectSkill.h:51