GeneralPurposeMemory.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::GeneralPurposeMemory
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
25
26
#include <
ArmarXCore/core/Component.h
>
27
28
#include <
ArmarXGui/libraries/ArmarXGuiComponentPlugins/LightweightRemoteGuiComponentPlugin.h
>
29
30
#include <
RobotAPI/libraries/RobotAPIComponentPlugins/ArVizComponentPlugin.h
>
31
#include <
RobotAPI/libraries/armem/server/plugins/ReadWritePluginUser.h
>
32
33
namespace
armarx
34
{
35
/**
36
* @defgroup Component-GeneralPurposeMemory GeneralPurposeMemory
37
* @ingroup RobotAPI-Components
38
* A description of the component GeneralPurposeMemory.
39
*
40
* @class GeneralPurposeMemory
41
* @ingroup Component-GeneralPurposeMemory
42
* @brief Brief description of class GeneralPurposeMemory.
43
*
44
* Detailed description of class GeneralPurposeMemory.
45
*/
46
class
GeneralPurposeMemory
:
47
virtual
public
armarx::Component
,
48
virtual
public
armem::server::ReadWritePluginUser
49
{
50
public
:
51
GeneralPurposeMemory
();
52
53
/// @see armarx::ManagedIceObject::getDefaultName()
54
std::string
getDefaultName
()
const override
;
55
56
57
public
:
58
armem::data::AddSegmentsResult
addSegments
(
const
armem::data::AddSegmentsInput&
input
,
59
const
Ice::Current&)
override
;
60
61
62
protected
:
63
/// @see PropertyUser::createPropertyDefinitions()
64
armarx::PropertyDefinitionsPtr
createPropertyDefinitions
()
override
;
65
66
/// @see armarx::ManagedIceObject::onInitComponent()
67
void
onInitComponent
()
override
;
68
69
/// @see armarx::ManagedIceObject::onConnectComponent()
70
void
onConnectComponent
()
override
;
71
72
/// @see armarx::ManagedIceObject::onDisconnectComponent()
73
void
onDisconnectComponent
()
override
;
74
75
/// @see armarx::ManagedIceObject::onExitComponent()
76
void
onExitComponent
()
override
;
77
78
79
private
:
80
bool
addCoreSegmentOnUsage =
true
;
81
};
82
}
// namespace armarx
armarx::GeneralPurposeMemory::getDefaultName
std::string getDefaultName() const override
Definition:
GeneralPurposeMemory.cpp:47
ArVizComponentPlugin.h
armarx::GeneralPurposeMemory::createPropertyDefinitions
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
Definition:
GeneralPurposeMemory.cpp:39
ReadWritePluginUser.h
LightweightRemoteGuiComponentPlugin.h
armarx::GeneralPurposeMemory::addSegments
armem::data::AddSegmentsResult addSegments(const armem::data::AddSegmentsInput &input, const Ice::Current &) override
Definition:
GeneralPurposeMemory.cpp:74
armarx::GeneralPurposeMemory::GeneralPurposeMemory
GeneralPurposeMemory()
Definition:
GeneralPurposeMemory.cpp:34
armarx::aron::input
ReaderT::InputType & input
Definition:
rw.h:12
armarx::armem::server::plugins::ReadWritePluginUser
Base class of memory server components.
Definition:
ReadWritePluginUser.h:20
armarx::GeneralPurposeMemory::onConnectComponent
void onConnectComponent() override
Definition:
GeneralPurposeMemory.cpp:59
Component.h
armarx::Component
Baseclass for all ArmarX ManagedIceObjects requiring properties.
Definition:
Component.h:91
armarx::GeneralPurposeMemory::onExitComponent
void onExitComponent() override
Definition:
GeneralPurposeMemory.cpp:69
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::GeneralPurposeMemory::onDisconnectComponent
void onDisconnectComponent() override
Definition:
GeneralPurposeMemory.cpp:64
armarx::GeneralPurposeMemory::onInitComponent
void onInitComponent() override
Definition:
GeneralPurposeMemory.cpp:53
armarx::GeneralPurposeMemory
Brief description of class GeneralPurposeMemory.
Definition:
GeneralPurposeMemory.h:46
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition:
ArmarXTimeserver.cpp:27
RobotAPI
components
armem
server
GeneralPurposeMemory
GeneralPurposeMemory.h
Generated on Sat Apr 12 2025 09:13:32 for armarx_documentation by
1.8.17