MemoryNameSystem.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::MemoryNameSystem
17 * @author Rainer Kartmann ( rainer dot kartmann at kit dot edu )
18 * @date 2020
19 * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20 * GNU General Public License
21 */
22
23#pragma once
24
26
28
29#include <RobotAPI/interface/armem/mns/MemoryNameSystemInterface.h>
31
32namespace armarx::armem
33{
34 /**
35 * @defgroup Component-MemoryNameSystem MemoryNameSystem
36 * @ingroup RobotAPI-Components
37 * A description of the component MemoryNameSystem.
38 *
39 * @class MemoryNameSystem
40 * @ingroup Component-MemoryNameSystem
41 * @brief Brief description of class MemoryNameSystem.
42 *
43 * Detailed description of class MemoryNameSystem.
44 */
46 virtual public armarx::Component,
49 {
50 public:
51 /// @see armarx::ManagedIceObject::getDefaultName()
52 std::string getDefaultName() const override;
53
54
55 // mns::MemoryNameSystemInterface interface
56 public:
57 mns::dto::RegisterServerResult registerServer(const mns::dto::RegisterServerInput& input,
58 const Ice::Current&) override;
59 mns::dto::RemoveServerResult removeServer(const mns::dto::RemoveServerInput& input,
60 const Ice::Current&) override;
61 // Others are inherited from ComponentPluginUser
62
63
64 // LightweightRemoteGuiComponentPluginUser interface
65 public:
66 void createRemoteGuiTab();
67 void RemoteGui_update() override;
68
69
70 protected:
71 /// @see PropertyUser::createPropertyDefinitions()
73
74 /// @see armarx::ManagedIceObject::onInitComponent()
75 void onInitComponent() override;
76
77 /// @see armarx::ManagedIceObject::onConnectComponent()
78 void onConnectComponent() override;
79
80 /// @see armarx::ManagedIceObject::onDisconnectComponent()
81 void onDisconnectComponent() override;
82
83 /// @see armarx::ManagedIceObject::onExitComponent()
84 void onExitComponent() override;
85
86
87 private:
88 struct Properties
89 {
90 };
91
92 Properties properties;
93
94 struct RemoteGuiTab : RemoteGui::Client::Tab
95 {
96 std::atomic_bool rebuild = false;
97 };
98
99 RemoteGuiTab tab;
100 };
101} // namespace armarx::armem
Baseclass for all ArmarX ManagedIceObjects requiring properties.
Definition Component.h:94
Brief description of class MemoryNameSystem.
mns::dto::RegisterServerResult registerServer(const mns::dto::RegisterServerInput &input, const Ice::Current &) override
mns::dto::RemoveServerResult removeServer(const mns::dto::RemoveServerInput &input, const Ice::Current &) override
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
std::string getDefaultName() const override
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.