Go to the documentation of this file.
12 Writer::store(
const std::unordered_map<core::StackLayer, aron::data::DictPtr>& stack,
13 const std::string& clientID,
20 for (
const auto& [layer,
data] : stack)
31 update.referencedTime = timestamp;
36 std::lock_guard g{writeMutex};
41 if (not updateResult.allSuccess())
45 return updateResult.allSuccess();
51 return "mem.nav.param.";
MemoryID withMemoryName(const std::string &name) const
A bundle of updates to be sent to the memory.
This file is part of ArmarX.
std::string propertyPrefix() const override
bool store(const std::unordered_map< core::StackLayer, aron::data::DictPtr > &stack, const std::string &clientID, const armarx::core::time::DateTime ×tamp)
const std::string NavigationMemoryName
#define ARMARX_CHECK(expression)
Shortcut for ARMARX_CHECK_EXPRESSION.
MemoryID withProviderSegmentName(const std::string &name) const
armem::client::Writer & memoryWriter()
const simox::meta::EnumNames< StackLayer > StackLayerNames
MemoryID withCoreSegmentName(const std::string &name) const
An update of an entity for a specific point in time.
CommitResult commit(const Commit &commit) const
Writes a Commit to the memory.
bool update(mongocxx::collection &coll, const nlohmann::json &query, const nlohmann::json &update)
Represents a point in time.
MemoryID withEntityName(const std::string &name) const
const std::string memoryName
Properties defaultProperties() const override
const Properties & properties() const
MemoryID withTimestamp(Time time) const
const std::string ParameterizationCoreSegmentName
const armem::MemoryID MemoryID