16#include <armarx/navigation/human/aron/Human.aron.generated.h>
28 const std::string& providerName,
31 std::lock_guard g{writeMutex};
36 if (not result.success)
45 const auto entityID = providerId.withEntityName(
"humans").withTimestamp(
timestamp);
48 update.entityID = entityID;
50 std::transform(humans.begin(),
52 std::back_inserter(update.instancesData),
55 navigation::human::arondto::Human dto;
80 const std::string& providerName,
83 std::lock_guard g{writeMutex};
88 if (not result.success)
97 const auto entityID = providerId.withEntityName(
"groups").withTimestamp(
timestamp);
100 update.entityID = entityID;
102 std::transform(groups.begin(),
104 std::back_inserter(update.instancesData),
107 navigation::human::arondto::HumanGroup dto;
132 return "mem.nav.human.";
135 armarx::armem::client::util::SimpleWriterBase::SimpleWriterBase::Properties
data::AddSegmentResult addSegment(const std::string &coreSegmentName, const std::string &providerSegmentName, bool clearWhenExists=false) const
CommitResult commit(const Commit &commit) const
Writes a Commit to the memory.
armem::client::Writer & memoryWriter()
bool store(const armarx::navigation::human::Humans &humans, const std::string &providerName, const armem::Time ×tamp)
Properties defaultProperties() const override
std::string propertyPrefix() const override
#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.
armarx::core::time::DateTime Time
std::shared_ptr< Dict > DictPtr
std::vector< Human > Humans
std::vector< HumanGroup > HumanGroups
constexpr const char * HumanCoreSegmentName
constexpr const char * NavigationMemoryName
Result of an EntityUpdate.
An update of an entity for a specific point in time.