|
#include <RobotAPI/libraries/skills/provider/SkillFactory.h>
Public Types | |
using | FunctionTypeToCreateSkill = std::function< std::unique_ptr< Skill >()> |
Public Member Functions | |
virtual std::unique_ptr< Skill > | createSkill (const skills::ProviderID &pid) const |
virtual SkillDescription | createSkillDescription (const skills::ProviderID &pid) const |
SkillBlueprint (const FunctionTypeToCreateSkill &s) | |
SkillBlueprint (const SkillBlueprint &)=default | |
SkillBlueprint (FunctionTypeToCreateSkill &&s) | |
virtual | ~SkillBlueprint ()=default |
Static Public Member Functions | |
template<class _Skill , class... Args> | |
requires static isSkill< _Skill > std::unique_ptr< SkillBlueprint > | ForSkill (Args &&... args) |
Protected Attributes | |
FunctionTypeToCreateSkill | _createSkill |
Definition at line 11 of file SkillFactory.h.
using FunctionTypeToCreateSkill = std::function<std::unique_ptr<Skill>()> |
Definition at line 14 of file SkillFactory.h.
|
inline |
Definition at line 16 of file SkillFactory.h.
|
inline |
Definition at line 20 of file SkillFactory.h.
|
default |
|
virtualdefault |
|
inlinevirtual |
Reimplemented in SkillWithContextBlueprint< SkillT >.
Definition at line 45 of file SkillFactory.h.
|
inlinevirtual |
Reimplemented in SkillWithContextBlueprint< SkillT >.
Definition at line 53 of file SkillFactory.h.
|
inlinestatic |
Definition at line 32 of file SkillFactory.h.
|
protected |
Definition at line 61 of file SkillFactory.h.