#include <module.h>
Inherited by Game, Gui, Network, and VideoManager.
Public Member Functions | |
virtual bool | Load ()=0 |
virtual bool | Unload ()=0 |
virtual bool | Update ()=0 |
virtual void * | AskFor (std::string data) |
virtual void | GetSignal (std::string name) |
void | SetManager (ResourceManager *manager) |
Protected Attributes | |
ResourceManager * | m_modulemanager |
virtual bool Module::Load | ( | ) | [pure virtual] |
Called, when the module is loaded by the Resource Manager ( or another class)
Implemented in Gui, Game, Network, and VideoManager.
virtual bool Module::Unload | ( | ) | [pure virtual] |
Called, when the module is to be updated the Resource Manager ( or another class)
Implemented in Gui, Game, Network, and VideoManager.
virtual bool Module::Update | ( | ) | [pure virtual] |
Called, when the module is unloaded the Resource Manager ( or another class)
Implemented in Gui, Game, Network, and VideoManager.
virtual void* Module::AskFor | ( | std::string | data | ) | [inline, virtual] |
virtual void Module::GetSignal | ( | std::string | name | ) | [inline, virtual] |
Called, when a signal is sent to the module
name | the name of the signal |
Reimplemented in Gui, Game, Network, and VideoManager.
void Module::SetManager | ( | ResourceManager * | manager | ) |
A function that sets the resource manager of the module
manager | the pointer to the manager that is set |
ResourceManager* Module::m_modulemanager [protected] |