GraspObject.h
Go to the documentation of this file.
1
/*
2
* This file is part of ArmarX.
3
*
4
* Copyright (C) 2014-2016, High Performance Humanoid Technologies (H2T), Karlsruhe Institute of Technology (KIT), all rights reserved.
5
*
6
* ArmarX is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License version 2 as
8
* published by the Free Software Foundation.
9
*
10
* ArmarX is distributed in the hope that it will be useful, but
11
* WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*
18
* @package RobotSkillTemplates::GraspObjectGroup
19
* @author Mirko Waechter ( waechter at kit dot edu )
20
* @date 2014
21
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
22
* GNU General Public License
23
*/
24
25
#pragma once
26
27
#include <
ArmarXCore/statechart/xmlstates/XMLState.h
>
28
#include <
MemoryX/libraries/updater/ObjectLocalization/MemoryXUpdaterObjectFactories.h
>
29
#include "GraspObject.generated.h"
30
31
namespace
armarx::GraspObjectGroup
32
{
33
class
GraspObject
:
34
public
GraspObjectGeneratedBase<GraspObject>
35
{
36
public
:
37
GraspObject
(
XMLStateConstructorParams
stateData);
38
39
// inherited from StateBase
40
void
onEnter
()
override
;
41
void
onExit
()
override
;
42
43
// static functions for AbstractFactory Method
44
static
std::string
GetName
();
45
static
XMLStateFactoryBasePtr
CreateInstance
(
XMLStateConstructorParams
stateData);
46
static
SubClassRegistry
Registry
;
47
48
// DO NOT INSERT ANY CLASS MEMBERS,
49
// use stateparameters instead,
50
// if classmember are neccessary nonetheless, reset them in onEnter
51
};
52
}
53
54
armarx::GraspObjectGroup::GraspObject::GetName
static std::string GetName()
Definition:
GraspObject.cpp:165
XMLState.h
armarx::XMLStateConstructorParams
Definition:
XMLState.h:50
armarx::GraspObjectGroup
Definition:
CalculateGraspConfiguration.h:27
armarx::GraspObjectGroup::GraspObject::Registry
static SubClassRegistry Registry
Definition:
GraspObject.h:46
IceInternal::Handle
Definition:
forward_declarations.h:8
armarx::GraspObjectGroup::GraspObject::GraspObject
GraspObject(XMLStateConstructorParams stateData)
Definition:
GraspObject.cpp:43
armarx::GraspObjectGroup::GraspObject::CreateInstance
static XMLStateFactoryBasePtr CreateInstance(XMLStateConstructorParams stateData)
Definition:
GraspObject.cpp:173
armarx::GraspObjectGroup::GraspObject::onEnter
void onEnter() override
Definition:
GraspObject.cpp:51
armarx::GraspObjectGroup::GraspObject
Definition:
GraspObject.h:33
armarx::GraspObjectGroup::GraspObject::onExit
void onExit() override
Definition:
GraspObject.cpp:145
MemoryXUpdaterObjectFactories.h
RobotSkillTemplates
statecharts
GraspObjectGroup
GraspObject.h
Generated on Sat Oct 12 2024 09:14:13 for armarx_documentation by
1.8.17