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

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

#include <xentara/io/Driver.hpp>

+ Inheritance diagram for xentara::io::Driver:

Classes

class  Environment
 The actual skill (formerly called “driver 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 I/O skills

Deprecated:
Replaced by skill::Skill::Class

Member Function Documentation

◆ createEnvironment()

virtual auto xentara::io::Driver::createEnvironment ( ) -> std::unique_ptr< Environment >
pure virtual

Called by the framework to create the actual skill.

◆ createSkill()

auto xentara::io::Driver::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::io::Driver::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::io::Driver::registerObjects ( Registry registry) -> void
pure virtual

Called by the framework to register the element classes.