Skip to content
Snippets Groups Projects
Commit 049e9756 authored by Joana Plewnia's avatar Joana Plewnia
Browse files

Fix for query and store

- query and store needs to call directlyStore, otherwise contents are only put into the buffer but not saved
- tested in Simulation
parent dc8858a1
No related branches found
No related tags found
1 merge request!422Draft: Memory Viewer LTM Recording Progress bar
Pipeline #17255 passed
......@@ -393,7 +393,7 @@ namespace armarx::armem::server
output.success = true;
armem::wm::Memory m = armarx::fromIce<armem::wm::Memory>(directlStoreInput.memory);
longtermMemory->store(m);
longtermMemory->directlyStore(m);
return output;
}
......
......@@ -174,7 +174,7 @@ namespace armarx::armem::server::ltm::detail
return;
}
}
_store(memory);
_directlyStore(memory);
TIMING_END_STREAM(LTM_Memory_Append, ARMARX_DEBUG);
}
......@@ -295,6 +295,7 @@ namespace armarx::armem::server::ltm::detail
virtual void _loadAllReferences(armem::wm::Memory& memory) = 0;
virtual void _resolve(armem::wm::Memory& memory) = 0;
virtual void _store(const armem::wm::Memory& memory) = 0;
virtual void _directlyStore(const armem::wm::Memory& memory) = 0;
public:
// stuff for scenario parameters
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment