|
|
#include <RobotAPI/libraries/skills/core/SkillProxy.h>
Inheritance diagram for SkillProxy:Public Member Functions | |
| bool | abortSkill (const SkillExecutionID &executionId) const |
| ask skill to abort ASAP. Blocks until skill stopped More... | |
| bool | abortSkillAsync (const SkillExecutionID &executionId) const |
| ask skill to abort ASAP More... | |
| TerminatedSkillStatusUpdate | executeSkill (const std::string &executorName, const aron::data::DictPtr ¶ms=nullptr) const |
| execute a skill and block until skill terminates More... | |
| SkillExecutionID | executeSkillAsync (const std::string &executorName, const aron::data::DictPtr ¶ms=nullptr) const |
| execute a skill. Do not block during execution More... | |
| aron::data::DictPtr | getRootProfileParameters () const |
| get the default parameters of the skill. TODO: Skill profiles in memory! More... | |
| SkillDescription | getSkillDescription () const |
| get the skill description More... | |
| SkillID | getSkillId () const |
| get the skill id from the skill description More... | |
| std::optional< TerminatedSkillStatusUpdate > | join (const SkillExecutionID &executionId) const |
| poll execution status and block until its null or terminated More... | |
| SkillProxy ()=delete | |
| We remove the default constructor as every skill proxy requires a manager. More... | |
| SkillProxy (const manager::dti::SkillManagerInterfacePrx &manager, const SkillDescription &skillDesc) | |
| set the proxy using a skill description More... | |
| SkillProxy (const manager::dti::SkillManagerInterfacePrx &manager, const SkillID &skillId) | |
| set the skill proxy using a skillId. Queries the manager to get the description. More... | |
| SkillProxy (const SkillProxy &o)=default | |
| copy ctor More... | |
Public Member Functions inherited from Logging | |
| SpamFilterDataPtr | deactivateSpam (float deactivationDurationSec=10.0f, const std::string &identifier="", bool deactivate=true) const |
| disables the logging for the current line for the given amount of seconds. More... | |
| MessageTypeT | getEffectiveLoggingLevel () const |
| Logging () | |
| void | setLocalMinimumLoggingLevel (MessageTypeT level) |
| With setLocalMinimumLoggingLevel the minimum verbosity-level of log-messages can be set. More... | |
| void | setTag (const LogTag &tag) |
| void | setTag (const std::string &tagName) |
| virtual | ~Logging () |
Protected Attributes | |
| manager::dti::SkillManagerInterfacePrx | manager |
| SkillDescription | skillDescription |
Protected Attributes inherited from Logging | |
| MessageTypeT | minimumLoggingLevel |
| SpamFilterDataPtr | spamFilter |
| LogTag | tag |
Additional Inherited Members | |
Protected Member Functions inherited from Logging | |
| bool | checkLogLevel (MessageTypeT level) const |
| const LogSenderPtr & | getLogSender () const |
| Retrieve log sender. More... | |
| LogSenderPtr | loghelper (const char *file, int line, const char *function) const |
Definition at line 13 of file SkillProxy.h.
|
delete |
We remove the default constructor as every skill proxy requires a manager.
| SkillProxy | ( | const manager::dti::SkillManagerInterfacePrx & | manager, |
| const SkillID & | skillId | ||
| ) |
set the skill proxy using a skillId. Queries the manager to get the description.
Definition at line 12 of file SkillProxy.cpp.
Here is the call graph for this function:| SkillProxy | ( | const manager::dti::SkillManagerInterfacePrx & | manager, |
| const SkillDescription & | skillDesc | ||
| ) |
set the proxy using a skill description
Definition at line 32 of file SkillProxy.cpp.
Here is the call graph for this function:
|
default |
copy ctor
| bool abortSkill | ( | const SkillExecutionID & | executionId | ) | const |
ask skill to abort ASAP. Blocks until skill stopped
Definition at line 109 of file SkillProxy.cpp.
| bool abortSkillAsync | ( | const SkillExecutionID & | executionId | ) | const |
ask skill to abort ASAP
Definition at line 117 of file SkillProxy.cpp.
Here is the caller graph for this function:| TerminatedSkillStatusUpdate executeSkill | ( | const std::string & | executorName, |
| const aron::data::DictPtr & | params = nullptr |
||
| ) | const |
execute a skill and block until skill terminates
Definition at line 53 of file SkillProxy.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| SkillExecutionID executeSkillAsync | ( | const std::string & | executorName, |
| const aron::data::DictPtr & | params = nullptr |
||
| ) | const |
execute a skill. Do not block during execution
Definition at line 67 of file SkillProxy.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| aron::data::DictPtr getRootProfileParameters | ( | ) | const |
get the default parameters of the skill. TODO: Skill profiles in memory!
Definition at line 125 of file SkillProxy.cpp.
Here is the caller graph for this function:| SkillDescription getSkillDescription | ( | ) | const |
get the skill description
Definition at line 41 of file SkillProxy.cpp.
| SkillID getSkillId | ( | ) | const |
get the skill id from the skill description
Definition at line 47 of file SkillProxy.cpp.
| std::optional< TerminatedSkillStatusUpdate > join | ( | const SkillExecutionID & | executionId | ) | const |
poll execution status and block until its null or terminated
Definition at line 81 of file SkillProxy.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 61 of file SkillProxy.h.
|
protected |
Definition at line 62 of file SkillProxy.h.