GraspControlSkillProvider.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
28 
29 // RobotAPI
33 
34 // Best put your skills in seperate libs
37 
39 {
41  virtual public armarx::Component,
42  virtual public SkillProviderComponentPluginUser,
43  virtual public armem::ClientPluginUser,
45  {
46  public:
47  GraspControlSkillProvider() = default;
48 
49  /// @see armarx::ManagedIceObject::getDefaultName()
50  std::string getDefaultName() const override;
51 
52  protected:
53 
55 
56  void onInitComponent() override;
57  void onConnectComponent() override;
58  void onDisconnectComponent() override;
59  void onExitComponent() override;
60 
61  private:
62  // skills
63  TwoArmGraspControlSkillContext graspControlSkillContext;
64  };
65 }
armarx::skills::provider::GraspControlSkillProvider::onExitComponent
void onExitComponent() override
Hook for subclass.
Definition: GraspControlSkillProvider.cpp:50
ArVizComponentPlugin.h
SkillProviderComponentPlugin.h
armarx::armem::client::plugins::PluginUser
Adds the Memory Name System client component plugin.
Definition: PluginUser.h:29
armarx::SkillProviderComponentPluginUser
Definition: SkillProviderComponentPlugin.h:120
armarx::ArVizComponentPluginUser
Provides a ready-to-use ArViz client arviz as member variable.
Definition: ArVizComponentPlugin.h:36
armarx::skills::provider::GraspControlSkillProvider::createPropertyDefinitions
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
Definition: GraspControlSkillProvider.cpp:6
armarx::skills::provider::GraspControlSkillProvider::getDefaultName
std::string getDefaultName() const override
Definition: GraspControlSkillProvider.cpp:15
armarx::skills::provider::GraspControlSkillProvider::GraspControlSkillProvider
GraspControlSkillProvider()=default
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::GraspControlSkillProvider::onDisconnectComponent
void onDisconnectComponent() override
Hook for subclass.
Definition: GraspControlSkillProvider.cpp:45
GraspObject.h
armarx::skills::provider::GraspControlSkillProvider::onInitComponent
void onInitComponent() override
Pure virtual hook for the subclass.
Definition: GraspControlSkillProvider.cpp:20
armarx::skills::provider::GraspControlSkillProvider
Definition: GraspControlSkillProvider.h:40
IceUtil::Handle< class PropertyDefinitionContainer >
PluginUser.h
armarx::skills::TwoArmGraspControlSkillContext
Definition: GraspControlSkill.h:46
PutdownObject.h
armarx::skills::provider::GraspControlSkillProvider::onConnectComponent
void onConnectComponent() override
Pure virtual hook for the subclass.
Definition: GraspControlSkillProvider.cpp:25