xentara-plugin v2.0.4
The Xentara Plugin Framework
|
The actual skill (formerly called “service provider environment”) More...
#include <xentara/process/ServiceProvider.hpp>
Public Member Functions | |
virtual auto | createMicroservice (const MicroserviceClass &elementClass, plugin::SharedFactory< Microservice > &factory) -> std::shared_ptr< Microservice >=0 |
Called by the framework to create a new top-level element. | |
Virtual Overrides for skill::Skill | |
| |
auto | createElement (const skill::Element::Class &elementClass, skill::ElementFactory &factory) -> std::shared_ptr< skill::Element > final |
Virtual overide for skill::Skill::createElement() | |
Public Member Functions inherited from xentara::skill::Skill | |
virtual | ~Skill ()=0 |
Virtual destructor. | |
virtual auto | loadConfig (utils::json::decoder::Object &jsonObject, config::Context &context) -> void |
Called by the framework to load the skill’s configuration from a JSON object. | |
Public Member Functions inherited from xentara::utils::tools::DisableCopy | |
constexpr | DisableCopy () noexcept=default |
DisableCopy (const DisableCopy &)=delete | |
DisableCopy & | operator= (const DisableCopy &)=delete |
Additional Inherited Members | |
Static Public Member Functions inherited from xentara::skill::Skill | |
static auto | persistentDataPath (const std::filesystem::path &skillSubdirectory, const std::filesystem::path &subPath) -> std::filesystem::path |
Makes a path suitable for storing persistent data for a skill. | |
The actual skill (formerly called “service provider environment”)
|
finalvirtual |
Virtual overide for skill::Skill::createElement()
This function calls createMicroservice() if elementClass is derived from MicroserviceClass, or returns nullptr otherwise.
Implements xentara::skill::Skill.
|
pure virtual |
Called by the framework to create a new top-level element.