10 #include <RobotAPI/interface/skills/SkillManagerInterface.h>
19 class SkillManagerComponentPluginUser;
27 using ComponentPlugin::ComponentPlugin;
54 std::optional<skills::SkillStatusUpdate>
63 [[ noreturn ]]
void handleExceptionNonLockingThrow(
const char* funcName,
const std::exception& e,
skills::ProviderID providerId,
64 bool eraseSkillProvider =
true);
66 std::optional<std::map<skills::ProviderID, skills::provider::dti::SkillProviderInterfacePrx>::iterator>
67 handleExceptionNonLocking(
const char* funcName,
const std::exception& e,
skills::ProviderID providerId,
68 bool eraseSkillProvider =
true);
70 skills::manager::dti::SkillManagerInterfacePrx myPrx;
72 std::mutex skillProviderMapMutex;
73 std::map<skills::ProviderID, skills::provider::dti::SkillProviderInterfacePrx>
84 virtual public skills::manager::dti::SkillManagerInterface
89 void addProvider(
const skills::manager::dto::ProviderInfo& providerInfo,
90 const Ice::Current& current)
override;
91 void removeProvider(
const skills::manager::dto::ProviderID& provider,
92 const Ice::Current& current)
override;
94 skills::manager::dto::SkillStatusUpdate
95 executeSkill(
const skills::manager::dto::SkillExecutionRequest& info,
96 const Ice::Current& current)
override;
98 skills::manager::dto::SkillExecutionID
99 executeSkillAsync(
const skills::manager::dto::SkillExecutionRequest& skillExecutionRequest,
100 const Ice::Current& current)
override;
102 skills::provider::dto::ParameterUpdateResult
105 const Ice::Current& current)
override;
108 const skills::callback::dto::ProviderID&
id,
109 const Ice::Current& current)
override;
111 skills::provider::dto::AbortSkillResult
112 abortSkill(
const skills::manager::dto::SkillExecutionID&
id,
113 const Ice::Current& current)
override;
115 skills::provider::dto::AbortSkillResult
117 const Ice::Current& current)
override;
120 skills::manager::dto::SkillDescriptionMap
123 IceUtil::Optional<skills::manager::dto::SkillDescription>
125 const Ice::Current& current)
override;
127 IceUtil::Optional<skills::manager::dto::SkillStatusUpdate>
129 const Ice::Current& current)
override;
131 skills::manager::dto::SkillStatusUpdateMap