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