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

#include <IModuleLoader.hpp>

Inheritance diagram for IModuleLoader:

Public Member Functions

virtual Module::IModuleLoad (std::string const &path)=0
 load module by path More...
 
virtual bool Unload (Module::IModule *module)=0
 unload module by pointer More...
 
virtual bool IsLoaded (std::string const &name) const =0
 check if module is loaded by name More...
 
virtual bool IsLoaded (Module::IModule::Type type) const =0
 check if module is loaded by type More...
 
virtual Module::IModuleGet (std::string const &name) const =0
 
virtual Module::IModuleGet (Module::IModule::Type) const =0
 

Detailed Description

Interface for module Loader

Definition at line 13 of file IModuleLoader.hpp.

Member Function Documentation

Module::IModule * IModuleLoader::Get ( std::string const &  name) const
pure virtual
Parameters
name
Returns
module got by name

Here is the caller graph for this function:

Module::IModule * IModuleLoader::Get ( Module::IModule::Type  ) const
pure virtual
Returns
module got by type
bool IModuleLoader::IsLoaded ( std::string const &  name) const
pure virtual

check if module is loaded by name

Parameters
name
Returns
is module loaded

Implemented in AModuleLoader.

bool IModuleLoader::IsLoaded ( Module::IModule::Type  type) const
pure virtual

check if module is loaded by type

Parameters
type
Returns
is module loaded

Implemented in AModuleLoader.

Module::IModule * IModuleLoader::Load ( std::string const &  path)
pure virtual

load module by path

Parameters
path
Returns
loaded module

Implemented in AModuleLoader.

bool IModuleLoader::Unload ( Module::IModule module)
pure virtual

unload module by pointer

Parameters
module
Returns

Implemented in AModuleLoader.


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