Scine::Core
3.0.0
Module management and core interface definitions
|
Your module class definition. More...
#include <SampleModule.h>
Public Member Functions | |
std::string | name () const noexceptfinal |
Creates a type-erased wrapper around a shared_ptr to a model of a interface. More... | |
boost::any | get (const std::string &interface, const std::string &model) const final |
Creates a type-erased wrapper around a shared_ptr to a model of a interface. More... | |
bool | has (const std::string &interface, const std::string &model) const noexceptfinal |
Checks if this module supplies a particular model of an interface. More... | |
std::vector< std::string > | announceInterfaces () const noexceptfinal |
Announces all interfaces of which the module provides at least one model. More... | |
std::vector< std::string > | announceModels (const std::string &interface) const noexceptfinal |
Mandatory virtual interface | |
Announces the module's name |
Static Public Member Functions | |
static std::shared_ptr < Scine::Core::Module > | make () |
Your module class definition.
|
finalvirtualnoexcept |
Announces all interfaces of which the module provides at least one model.
Implements Scine::Core::Module.
|
finalvirtualnoexcept |
Announces all models of a particular interface that the module provides
Implements Scine::Core::Module.
|
finalvirtual |
Creates a type-erased wrapper around a shared_ptr to a model of a interface.
X | If the derived class does not supply models of the interface. |
Implements Scine::Core::Module.
|
finalvirtualnoexcept |
Checks if this module supplies a particular model of an interface.
Implements Scine::Core::Module.
|
finalvirtualnoexcept |
Creates a type-erased wrapper around a shared_ptr to a model of a interface.
X | If the derived class does not supply models of the interface. |
Implements Scine::Core::Module.