Skip to content
Snippets Groups Projects

ArMem: Revice get/find interface

Merged Rainer Kartmann requested to merge armem/get-find-interface into armem/dev
112 files
+ 3209
3385
Compare changes
  • Side-by-side
  • Inline
Files
112
@@ -60,8 +60,7 @@ namespace armarx
void ExampleMemory::onInitComponent()
{
workingMemory.name() = p.memoryName;
longtermMemory.name() = p.memoryName;
this->setMemoryName(p.memoryName);
// Usually, the memory server will specify a number of core segments with a specific aron type.
workingMemory.addCoreSegment("ExampleData", armem::example::ExampleData::toAronType());
@@ -70,7 +69,11 @@ namespace armarx
bool trim = true;
p.core.defaultCoreSegments = simox::alg::split(p.core._defaultSegmentsStr, ",", trim);
p.core._defaultSegmentsStr.clear();
workingMemory.addCoreSegments(p.core.defaultCoreSegments);
for (const std::string& name : p.core.defaultCoreSegments)
{
workingMemory.addCoreSegment(name);
}
}
void ExampleMemory::onConnectComponent()
Loading