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
30
31#include <RobotAPI/interface/robot_name_service/RobotNameServiceInterface.h>
34
35namespace 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 */
49 virtual public armarx::Component,
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 */
87 };
88} // namespace armarx
Baseclass for all ArmarX ManagedIceObjects requiring properties.
Definition Component.h:94
void onInitComponent() override
void onDisconnectComponent() override
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
void onConnectComponent() override
void onExitComponent() override
std::string getDefaultName() const override
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.