TrajectoryPlayerComponentPlugin.cpp
Go to the documentation of this file.
1
#include "
TrajectoryPlayerComponentPlugin.h
"
2
3
#include <
ArmarXCore/core/Component.h
>
4
5
namespace
armarx
6
{
7
namespace
plugins
8
{
9
10
void
11
TrajectoryPlayerComponentPlugin::preOnInitComponent
()
12
{
13
parent<Component>().usingProxyFromProperty(PROPERTY_NAME);
14
}
15
16
void
17
TrajectoryPlayerComponentPlugin::preOnConnectComponent
()
18
{
19
parent<Component>().getProxyFromProperty(_trajectoryPlayer, PROPERTY_NAME);
20
}
21
22
void
23
TrajectoryPlayerComponentPlugin::postCreatePropertyDefinitions
(
24
armarx::PropertyDefinitionsPtr
& properties)
25
{
26
if
(!properties->hasDefinition(PROPERTY_NAME))
27
{
28
properties->defineOptionalProperty<std::string>(
29
PROPERTY_NAME,
"TrajectoryPlayer"
,
"Name of the TrajectoryPlayer"
);
30
}
31
}
32
33
TrajectoryPlayerInterfacePrx
34
TrajectoryPlayerComponentPlugin::getTrajectoryPlayer
()
35
{
36
return
_trajectoryPlayer;
37
}
38
39
40
}
// namespace plugins
41
}
// namespace armarx
42
43
namespace
armarx
44
{
45
46
TrajectoryPlayerComponentPluginUser::TrajectoryPlayerComponentPluginUser
()
47
{
48
addPlugin
(plugin);
49
}
50
51
TrajectoryPlayerInterfacePrx
52
TrajectoryPlayerComponentPluginUser::getTrajectoryPlayer
()
53
{
54
return
plugin->
getTrajectoryPlayer
();
55
}
56
57
58
}
// namespace armarx
armarx::plugins::TrajectoryPlayerComponentPlugin::postCreatePropertyDefinitions
void postCreatePropertyDefinitions(PropertyDefinitionsPtr &properties) override
Definition:
TrajectoryPlayerComponentPlugin.cpp:23
armarx::plugins::TrajectoryPlayerComponentPlugin::getTrajectoryPlayer
TrajectoryPlayerInterfacePrx getTrajectoryPlayer()
Definition:
TrajectoryPlayerComponentPlugin.cpp:34
armarx::ManagedIceObject::addPlugin
PluginT * addPlugin(const std::string prefix="", ParamsT &&... params)
Definition:
ManagedIceObject.h:186
plugins
armarx::TrajectoryPlayerComponentPluginUser::getTrajectoryPlayer
TrajectoryPlayerInterfacePrx getTrajectoryPlayer()
Definition:
TrajectoryPlayerComponentPlugin.cpp:52
armarx::plugins::TrajectoryPlayerComponentPlugin::preOnInitComponent
void preOnInitComponent() override
Definition:
TrajectoryPlayerComponentPlugin.cpp:11
Component.h
IceUtil::Handle< class PropertyDefinitionContainer >
TrajectoryPlayerComponentPlugin.h
armarx::plugins::TrajectoryPlayerComponentPlugin::preOnConnectComponent
void preOnConnectComponent() override
Definition:
TrajectoryPlayerComponentPlugin.cpp:17
armarx::TrajectoryPlayerComponentPluginUser::TrajectoryPlayerComponentPluginUser
TrajectoryPlayerComponentPluginUser()
Definition:
TrajectoryPlayerComponentPlugin.cpp:46
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition:
ArmarXTimeserver.cpp:27
RobotAPI
libraries
RobotAPIComponentPlugins
TrajectoryPlayerComponentPlugin.cpp
Generated on Sat Apr 12 2025 09:13:38 for armarx_documentation by
1.8.17