#include <RobotAPI/libraries/skills/provider/Skill.h>
Definition at line 29 of file Skill.h.
◆ CallbackT
◆ Skill() [1/2]
◆ Skill() [2/2]
◆ ~Skill()
◆ _exit()
◆ _init()
◆ _main()
◆ checkWhetherSkillShouldStopASAP()
bool checkWhetherSkillShouldStopASAP |
( |
| ) |
const |
◆ executeFullSkill()
Do init, main, exit together.
Definition at line 186 of file Skill.cpp.
◆ exitSkill()
◆ getSkillId()
The id of the skill (combination of provider and name must be unique).
Definition at line 74 of file Skill.h.
◆ initSkill()
◆ installConditionWithCallback()
void installConditionWithCallback |
( |
std::function< bool()> && |
f, |
|
|
std::function< void()> && |
cb |
|
) |
| |
|
protected |
install a condition which is frequently checked from the conditionCheckingThread
Definition at line 15 of file Skill.cpp.
◆ isSkillAvailable()
bool isSkillAvailable |
( |
const InitInput & |
in | ) |
const |
◆ mainOfSkill()
◆ notifySkillToStopASAP()
void notifySkillToStopASAP |
( |
| ) |
|
◆ notifyTimeoutReached()
void notifyTimeoutReached |
( |
| ) |
|
|
protected |
◆ resetSkill()
◆ waitForDependenciesOfSkill()
void waitForDependenciesOfSkill |
( |
| ) |
|
◆ callbacks
std::vector<std::pair<std::function<bool()>, std::function<void()> > > callbacks |
|
protected |
active conditions. First is condition (bool return func)
Definition at line 161 of file Skill.h.
◆ callbacksMutex
std::mutex callbacksMutex |
|
mutableprotected |
◆ description
The descripion of the skill, which will be available via the provider/manager.
Definition at line 147 of file Skill.h.
◆ exited
◆ manager
manager::dti::SkillManagerInterfacePrx manager = nullptr |
proxy that called the skills. Will be set from provider and is const afterwards
Definition at line 154 of file Skill.h.
◆ providerName
std::string providerName = "INVALID PROVIDER NAME" |
the provider that owns this skill. Will be set from provider and is const afterwards
Definition at line 157 of file Skill.h.
◆ running
std::atomic_bool running = false |
|
protected |
Use conditions this way.
Definition at line 165 of file Skill.h.
◆ started
running params
Definition at line 150 of file Skill.h.
◆ stopped
std::atomic_bool stopped = false |
|
protected |
◆ timeoutReached
std::atomic_bool timeoutReached = false |
|
protected |
The documentation for this class was generated from the following files:
- RobotAPI/libraries/skills/provider/Skill.h
- RobotAPI/libraries/skills/provider/Skill.cpp