KinematicUnitComponentPlugin.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
ArmarXCore/core/ComponentPlugin.h
>
4
#include <RobotAPI/interface/units/KinematicUnitInterface.h>
5
6
7
namespace
armarx
8
{
9
namespace
plugins
10
{
11
12
class
KinematicUnitComponentPlugin
:
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
KinematicUnitInterfacePrx
getKinematicUnit
();
24
25
private
:
26
static
constexpr
const
char
* PROPERTY_NAME =
"KinematicUnitName"
;
27
KinematicUnitInterfacePrx _kinematicUnit;
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 KinematicUnit.
40
*/
41
class
KinematicUnitComponentPluginUser
:
virtual
public
ManagedIceObject
42
{
43
public
:
44
KinematicUnitComponentPluginUser
();
45
KinematicUnitInterfacePrx
getKinematicUnit
();
46
47
private
:
48
armarx::plugins::KinematicUnitComponentPlugin
* plugin =
nullptr
;
49
};
50
51
52
}
53
54
55
namespace
armarx
56
{
57
namespace
plugins
58
{
59
// Legacy typedef.
60
using
KinematicUnitComponentPluginUser
=
armarx::KinematicUnitComponentPluginUser
;
61
}
62
}
armarx::plugins::KinematicUnitComponentPlugin::preOnConnectComponent
void preOnConnectComponent() override
Definition:
KinematicUnitComponentPlugin.cpp:16
armarx::plugins::KinematicUnitComponentPlugin::preOnInitComponent
void preOnInitComponent() override
Definition:
KinematicUnitComponentPlugin.cpp:11
armarx::plugins::KinematicUnitComponentPlugin::postCreatePropertyDefinitions
void postCreatePropertyDefinitions(PropertyDefinitionsPtr &properties) override
Definition:
KinematicUnitComponentPlugin.cpp:21
armarx::plugins::KinematicUnitComponentPluginUser
armarx::KinematicUnitComponentPluginUser KinematicUnitComponentPluginUser
Definition:
KinematicUnitComponentPlugin.h:60
plugins
armarx::KinematicUnitComponentPluginUser::getKinematicUnit
KinematicUnitInterfacePrx getKinematicUnit()
Definition:
KinematicUnitComponentPlugin.cpp:49
ManagedIceObject.h
armarx::ComponentPlugin
Definition:
ComponentPlugin.h:38
armarx::plugins::KinematicUnitComponentPlugin::getKinematicUnit
KinematicUnitInterfacePrx getKinematicUnit()
Definition:
KinematicUnitComponentPlugin.cpp:31
armarx::ManagedIceObject
The ManagedIceObject is the base class for all ArmarX objects.
Definition:
ManagedIceObject.h:163
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::plugins::KinematicUnitComponentPlugin
Definition:
KinematicUnitComponentPlugin.h:12
armarx::KinematicUnitComponentPluginUser::KinematicUnitComponentPluginUser
KinematicUnitComponentPluginUser()
Definition:
KinematicUnitComponentPlugin.cpp:44
ComponentPlugin.h
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition:
ArmarXTimeserver.cpp:28
armarx::KinematicUnitComponentPluginUser
Provides a ready-to-use KinematicUnit.
Definition:
KinematicUnitComponentPlugin.h:41
RobotAPI
libraries
RobotAPIComponentPlugins
KinematicUnitComponentPlugin.h
Generated on Sat Oct 12 2024 09:14:11 for armarx_documentation by
1.8.17