5#include <unordered_map>
21 Writer::store(
const std::unordered_map<core::StackLayer, aron::data::DictPtr>& stack,
22 const std::string& clientID,
29 for (
const auto& [layer,
data] : stack)
41 update.instancesData = {
data};
45 std::lock_guard g{writeMutex};
60 return "mem.nav.param.";
MemoryID withProviderSegmentName(const std::string &name) const
MemoryID withCoreSegmentName(const std::string &name) const
MemoryID withMemoryName(const std::string &name) const
MemoryID withEntityName(const std::string &name) const
MemoryID withTimestamp(Time time) const
CommitResult commit(const Commit &commit) const
Writes a Commit to the memory.
const Properties & properties() const
armem::client::Writer & memoryWriter()
Represents a point in time.
std::string propertyPrefix() const override
Properties defaultProperties() const override
bool store(const std::unordered_map< core::StackLayer, aron::data::DictPtr > &stack, const std::string &clientID, const armarx::core::time::DateTime ×tamp)
#define ARMARX_CHECK(expression)
Shortcut for ARMARX_CHECK_EXPRESSION.
#define ARMARX_ERROR
The logging level for unexpected behaviour, that must be fixed.
#define ARMARX_DEBUG
The logging level for output that is only interesting while debugging.
const simox::meta::EnumNames< StackLayer > StackLayerNames
This file is part of ArmarX.
constexpr const char * ParameterizationCoreSegmentName
constexpr const char * NavigationMemoryName
std::vector< std::string > allErrorMessages() const
A bundle of updates to be sent to the memory.
An update of an entity for a specific point in time.