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
27
29
32
33namespace 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 */
47 virtual public armarx::Component,
49 {
50 public:
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()
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
Baseclass for all ArmarX ManagedIceObjects requiring properties.
Definition Component.h:94
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
armem::data::AddSegmentsResult addSegments(const armem::data::AddSegmentsInput &input, const Ice::Current &) override
std::string getDefaultName() const override
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.