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 recursos. More...
#include <moResourceManager.h>
Additional Inherited Members | |
Public Attributes inherited from moAbstract | |
MOboolean | m_bInitialized |
Valor de inicialización More... | |
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 recursos.
los recursos son aquellos objetos que implementan funciones de tratamiento de datos, generalmente de dispositivos físicos, como son imágenes, videos, bases de dato
Definition at line 224 of file moResourceManager.h.
moResourceManager::moResourceManager | ( | ) |
constructor genérico de la clase.
Definition at line 111 of file moResourceManager.cpp.
|
virtual |
Definition at line 136 of file moResourceManager.cpp.
MOboolean moResourceManager::AddResource | ( | moResource * | m_pResource | ) |
crea un nuevo recurso
Definition at line 165 of file moResourceManager.cpp.
|
virtual |
|
inline |
crea un nuevo recurso
Definition at line 356 of file moResourceManager.h.
|
inline |
crea un nuevo recurso
Definition at line 447 of file moResourceManager.h.
|
inline |
crea un nuevo recurso
Definition at line 455 of file moResourceManager.h.
|
inline |
crea un nuevo recurso
Definition at line 370 of file moResourceManager.h.
|
inline |
crea un nuevo recurso
Definition at line 328 of file moResourceManager.h.
|
inline |
crea un nuevo recurso
Definition at line 342 of file moResourceManager.h.
|
inline |
crea un nuevo recurso
Definition at line 405 of file moResourceManager.h.
|
inline |
crea un nuevo recurso
Definition at line 377 of file moResourceManager.h.
|
inline |
crea un nuevo recurso
Definition at line 412 of file moResourceManager.h.
|
inline |
crea un nuevo recurso
Definition at line 391 of file moResourceManager.h.
|
inline |
crea un nuevo recurso
Definition at line 440 of file moResourceManager.h.
|
inline |
crea un nuevo recurso
Definition at line 349 of file moResourceManager.h.
|
inline |
crea un nuevo recurso
Definition at line 384 of file moResourceManager.h.
moResource * moResourceManager::GetResource | ( | MOint | p_index | ) |
Devuelve el puntero al recruso de indice p_ID
Definition at line 199 of file moResourceManager.cpp.
moResource * moResourceManager::GetResourceByType | ( | moResourceType | p_type | ) |
crea un nuevo recurso
Definition at line 250 of file moResourceManager.cpp.
crea un nuevo recurso
Definition at line 207 of file moResourceManager.cpp.
Devuelve la etiqueta del recurso de indice p_ID
Definition at line 231 of file moResourceManager.cpp.
Devuelve el nombre del recurso de indice p_ID
Definition at line 220 of file moResourceManager.cpp.
moResourceType moResourceManager::GetResourceType | ( | MOint | p_index | ) |
crea un nuevo recurso
Definition at line 243 of file moResourceManager.cpp.
|
inline |
crea un nuevo recurso
Definition at line 419 of file moResourceManager.h.
|
inline |
crea un nuevo recurso
Definition at line 398 of file moResourceManager.h.
|
inline |
crea un nuevo recurso
Definition at line 433 of file moResourceManager.h.
|
inline |
crea un nuevo recurso
Definition at line 426 of file moResourceManager.h.
|
inline |
crea un nuevo recurso
Definition at line 363 of file moResourceManager.h.
|
inline |
crea un nuevo recurso
Definition at line 335 of file moResourceManager.h.
|
virtual |
inicialización se especifican los parámetros generales para el acceso a los datos
Asigna configname, y labelname a los recursos PREDETERMINADOS en caso de encontrarse en el config
TODO: chequear errores...
Primero debe inicializarse el contexto OpenGL con glewInit: el RenderManager usa a su vez al Shader Manager, aunque no lo necesita para la inicializacion, lo usará luego para otras funciones especificas como Render( moObject3D....) que hace uso del moShaderManager::m_RenderBasic diseñado para dar soporte a OpenGL ES 2>
Definition at line 263 of file moResourceManager.cpp.
moResource * moResourceManager::NewResource | ( | const moText & | p_resname, |
const moText & | p_configname, | ||
const moText & | p_labelname, | ||
const moText & | p_keyname, | ||
int | paramindex = -1 , |
||
int | valueindex = -1 , |
||
bool | p_activate = true |
||
) |
crea un nuevo recurso
Definition at line 140 of file moResourceManager.cpp.
crea un nuevo recurso
Tratamos de borrarlo de los recursos de plugins
si no es parte de un plugin lo eliminamos a mano no hacemos nada! esto deberia hacer el Finish() ya que este se encargo de crearlos
Definition at line 176 of file moResourceManager.cpp.
moResources & moResourceManager::Resources | ( | ) |
crea un nuevo recurso
Definition at line 194 of file moResourceManager.cpp.