libmoldeo (Moldeo 1.0 Core)
1.0
libmoldeo is the group of objects and functions that executes the basic operations of Moldeo 1.0 Platform.
|
Administrador de efectos. More...
#include <moEffectManager.h>
Public Member Functions | |
moEffectManager () | |
virtual | ~moEffectManager () |
virtual MOboolean | Init () |
Inicializa el objeto. More... | |
virtual MOboolean | Finish () |
Finaliza el objeto, libera recursos. More... | |
moEffect * | New (moMobDefinition &p_MobDefinition) |
Genera un nuevo efecto a partir de la definición More... | |
moEffect * | NewEffect (const moText &p_resname, const moText &p_configname, const moText &p_labelname, const moText &p_keyname, moMoldeoObjectType p_type, MOint p_paramindex, MOint p_valueindex, bool p_activate=true) |
Genera un nuevo efecto a partir de los parámetros correspondientes. More... | |
MOboolean | AddEffect (moEffect *m_pEffect) |
MOboolean | RemoveEffect (MOint p_ID, moMoldeoObjectType p_type) |
MOint | GetEffectId (const moText &p_labelname) |
moText | GetEffectLabelName (MOint p_ID) |
moMoldeoObjectType | GetType (MOint p_ID) |
moEffect * | GetEffectByLabel (const moText &p_label_name, moMoldeoObjectType p_mob_type=MO_OBJECT_UNDEFINED) |
bool | Set (int fx_index, moMoldeoObject *p_pMOB) |
moEffectsArray & | AllEffects () |
moPreEffectsArray & | PreEffects () |
moEffectsArray & | Effects () |
moPostEffectsArray & | PostEffects () |
moMasterEffectsArray & | MasterEffects () |
Public Member Functions inherited from moAbstract | |
moAbstract () | |
virtual | ~moAbstract () |
MOboolean | Initialized () |
Pregunta si está inicializado. More... | |
Public Attributes | |
moResourceManager * | m_pResourceManager |
moEffectManager * | m_pEffectManager |
Public Attributes inherited from moAbstract | |
MOboolean | m_bInitialized |
Valor de inicialización More... | |
Additional Inherited Members | |
Static Public Attributes inherited from moAbstract | |
static moDebug * | MODebug2 = new moDebug() |
Clase de impresión de errores para depuración More... | |
static moTextHeap * | MODebug = new moTextHeap() |
Lista de textos. More... | |
Administrador de efectos.
clase administradora de instancias de objetos derivados de moEffect a través de esta clase se tiene acceso a los efectos que han sido creados y pueden ser accedidos, modificados y controlados
Definition at line 59 of file moEffectManager.h.
moEffectManager::moEffectManager | ( | ) |
constructor genérico de la clase.
Definition at line 42 of file moEffectManager.cpp.
|
virtual |
Definition at line 45 of file moEffectManager.cpp.
Agrega un efecto previamente creado con la función NewEffect
Definition at line 127 of file moEffectManager.cpp.
moEffectsArray & moEffectManager::AllEffects | ( | ) |
Definition at line 350 of file moEffectManager.cpp.
moEffectsArray & moEffectManager::Effects | ( | ) |
Definition at line 360 of file moEffectManager.cpp.
|
virtual |
Finaliza el objeto, libera recursos.
Función de finalización. Libera los recursos generados en la función de inicialización.
Reimplemented from moAbstract.
Definition at line 333 of file moEffectManager.cpp.
moEffect * moEffectManager::GetEffectByLabel | ( | const moText & | p_label_name, |
moMoldeoObjectType | p_mob_type = MO_OBJECT_UNDEFINED |
||
) |
Definition at line 255 of file moEffectManager.cpp.
Definition at line 231 of file moEffectManager.cpp.
Definition at line 244 of file moEffectManager.cpp.
moMoldeoObjectType moEffectManager::GetType | ( | MOint | p_ID | ) |
|
virtual |
Inicializa el objeto.
Función de Inicialización. Todos los recursos manejados exclusivamente por este objeto son generados aquí.
Reimplemented from moAbstract.
Definition at line 316 of file moEffectManager.cpp.
moMasterEffectsArray & moEffectManager::MasterEffects | ( | ) |
Definition at line 370 of file moEffectManager.cpp.
moEffect * moEffectManager::New | ( | moMobDefinition & | p_MobDefinition | ) |
Genera un nuevo efecto a partir de la definición
Si el efecto ya existe con esos parámetros devuelve NULL.
p_MobDefinition | la definición del objeto |
Definition at line 50 of file moEffectManager.cpp.
moEffect * moEffectManager::NewEffect | ( | const moText & | p_resname, |
const moText & | p_configname, | ||
const moText & | p_labelname, | ||
const moText & | p_keyname, | ||
moMoldeoObjectType | p_type, | ||
MOint | p_paramindex, | ||
MOint | p_valueindex, | ||
bool | p_activate = true |
||
) |
Genera un nuevo efecto a partir de los parámetros correspondientes.
Si el efecto ya existe con esos parámetros devuelve NULL.
p_resname | |
p_configname | |
p_labelname | |
p_type | |
p_paramindex | |
p_valueindex |
Definition at line 64 of file moEffectManager.cpp.
moPostEffectsArray & moEffectManager::PostEffects | ( | ) |
Definition at line 365 of file moEffectManager.cpp.
moPreEffectsArray & moEffectManager::PreEffects | ( | ) |
Definition at line 355 of file moEffectManager.cpp.
MOboolean moEffectManager::RemoveEffect | ( | MOint | p_ID, |
moMoldeoObjectType | p_type | ||
) |
Elimina un efecto previamente agregado al moEffectManager especificando el id y el tipo
p_ID | |
p_type |
Definition at line 159 of file moEffectManager.cpp.
bool moEffectManager::Set | ( | int | fx_index, |
moMoldeoObject * | p_pMOB | ||
) |
Definition at line 284 of file moEffectManager.cpp.
moEffectManager* moEffectManager::m_pEffectManager |
Definition at line 125 of file moEffectManager.h.
moResourceManager* moEffectManager::m_pResourceManager |
Definition at line 124 of file moEffectManager.h.