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