The MAUVE Toolchain
mauve::runtime::AbstractResource Class Referenceabstract

Abstract Resource class. More...

#include <AbstractResource.hpp>

Inheritance diagram for mauve::runtime::AbstractResource:
Collaboration diagram for mauve::runtime::AbstractResource:

Public Member Functions

 AbstractResource (std::string const &name)
 Constructor. More...
 
 AbstractResource (AbstractResource const &other)=delete
 Constructor. More...
 
virtual bool clear ()=0
 Clear the resource.
 
virtual int get_service_index (const Service *service) const =0
 
virtual bool is_empty () const =0
 Check if the resource is empty.
 
std::string name () const overridefinal
 Get resource name.
 
std::string type_name () const
 Get resource type name.
 
- Public Member Functions inherited from mauve::runtime::Configurable
virtual void cleanup ()=0
 Cleanup the object.
 
virtual bool configure ()=0
 Configure the object.
 
virtual bool is_configured () const =0
 Get the configuration status of the configurable object. More...
 
- Public Member Functions inherited from mauve::runtime::WithAbstractShell
virtual bool cleanup_shell ()=0
 Clean up the shell.
 
virtual bool configure_shell ()=0
 Configure th shell.
 
virtual Shellget_shell () const =0
 Get a pointer to the shell.
 
virtual bool is_empty_shell () const =0
 Check if the shell is empty.
 
- Public Member Functions inherited from mauve::runtime::WithAbstractCore
virtual bool cleanup_core ()=0
 Clean up the Core.
 
virtual bool configure_core ()=0
 Configure the Core.
 
virtual AbstractCoreget_core () const =0
 Get a pointer to the Core.
 
virtual bool is_empty_core () const =0
 Check if the Core is empty.
 
- Public Member Functions inherited from mauve::runtime::WithAbstractInterface
virtual bool cleanup_interface ()=0
 Clean up the Interface.
 
virtual bool configure_interface ()=0
 Configure the Interface.
 
virtual AbstractInterfaceget_interface () const =0
 Get a pointer to the Interface.
 
virtual bool is_empty_interface () const =0
 Check if the Interface is empty.
 

Detailed Description

Abstract Resource class.

Constructor & Destructor Documentation

mauve::runtime::AbstractResource::AbstractResource ( std::string const &  name)

Constructor.

Parameters
nameresource name
mauve::runtime::AbstractResource::AbstractResource ( AbstractResource const &  other)
delete

Constructor.

Parameters
othera Resource