TrajectoryPlayerComponentPlugin.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
ArmarXCore/core/ComponentPlugin.h
>
4
5
#include <RobotAPI/interface/components/TrajectoryPlayerInterface.h>
6
7
namespace
armarx
8
{
9
namespace
plugins
10
{
11
12
class
TrajectoryPlayerComponentPlugin
:
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
TrajectoryPlayerInterfacePrx
getTrajectoryPlayer
();
24
25
private
:
26
static
constexpr
const
char
* PROPERTY_NAME =
"TrajectoryPlayerName"
;
27
TrajectoryPlayerInterfacePrx _trajectoryPlayer;
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 TrajectoryPlayer.
39
*/
40
class
TrajectoryPlayerComponentPluginUser
:
virtual
public
ManagedIceObject
41
{
42
public
:
43
TrajectoryPlayerComponentPluginUser
();
44
TrajectoryPlayerInterfacePrx
getTrajectoryPlayer
();
45
46
private
:
47
armarx::plugins::TrajectoryPlayerComponentPlugin
* plugin =
nullptr
;
48
};
49
50
}
// namespace armarx
51
52
namespace
armarx
53
{
54
namespace
plugins
55
{
56
// Legacy typedef.
57
using
TrajectoryPlayerComponentPluginUser
=
armarx::TrajectoryPlayerComponentPluginUser
;
58
}
// namespace plugins
59
}
// 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::plugins::TrajectoryPlayerComponentPluginUser
armarx::TrajectoryPlayerComponentPluginUser TrajectoryPlayerComponentPluginUser
Definition:
TrajectoryPlayerComponentPlugin.h:57
plugins
ManagedIceObject.h
armarx::ComponentPlugin
Definition:
ComponentPlugin.h:37
armarx::TrajectoryPlayerComponentPluginUser::getTrajectoryPlayer
TrajectoryPlayerInterfacePrx getTrajectoryPlayer()
Definition:
TrajectoryPlayerComponentPlugin.cpp:52
armarx::plugins::TrajectoryPlayerComponentPlugin::preOnInitComponent
void preOnInitComponent() override
Definition:
TrajectoryPlayerComponentPlugin.cpp:11
armarx::TrajectoryPlayerComponentPluginUser
Provides a ready-to-use TrajectoryPlayer.
Definition:
TrajectoryPlayerComponentPlugin.h:40
armarx::ManagedIceObject
The ManagedIceObject is the base class for all ArmarX objects.
Definition:
ManagedIceObject.h:162
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::plugins::TrajectoryPlayerComponentPlugin::preOnConnectComponent
void preOnConnectComponent() override
Definition:
TrajectoryPlayerComponentPlugin.cpp:17
armarx::TrajectoryPlayerComponentPluginUser::TrajectoryPlayerComponentPluginUser
TrajectoryPlayerComponentPluginUser()
Definition:
TrajectoryPlayerComponentPlugin.cpp:46
ComponentPlugin.h
armarx::plugins::TrajectoryPlayerComponentPlugin
Definition:
TrajectoryPlayerComponentPlugin.h:12
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition:
ArmarXTimeserver.cpp:27
RobotAPI
libraries
RobotAPIComponentPlugins
TrajectoryPlayerComponentPlugin.h
Generated on Sat Apr 12 2025 09:13:38 for armarx_documentation by
1.8.17