Go to the documentation of this file.
30 #include <ArmarXCore/interface/core/Profiler.h>
34 #include <RobotAPI/interface/skills/SkillMemoryInterface.h>
36 #include <RobotAPI/libraries/armem_skills/aron/Statechart.aron.generated.h>
43 #include <RobotAPI/libraries/skills/core/aron/FluxioSkill.aron.generated.h>
61 virtual public skills::dti::SkillMemoryInterface,
76 const Ice::Current&)
override;
78 const ProfilerStatechartTransitionWithParametersList&,
79 const Ice::Current&)
override;
82 void addProvider(
const skills::manager::dto::ProviderInfo& info,
83 const Ice::Current& current)
override;
85 void removeProvider(
const skills::manager::dto::ProviderID& provider,
86 const Ice::Current& current)
override;
88 skills::manager::dto::SkillStatusUpdate
89 executeSkill(
const skills::manager::dto::SkillExecutionRequest& info,
90 const Ice::Current& current)
override;
93 skills::manager::dto::SkillExecutionID
95 const Ice::Current& current)
override;
98 const skills::callback::dto::ProviderID&
id,
99 const Ice::Current& current)
override;
101 IceUtil::Optional<skills::manager::dto::SkillStatusUpdate>
103 const Ice::Current& current)
override;
105 skills::manager::dto::SkillStatusUpdateMap
109 armem::data::CommitResult
commit(
const armem::data::Commit&
commit,
110 const Ice::Current&)
override;
116 void saveSkill(
const skills::manager::arondto::FluxioSkill& skillt)
override;
117 std::optional<std::vector<skills::manager::arondto::FluxioSkill>>
loadCompositeSkills()
override;
120 void addProfile(
const skills::manager::arondto::FluxioProfile& profile)
override;
121 std::optional<std::vector<skills::manager::arondto::FluxioProfile>>
loadProfiles()
override;
141 static constexpr
const char* MemoryName =
"Skill";
void saveSkill(const skills::manager::arondto::FluxioSkill &skillt) override
void removeProvider(const skills::manager::dto::ProviderID &provider, const Ice::Current ¤t) override
void onExitComponent() override
void addProvider(const skills::manager::dto::ProviderInfo &info, const Ice::Current ¤t) override
IceUtil::Optional< skills::manager::dto::SkillStatusUpdate > getSkillExecutionStatus(const skills::manager::dto::SkillExecutionID &executionId, const Ice::Current ¤t) override
void onDisconnectComponent() override
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
std::string getDefaultName() const override
void onConnectComponent() override
std::optional< std::vector< skills::manager::arondto::FluxioProfile > > loadProfiles() override
void reportStatechartTransitionWithParametersList(const ProfilerStatechartTransitionWithParametersList &, const Ice::Current &) override
armem::data::CommitResult commit(const armem::data::Commit &commit, const Ice::Current &) override
void reportStatechartTransitionWithParameters(const ProfilerStatechartTransitionWithParameters &, const Ice::Current &) override
void updateStatusForSkill(const skills::provider::dto::SkillStatusUpdate &update, const skills::callback::dto::ProviderID &id, const Ice::Current ¤t) override
Base class of memory server components.
std::optional< std::vector< skills::manager::arondto::FluxioSkill > > loadCompositeSkillsOfProvider(const std::string &providerId) override
void addProfile(const skills::manager::arondto::FluxioProfile &profile) override
skills::manager::dto::SkillExecutionID executeSkillAsync(const skills::manager::dto::SkillExecutionRequest &info, const Ice::Current ¤t) override
void onInitComponent() override
Brief description of class SkillsMemory.
bool update(mongocxx::collection &coll, const nlohmann::json &query, const nlohmann::json &update)
Baseclass for all ArmarX ManagedIceObjects requiring properties.
std::optional< std::vector< skills::manager::arondto::FluxioSkill > > loadCompositeSkills() override
skills::manager::dto::SkillStatusUpdateMap getSkillExecutionStatuses(const Ice::Current ¤t) override
skills::manager::dto::SkillStatusUpdate executeSkill(const skills::manager::dto::SkillExecutionRequest &info, const Ice::Current ¤t) override
This file offers overloads of toIce() and fromIce() functions for STL container types.