#include <resourcemanager.h>
Inherited by GameManager.
Public Member Functions | |
ResourceManager () | |
virtual | ~ResourceManager () |
void | AddModule (std::string name, Module *modul) |
void | RemoveModule (std::string name) |
void | StartModule (std::string name) |
void | StartModules () |
void | HaltModule (std::string name) |
void | HaltModules () |
bool | LoadModule (std::string name) |
void | LoadModules () |
bool | UnloadModule (std::string name) |
void | UnloadModules () |
int | GetModuleState (std::string name) |
bool | UpdateModule (std::string name) |
void | UpdateModules () |
virtual void | SentSignal (std::string name) |
virtual void * | AskFor (std::string name, std::string data) |
virtual void * | AskFor (std::string data) |
Protected Attributes | |
std::map< std::string, ModuleHolder * > | m_modules |
ResourceManager::ResourceManager | ( | ) | [inline] |
virtual ResourceManager::~ResourceManager | ( | ) | [inline, virtual] |
void ResourceManager::AddModule | ( | std::string | name, | |
Module * | modul | |||
) |
void ResourceManager::RemoveModule | ( | std::string | name | ) |
void ResourceManager::StartModule | ( | std::string | name | ) |
void ResourceManager::StartModules | ( | ) |
void ResourceManager::HaltModule | ( | std::string | name | ) |
void ResourceManager::HaltModules | ( | ) |
bool ResourceManager::LoadModule | ( | std::string | name | ) |
void ResourceManager::LoadModules | ( | ) |
bool ResourceManager::UnloadModule | ( | std::string | name | ) |
void ResourceManager::UnloadModules | ( | ) |
int ResourceManager::GetModuleState | ( | std::string | name | ) |
bool ResourceManager::UpdateModule | ( | std::string | name | ) |
void ResourceManager::UpdateModules | ( | ) |
void ResourceManager::SentSignal | ( | std::string | name | ) | [virtual] |
Reimplemented in GameManager.
void * ResourceManager::AskFor | ( | std::string | name, | |
std::string | data | |||
) | [virtual] |
virtual void* ResourceManager::AskFor | ( | std::string | data | ) | [inline, virtual] |
Reimplemented in GameManager.
std::map<std::string, ModuleHolder*> ResourceManager::m_modules [protected] |