RobotDefinition.h
Go to the documentation of this file.
1
/*
2
* This file is part of ArmarX.
3
*
4
* ArmarX is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2 as
6
* published by the Free Software Foundation.
7
*
8
* ArmarX is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*
16
* @package RobotAPI::ArmarXObjects::RobotNameService
17
* @author [Author Name] ( [Author Email] )
18
* @date 2018
19
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20
* GNU General Public License
21
*/
22
23
#pragma once
24
25
#include <map>
26
#include <mutex>
27
#include <string>
28
29
#include <
ArmarXCore/core/Component.h
>
30
31
#include <RobotAPI/interface/robot_name_service/RobotNameServiceInterface.h>
32
#include <
RobotAPI/libraries/robot_name_service/client/Plugin.h
>
33
#include <
RobotAPI/libraries/robot_name_service/core/Robot.h
>
34
35
namespace
armarx
36
{
37
/**
38
* @defgroup Component-RobotNameService RobotNameService
39
* @ingroup RobotAPI-Components
40
* A description of the component RobotNameService.
41
*
42
* @class RobotNameService
43
* @ingroup Component-RobotNameService
44
* @brief Brief description of class RobotNameService.
45
*
46
* Detailed description of class RobotNameService.
47
*/
48
class
RobotDefinition
:
49
virtual
public
armarx::Component
,
50
virtual
public
armarx::RobotNameServiceComponentPluginUser
51
{
52
public
:
53
/**
54
* @see armarx::ManagedIceObject::getDefaultName()
55
*/
56
std::string
57
getDefaultName
()
const override
58
{
59
return
"RobotDefinition"
;
60
}
61
62
protected
:
63
/**
64
* @see armarx::ManagedIceObject::onInitComponent()
65
*/
66
void
onInitComponent
()
override
;
67
68
/**
69
* @see armarx::ManagedIceObject::onConnectComponent()
70
*/
71
void
onConnectComponent
()
override
;
72
73
/**
74
* @see armarx::ManagedIceObject::onDisconnectComponent()
75
*/
76
void
onDisconnectComponent
()
override
;
77
78
/**
79
* @see armarx::ManagedIceObject::onExitComponent()
80
*/
81
void
onExitComponent
()
override
;
82
83
/**
84
* @see PropertyUser::createPropertyDefinitions()
85
*/
86
armarx::PropertyDefinitionsPtr
createPropertyDefinitions
()
override
;
87
};
88
}
// namespace armarx
armarx::RobotNameServiceComponentPluginUser
Definition:
Plugin.h:72
armarx::RobotDefinition::getDefaultName
std::string getDefaultName() const override
Definition:
RobotDefinition.h:57
Plugin.h
armarx::RobotDefinition::onConnectComponent
void onConnectComponent() override
Definition:
RobotDefinition.cpp:33
armarx::RobotDefinition::onInitComponent
void onInitComponent() override
Definition:
RobotDefinition.cpp:28
Component.h
Robot.h
armarx::Component
Baseclass for all ArmarX ManagedIceObjects requiring properties.
Definition:
Component.h:95
armarx::RobotDefinition::onExitComponent
void onExitComponent() override
Definition:
RobotDefinition.cpp:43
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::RobotDefinition::onDisconnectComponent
void onDisconnectComponent() override
Definition:
RobotDefinition.cpp:38
armarx::RobotDefinition
Definition:
RobotDefinition.h:48
armarx::RobotDefinition::createPropertyDefinitions
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
Definition:
RobotDefinition.cpp:48
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition:
ArmarXTimeserver.cpp:28
RobotAPI
components
RobotDefinition
RobotDefinition.h
Generated on Sat Oct 12 2024 09:14:06 for armarx_documentation by
1.8.17