SaltAPI
1.1
An API for the HTTPd / Zia by Salty Studio.
|
#include <AModule.hpp>
Public Member Functions | |
AModule (ICore &core, Type type, std::string const &name) | |
virtual | ~AModule () |
std::string const & | GetName () const override |
Type | GetType () const override |
bool | Load () override |
Method for futur use. More... | |
bool | Unload () override |
Method for futur use. More... | |
virtual IModule * | GetModule (ICore &core) const override |
The function return an instance of the module. More... | |
Protected Attributes | |
ICore & | m_core |
std::string | m_name |
Type | m_type |
Additional Inherited Members | |
Public Types inherited from Module::IModule | |
enum | Type { Core, Logger, ConfigLoader, Network, FileServe, HTTP, Default } |
Definition at line 13 of file AModule.hpp.
|
virtual |
Definition at line 13 of file AModule.cpp.
The function return an instance of the module.
core |
Implements Module::IModule.
Reimplemented in Module::ACore, Compress, HelloWorld, and AddEvent.
Definition at line 33 of file AModule.cpp.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Method for futur use.
Implements Module::IModule.
Definition at line 25 of file AModule.cpp.
|
overridevirtual |
Method for futur use.
bool Unload()
Implements Module::IModule.
Definition at line 29 of file AModule.cpp.
|
protected |
Definition at line 20 of file AModule.hpp.
|
protected |
Definition at line 21 of file AModule.hpp.
|
protected |
Definition at line 22 of file AModule.hpp.