Go to the documentation of this file.
5 #include <SimoxUtility/algorithm/string.h>
14 #include <RobotAPI/libraries/armem_skills/aron/Skill.aron.generated.h>
18 #include <RobotAPI/libraries/skills/core/aron/FluxioSkill.aron.generated.h>
30 const std::string& prefix)
61 std::optional<std::vector<skills::manager::arondto::FluxioSkill>>
64 std::vector<skills::manager::arondto::FluxioSkill>
ret;
79 auto skill = instance.
dataAs<skills::manager::arondto::FluxioSkill>();
90 std::optional<std::vector<skills::manager::arondto::FluxioSkill>>
93 std::vector<skills::manager::arondto::FluxioSkill>
ret;
105 data.forEachInstance(
108 auto skill = instance.
dataAs<skills::manager::arondto::FluxioSkill>();
113 ret.push_back(skill);
void allLatestInCoreSegment(const MemoryID &coreSegmentID)
Get latest snapshots from all entities in all provider segments in a core segment.
ReaderT::InputType T & ret
This file is part of ArmarX.
void addSkill(const skills::manager::arondto::FluxioSkill &skill)
wm::Memory memory
The slice of the memory that matched the query.
std::optional< std::vector< skills::manager::arondto::FluxioSkill > > getSkills() const
std::vector< aron::data::DictPtr > instancesData
The entity data.
A bundle of updates to be sent to the memory.
Client-side working entity instance.
Helps connecting a Memory server to the Ice interface.
ComposedSkillLibraryCoreSegment(armem::server::MemoryToIceAdapter &iceMemory)
QueryInput buildQueryInput() const
float confidence
An optional confidence, may be used for things like decay.
std::optional< std::vector< skills::manager::arondto::FluxioSkill > > getSkillsOfProvider(const std::string &providerId) const
Time arrivedTime
Time when this update arrived at the memory server.
AronDtoT dataAs() const
Get the data converted to a generated Aron DTO class.
MemoryID withProviderSegmentName(const std::string &name) const
virtual void init() override
void allLatestInProviderSegment(const MemoryID &providerSegmentID)
Get latest snapshots from all entities in a provider segment.
Client-side working memory.
An update of an entity for a specific point in time.
Time referencedTime
Time when this entity update was created (e.g.
MemoryID withEntityName(const std::string &name) const
MemoryToIceAdapter & iceMemory
void setDefaultMaxHistorySize(int64_t maxHistorySize)
The query::Builder class provides a fluent-style specification of hierarchical queries.
MemoryID entityID
The entity's ID.
virtual void defineProperties(armarx::PropertyDefinitionsPtr defs, const std::string &prefix="") override
Time sentTime
Time when this update was sent to the memory server.
data::CommitResult commit(const data::Commit &commitIce, Time timeArrived)
query::data::Result query(const armem::query::data::Input &input)
void defineProperties(PropertyDefinitionsPtr defs, const std::string &prefix)