|
using | Base = Skill |
|
using | CallbackT = std::function< void(const SkillStatus s, const armarx::aron::data::DictPtr &)> |
|
armarx::core::time::DateTime | exited = armarx::core::time::DateTime::Invalid() |
|
armarx::core::time::DateTime | started = armarx::core::time::DateTime::Now() |
|
ExitResult | exit () final |
| Override this method with the actual implementation. More...
|
|
virtual ExitResult | exit (const ExitInput &in) |
|
InitResult | init () final |
| Override this method with the actual implementation. More...
|
|
virtual InitResult | init (const InitInput &in) |
|
MainResult | main () final |
| Override this method with the actual implementation. The callback is for status updates to the calling instance. More...
|
|
std::optional< TerminatedSkillStatusUpdate > | callSubskill (const SkillID &skillId) |
| Call a subskill with the given ID and its default parameters. More...
|
|
std::optional< TerminatedSkillStatusUpdate > | callSubskill (const SkillID &skillId, const aron::data::DictPtr ¶meters) |
| Call a subskill with the given ID and parameters. More...
|
|
template<class ParameterT > |
std::optional< TerminatedSkillStatusUpdate > | callSubskill (const SkillID &skillId, const ParameterT ¶meters) |
| Call a subskill with the given ID and parameters. More...
|
|
std::optional< TerminatedSkillStatusUpdate > | callSubskill (const SkillID &skillId, std::function< void(aron::data::DictPtr ¶meters)> parametersFunction) |
| Call a subskill with parameters based on the default parameters. More...
|
|
template<class ParameterT > |
std::optional< TerminatedSkillStatusUpdate > | callSubskill (const SkillID &skillId, std::function< void(ParameterT ¶meters)> parametersFunction) |
| Call a subskill with parameters based on the default parameters. More...
|
|
std::optional< TerminatedSkillStatusUpdate > | callSubskill (const skills::SkillProxy &proxy) |
| Call a subskill with default parameters and block until the subskill terminates. More...
|
|
std::optional< TerminatedSkillStatusUpdate > | callSubskill (const skills::SkillProxy &proxy, const aron::data::DictPtr ¶meters) |
| Call a subskill with given parameters and block until the subskill terminates. More...
|
|
skills::SkillExecutionID | callSubskillAsync (const skills::SkillProxy &proxy) |
| Similar to callSubskill but non-blocking. More...
|
|
skills::SkillExecutionID | callSubskillAsync (const skills::SkillProxy &proxy, const aron::data::DictPtr ¶meters) |
| Similar to callSubskill but non-blocking. More...
|
|
void | installConditionWithCallback (std::function< bool()> &&f, std::function< void()> &&cb) |
| install a condition which is frequently checked from the conditionCheckingThread More...
|
|
void | notifyTimeoutReached () |
|
virtual void | onStopRequested () |
|
virtual void | onTimeoutReached () |
| Override these methods if you want to do something special when notification comes. More...
|
|
virtual PrepareResult | prepare () |
| Override this method with the actual implementation. More...
|
|
void | throwIfSkillShouldTerminate (const std::function< void()> &do_before, const std::string &abortedMessage="") |
|
void | throwIfSkillShouldTerminate (const std::string &abortedMessage="") |
|
bool | checkLogLevel (MessageTypeT level) const |
|
const LogSenderPtr & | getLogSender () const |
| Retrieve log sender. More...
|
|
LogSenderPtr | loghelper (const char *file, int line, const char *function) const |
|
static MainResult | MakeAbortedResult () |
|
static MainResult | MakeFailedResult () |
|
static MainResult | MakeSucceededResult (aron::data::DictPtr data=nullptr) |
|
CallbackT | callback = CallbackT() |
|
std::atomic_bool | constructing = true |
|
SkillDescription | description |
|
std::string | executorName = "" |
|
std::atomic_bool | exiting = false |
|
std::atomic_bool | finished = false |
|
std::atomic_bool | initializing = false |
|
manager::dti::SkillManagerInterfacePrx | manager = nullptr |
|
armarx::aron::data::DictPtr | parameters = nullptr |
|
std::mutex | parametersMutex |
|
std::atomic_bool | preparing = false |
|
std::atomic_bool | running = false |
|
std::atomic_bool | stopped = false |
|
std::atomic_bool | timeoutReached = false |
|
MessageTypeT | minimumLoggingLevel |
|
SpamFilterDataPtr | spamFilter |
|
LogTag | tag |
|
Definition at line 31 of file Callback.h.