SaltAPI  1.1
An API for the HTTPd / Zia by Salty Studio.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Module::ICore Class Referenceabstract

#include <ICore.hpp>

Inheritance diagram for Module::ICore:

Public Member Functions

virtual bool Run (std::vector< std::string > const &opts, IModuleLoader *moduleLoader)=0
 
virtual IConfig const & GetConfig () const =0
 
virtual IModuleGet (std::string const &name) const =0
 Get the module by name from the list in ModuleLoader. More...
 
virtual IModuleGet (IModule::Type type) const =0
 Get the module by Type from the list in ModuleLoader. More...
 

Detailed Description

Interface representing a module core

Definition at line 19 of file ICore.hpp.

Member Function Documentation

IModule * Module::ICore::Get ( std::string const &  name) const
pure virtual

Get the module by name from the list in ModuleLoader.

Parameters
nameof the module
Returns
pointer on the module founded

Implemented in Module::ACore.

Here is the caller graph for this function:

IModule * Module::ICore::Get ( IModule::Type  type) const
pure virtual

Get the module by Type from the list in ModuleLoader.

Parameters
typeof the module
Returns
pointer on the module founded

Implemented in Module::ACore.

IConfig const & Module::ICore::GetConfig ( ) const
pure virtual
Returns
const reference on Config

Implemented in Module::ACore.

bool Module::ICore::Run ( std::vector< std::string > const &  opts,
IModuleLoader moduleLoader 
)
pure virtual
Parameters
optsarguments from main
moduleLoaderpointer on moduleLoader
Returns

Implemented in Module::ACore.


The documentation for this class was generated from the following file: