SkillWithContextBlueprint< SkillT > Class Template Reference

#include <RobotAPI/libraries/skills/provider/blueprints/SkillWithContextBlueprint.h>

+ Inheritance diagram for SkillWithContextBlueprint< SkillT >:

Public Types

using ContextT = typename SkillT::Context
 
- Public Types inherited from SkillBlueprint
using FunctionTypeToCreateSkill = std::function< std::unique_ptr< Skill >()>
 

Public Member Functions

void connectTo (const ContextT &context)
 
virtual std::unique_ptr< SkillcreateSkill (const ProviderID &pid) const override
 
virtual SkillDescription createSkillDescription (const skills::ProviderID &pid) const
 
template<typename... Args>
 SkillWithContextBlueprint (Args &&... args)
 
- Public Member Functions inherited from SkillBlueprint
 SkillBlueprint (const FunctionTypeToCreateSkill &s)
 
 SkillBlueprint (const SkillBlueprint &)=default
 
 SkillBlueprint (FunctionTypeToCreateSkill &&s)
 
virtual ~SkillBlueprint ()=default
 

Additional Inherited Members

- Static Public Member Functions inherited from SkillBlueprint
template<class _Skill , class... Args>
requires static isSkill< _Skill > std::unique_ptr< SkillBlueprintForSkill (Args &&... args)
 
- Protected Attributes inherited from SkillBlueprint
FunctionTypeToCreateSkill _createSkill
 

Detailed Description

template<typename SkillT>
class armarx::skills::SkillWithContextBlueprint< SkillT >

Definition at line 38 of file SkillWithContextBlueprint.h.

Member Typedef Documentation

◆ ContextT

using ContextT = typename SkillT::Context

Definition at line 41 of file SkillWithContextBlueprint.h.

Constructor & Destructor Documentation

◆ SkillWithContextBlueprint()

SkillWithContextBlueprint ( Args &&...  args)
inline

Definition at line 44 of file SkillWithContextBlueprint.h.

Member Function Documentation

◆ connectTo()

void connectTo ( const ContextT context)
inline

Definition at line 71 of file SkillWithContextBlueprint.h.

+ Here is the caller graph for this function:

◆ createSkill()

virtual std::unique_ptr<Skill> createSkill ( const ProviderID pid) const
inlineoverridevirtual

Reimplemented from SkillBlueprint.

Definition at line 50 of file SkillWithContextBlueprint.h.

+ Here is the call graph for this function:

◆ createSkillDescription()

virtual SkillDescription createSkillDescription ( const skills::ProviderID pid) const
inlinevirtual

Reimplemented from SkillBlueprint.

Definition at line 63 of file SkillWithContextBlueprint.h.

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: