xentara-plugin v2.0.4
The Xentara Plugin Framework
Loading...
Searching...
No Matches
xentara::process::ServiceProvider Class Referenceabstract

deprecated Deprecated base class for non-I/O skills More...

#include <xentara/process/ServiceProvider.hpp>

+ Inheritance diagram for xentara::process::ServiceProvider:

Classes

class  Environment
 The actual skill (formerly called “service provider environment”) More...
 

Public Member Functions

virtual auto registerObjects (Registry &registry) -> void=0
 Called by the framework to register the element classes.
 
virtual auto createEnvironment () -> std::unique_ptr< Environment >=0
 Called by the framework to create the actual skill.
 
Virtual Overrides for skill::Skill::Class


auto registerElements (Registry &registry) -> void final
 Virtual overide for skill::Skill::Class::registerElements()
 
auto createSkill () -> std::unique_ptr< skill::Skill > final
 Virtual overide for skill::Skill::Class::registerElements()
 
- Public Member Functions inherited from xentara::skill::Skill::Class
virtual ~Class ()=0
 Virtual destructor.
 
virtual auto name () const -> std::string_view=0
 Gets the name of the skill.
 
virtual auto uuid () const -> utils::core::Uuid=0
 Gets the UUID of the skill.
 
- Public Member Functions inherited from xentara::utils::tools::DisableCopy
constexpr DisableCopy () noexcept=default
 
 DisableCopy (const DisableCopy &)=delete
 
DisableCopyoperator= (const DisableCopy &)=delete
 

Detailed Description

deprecated Deprecated base class for non-I/O skills

Member Function Documentation

◆ createEnvironment()

virtual auto xentara::process::ServiceProvider::createEnvironment ( ) -> std::unique_ptr< Environment >
pure virtual

Called by the framework to create the actual skill.

◆ createSkill()

auto xentara::process::ServiceProvider::createSkill ( ) -> std::unique_ptr< skill::Skill >
finalvirtual

Virtual overide for skill::Skill::Class::registerElements()

This function just calls createEnvironment();

Implements xentara::skill::Skill::Class.

◆ registerElements()

auto xentara::process::ServiceProvider::registerElements ( Registry registry) -> void
finalvirtual

Virtual overide for skill::Skill::Class::registerElements()

This function just calls registerObjects();

Implements xentara::skill::Skill::Class.

◆ registerObjects()

virtual auto xentara::process::ServiceProvider::registerObjects ( Registry registry) -> void
pure virtual

Called by the framework to register the element classes.