GraspGeneratorComponentPlugin.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
ArmarXCore/core/ComponentPlugin.h
>
4
5
#include <RobotComponents/interface/components/GraspingManager/GraspGeneratorInterface.h>
6
7
namespace
armarx
8
{
9
namespace
plugins
10
{
11
12
class
GraspGeneratorComponentPlugin
:
public
ComponentPlugin
13
{
14
public
:
15
using
ComponentPlugin::ComponentPlugin;
16
17
void
preOnInitComponent
()
override
;
18
19
void
preOnConnectComponent
()
override
;
20
21
void
postCreatePropertyDefinitions
(
PropertyDefinitionsPtr
& properties)
override
;
22
23
GraspGeneratorInterfacePrx
getGraspGenerator
();
24
25
private
:
26
static
constexpr
const
char
* PROPERTY_NAME =
"GraspGeneratorName"
;
27
GraspGeneratorInterfacePrx _graspGenerator;
28
};
29
30
}
// namespace plugins
31
}
// namespace armarx
32
33
#include <
ArmarXCore/core/ManagedIceObject.h
>
34
35
namespace
armarx
36
{
37
/**
38
* @brief Provides a ready-to-use GraspGenerator.
39
*/
40
class
GraspGeneratorComponentPluginUser
:
virtual
public
ManagedIceObject
41
{
42
public
:
43
GraspGeneratorComponentPluginUser
();
44
GraspGeneratorInterfacePrx
getGraspGenerator
();
45
46
private
:
47
armarx::plugins::GraspGeneratorComponentPlugin
* plugin =
nullptr
;
48
};
49
50
}
// namespace armarx
51
52
namespace
armarx
53
{
54
namespace
plugins
55
{
56
// Legacy typedef.
57
using
GraspGeneratorComponentPluginUser
=
armarx::GraspGeneratorComponentPluginUser
;
58
}
// namespace plugins
59
}
// namespace armarx
armarx::plugins::GraspGeneratorComponentPluginUser
armarx::GraspGeneratorComponentPluginUser GraspGeneratorComponentPluginUser
Definition:
GraspGeneratorComponentPlugin.h:57
armarx::GraspGeneratorComponentPluginUser::getGraspGenerator
GraspGeneratorInterfacePrx getGraspGenerator()
Definition:
GraspGeneratorComponentPlugin.cpp:52
armarx::plugins::GraspGeneratorComponentPlugin::postCreatePropertyDefinitions
void postCreatePropertyDefinitions(PropertyDefinitionsPtr &properties) override
Definition:
GraspGeneratorComponentPlugin.cpp:23
armarx::GraspGeneratorComponentPluginUser::GraspGeneratorComponentPluginUser
GraspGeneratorComponentPluginUser()
Definition:
GraspGeneratorComponentPlugin.cpp:46
plugins
ManagedIceObject.h
armarx::ComponentPlugin
Definition:
ComponentPlugin.h:37
armarx::plugins::GraspGeneratorComponentPlugin::preOnInitComponent
void preOnInitComponent() override
Definition:
GraspGeneratorComponentPlugin.cpp:11
armarx::plugins::GraspGeneratorComponentPlugin
Definition:
GraspGeneratorComponentPlugin.h:12
armarx::plugins::GraspGeneratorComponentPlugin::preOnConnectComponent
void preOnConnectComponent() override
Definition:
GraspGeneratorComponentPlugin.cpp:17
armarx::GraspGeneratorComponentPluginUser
Provides a ready-to-use GraspGenerator.
Definition:
GraspGeneratorComponentPlugin.h:40
armarx::plugins::GraspGeneratorComponentPlugin::getGraspGenerator
GraspGeneratorInterfacePrx getGraspGenerator()
Definition:
GraspGeneratorComponentPlugin.cpp:34
armarx::ManagedIceObject
The ManagedIceObject is the base class for all ArmarX objects.
Definition:
ManagedIceObject.h:162
IceUtil::Handle< class PropertyDefinitionContainer >
ComponentPlugin.h
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition:
ArmarXTimeserver.cpp:27
RobotComponents
libraries
RobotComponentsComponentPlugins
GraspGeneratorComponentPlugin.h
Generated on Sat Mar 29 2025 09:17:33 for armarx_documentation by
1.8.17