The MAUVE Toolchain
mauve::runtime::Resource< SHELL, CORE, INTERFACE > Class Template Reference
Inheritance diagram for mauve::runtime::Resource< SHELL, CORE, INTERFACE >:
Collaboration diagram for mauve::runtime::Resource< SHELL, CORE, INTERFACE >:

Public Member Functions

 Resource (std::string const &name)
 
 Resource (Resource const &other)=delete
 
void cleanup () override
 Cleanup the object.
 
bool cleanup_core () override
 Clean up the Core.
 
bool cleanup_interface () override
 Clean up the Interface.
 
bool cleanup_shell () override
 Clean up the shell.
 
bool clear () override
 Clear the resource.
 
bool clear_core () override
 Clear the Core.
 
bool clear_interface () override
 Clear the interface.
 
bool clear_shell () override
 Clear the shell.
 
bool configure () override
 Configure the object.
 
bool configure_core () override
 Configure the Core.
 
bool configure_interface () override
 Configure the Interface.
 
bool configure_shell () override
 Configure th shell.
 
CORE & core () const override
 Get the Core.
 
CORE * core_ptr () const override
 Get a pointer to the Core.
 
AbstractCoreget_core () const override
 Get a pointer to the Core.
 
AbstractInterfaceget_interface () const override
 Get a pointer to the Interface.
 
int get_service_index (const Service *service) const override
 
Shellget_shell () const override
 Get a pointer to the shell.
 
INTERFACE & interface () const override
 Get the interface.
 
bool is_configured () const override
 Get the configuration status of the configurable object. More...
 
bool is_empty () const override
 Check if the resource is empty.
 
bool is_empty_core () const override
 Check if the Core is empty.
 
bool is_empty_interface () const override
 Check if the Interface is empty.
 
bool is_empty_shell () const override
 Check if the shell is empty.
 
AbstractLoggerlogger () const override
 Get the logger.
 
template<typename... P>
bool make (P...parameters)
 
template<typename S , typename C , typename I , typename... P>
bool make (P...parameters)
 
template<typename... P>
bool make_core (P...parameters)
 
template<typename C , typename... P>
bool make_core (P...parameters)
 
template<typename... P>
bool make_interface (P...parameters)
 
template<typename I , typename... P>
bool make_interface (P...parameters)
 
template<typename... P>
bool make_shell (P...parameters)
 
template<typename S , typename... P>
bool make_shell (P...parameters)
 
Resourceoperator= (Resource const &other)=delete
 
template<typename C , typename... P>
bool replace_core (P...parameters)
 
template<typename I , typename... P>
bool replace_interface (P...parameters)
 
template<typename S , typename... P>
bool replace_shell (P...parameters)
 
SHELL & shell () const override
 Get the shell.
 
- Public Member Functions inherited from mauve::runtime::AbstractResource
 AbstractResource (std::string const &name)
 Constructor. More...
 
 AbstractResource (AbstractResource const &other)=delete
 Constructor. More...
 
std::string name () const overridefinal
 Get resource name.
 
std::string type_name () const
 Get resource type name.
 

Member Function Documentation

template<typename SHELL , typename CORE , typename INTERFACE >
bool mauve::runtime::Resource< SHELL, CORE, INTERFACE >::is_configured ( ) const
overridevirtual

Get the configuration status of the configurable object.

Returns
true if the object is configured

Implements mauve::runtime::Configurable.