GeneralPurposeMemory.cpp
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 #include "GeneralPurposeMemory.h"
24 
26 
27 #include <SimoxUtility/algorithm/string.h>
28 
31 
32 
33 namespace armarx
34 {
36  {
37  }
38 
40  {
42  return defs;
43  }
44 
45 
47  {
48  return "GeneralPurposeMemory";
49  }
50 
51 
53  {
55  }
56 
57 
59  {
60  }
61 
62 
64  {
65  }
66 
67 
69  {
70  }
71 
72 
73 
74  armem::data::AddSegmentsResult GeneralPurposeMemory::addSegments(const armem::data::AddSegmentsInput& input, const Ice::Current&)
75  {
76  // Allowing adding core segments.
77  armem::data::AddSegmentsResult result = ReadWritePluginUser::addSegments(input, addCoreSegmentOnUsage);
78  return result;
79  }
80 
81 }
armarx::GeneralPurposeMemory::getDefaultName
std::string getDefaultName() const override
Definition: GeneralPurposeMemory.cpp:46
armarx::GeneralPurposeMemory::createPropertyDefinitions
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
Definition: GeneralPurposeMemory.cpp:39
armarx::armem::server::plugins::ReadWritePluginUser::setMemoryName
void setMemoryName(const std::string &memoryName)
Definition: ReadWritePluginUser.cpp:25
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:35
MemoryRemoteGui.h
armarx::aron::input
ReaderT::InputType & input
Definition: rw.h:19
error.h
armarx::GeneralPurposeMemory::onConnectComponent
void onConnectComponent() override
Definition: GeneralPurposeMemory.cpp:58
ExpressionException.h
armarx::Component::getConfigIdentifier
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
Definition: Component.cpp:74
GeneralPurposeMemory.h
armarx::GeneralPurposeMemory::onExitComponent
void onExitComponent() override
Definition: GeneralPurposeMemory.cpp:68
armarx::ComponentPropertyDefinitions
Default component property definition container.
Definition: Component.h:70
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::GeneralPurposeMemory::onDisconnectComponent
void onDisconnectComponent() override
Definition: GeneralPurposeMemory.cpp:63
armarx::ManagedIceObject::getName
std::string getName() const
Retrieve name of object.
Definition: ManagedIceObject.cpp:107
armarx::GeneralPurposeMemory::onInitComponent
void onInitComponent() override
Definition: GeneralPurposeMemory.cpp:52
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28