SaltAPI
1.1
An API for the HTTPd / Zia by Salty Studio.
Main Page
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
AModule.cpp
Go to the documentation of this file.
1
//
2
// Created by wery_a on 09/01/17.
3
//
4
5
#include "
Module/AModule.hpp
"
6
7
namespace
Module {
8
AModule::AModule
(
ICore
&core,
Type
type, std::string
const
&name)
9
: m_core(core), m_type(type), m_name(name) {
10
11
}
12
13
AModule::~AModule
() {
14
15
}
16
17
std::string
const
&
AModule::GetName
()
const
{
18
return
m_name
;
19
}
20
21
IModule::Type
AModule::GetType
()
const
{
22
return
m_type
;
23
}
24
25
bool
AModule::Load
() {
26
27
}
28
29
bool
AModule::Unload
() {
30
31
}
32
33
IModule
*
AModule::GetModule
(
ICore
&core)
const
{
34
return
new
AModule
(core,
Default
,
"Module"
);
35
}
36
}
Module::AModule::GetName
std::string const & GetName() const override
Definition:
AModule.cpp:17
Module::AModule::m_type
Type m_type
Definition:
AModule.hpp:22
AModule.hpp
Module::IModule
Definition:
IModule.hpp:20
Module::AModule::Load
bool Load() override
Method for futur use.
Definition:
AModule.cpp:25
Module::AModule::AModule
AModule(ICore &core, Type type, std::string const &name)
Definition:
AModule.cpp:8
Module::IModule::Default
Definition:
IModule.hpp:32
Module::AModule::GetModule
virtual IModule * GetModule(ICore &core) const override
The function return an instance of the module.
Definition:
AModule.cpp:33
Module::AModule::m_name
std::string m_name
Definition:
AModule.hpp:21
Module::AModule::~AModule
virtual ~AModule()
Definition:
AModule.cpp:13
Module::AModule::Unload
bool Unload() override
Method for futur use.
Definition:
AModule.cpp:29
Module::AModule::GetType
Type GetType() const override
Definition:
AModule.cpp:21
Module::IModule::Type
Type
Definition:
IModule.hpp:25
Module::ICore
Definition:
ICore.hpp:19
API
src
Module
AModule.cpp
Generated on Tue Jan 10 2017 17:44:53 for SaltAPI by
1.8.6