IndexMemory.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::IndexMemory
17 * @author Rainer Kartmann ( rainer dot kartmann at kit dot edu )
18 * @date 2022
19 * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20 * GNU General Public License
21 */
22
23#pragma once
24
25
27
29
31
32namespace armarx
33{
34 /**
35 * @defgroup Component-IndexMemory IndexMemory
36 * @ingroup RobotAPI-Components
37 * A description of the component IndexMemory.
38 *
39 * @class IndexMemory
40 * @ingroup Component-IndexMemory
41 * @brief Brief description of class IndexMemory.
42 *
43 * Detailed description of class IndexMemory.
44 */
46 virtual public armarx::Component,
49 {
50 public:
51 std::string getDefaultName() const override;
52
53
54 // LightweightRemoteGuiComponentPluginUser interface
55 public:
56 void createRemoteGuiTab();
57 void RemoteGui_update() override;
58
59
60 protected:
62
63 void onInitComponent() override;
64 void onConnectComponent() override;
65 void onDisconnectComponent() override;
66 void onExitComponent() override;
67
68
69 private:
70 struct Properties
71 {
72 int maxHistorySize = 1024;
73 };
74
75 Properties properties;
76
77 struct RemoteGuiTab : RemoteGui::Client::Tab
78 {
79 };
80
81 RemoteGuiTab tab;
82 };
83} // namespace armarx
Baseclass for all ArmarX ManagedIceObjects requiring properties.
Definition Component.h:94
Brief description of class IndexMemory.
Definition IndexMemory.h:49
void onInitComponent() override
Pure virtual hook for the subclass.
void onDisconnectComponent() override
Hook for subclass.
void RemoteGui_update() override
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
void onConnectComponent() override
Pure virtual hook for the subclass.
void onExitComponent() override
Hook for subclass.
std::string getDefaultName() const override
Retrieve default name of component.
Base class of memory server components.
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.