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.
moEffectManager.h
Ir a la documentación de este archivo.
1
/*******************************************************************************
2
3
moEffectManager.h
4
5
****************************************************************************
6
* *
7
* This source is free software; you can redistribute it and/or modify *
8
* it under the terms of the GNU General Public License as published by *
9
* the Free Software Foundation; either version 2 of the License, or *
10
* (at your option) any later version. *
11
* *
12
* This code is distributed in the hope that it will be useful, but *
13
* WITHOUT ANY WARRANTY; without even the implied warranty of *
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
15
* General Public License for more details. *
16
* *
17
* A copy of the GNU General Public License is available on the World *
18
* Wide Web at <http://www.gnu.org/copyleft/gpl.html>. You can also *
19
* obtain it by writing to the Free Software Foundation, *
20
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
21
* *
22
****************************************************************************
23
24
Copyright(C) 2006 Fabricio Costa
25
26
Authors:
27
Fabricio Costa
28
29
30
*******************************************************************************/
31
32
#ifndef __MOEFFECTMANAGER_H
33
#define __MOEFFECTMANAGER_H
34
35
#include "
moTypes.h
"
36
#include "
moArray.h
"
37
#include "
moEffect.h
"
38
#include "
moPostEffect.h
"
39
#include "
moPreEffect.h
"
40
#include "
moMasterEffect.h
"
41
#include "
moPlugin.h
"
42
#include "
moPostPlugin.h
"
43
#include "
moPrePlugin.h
"
44
#include "
moMasterPlugin.h
"
45
#include "
moResourceManager.h
"
46
48
59
class
LIBMOLDEO_API
moEffectManager
:
public
moAbstract
{
60
61
public
:
62
66
moEffectManager
();
67
68
virtual
~
moEffectManager
();
69
70
virtual
MOboolean
Init
();
71
72
virtual
MOboolean
Finish
();
73
75
81
moEffect
* New(
moMobDefinition
& p_MobDefinition );
82
84
96
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
);
97
101
MOboolean
AddEffect(
moEffect
* m_pEffect );
102
108
MOboolean
RemoveEffect(
MOint
p_ID,
moMoldeoObjectType
p_type );
109
MOint
GetEffectId(
const
moText
& p_labelname );
110
moText
GetEffectLabelName(
MOint
p_ID );
111
moMoldeoObjectType
GetType(
MOint
p_ID );
112
113
moEffect
* GetEffectByLabel(
const
moText
& p_label_name,
moMoldeoObjectType
p_mob_type=
MO_OBJECT_UNDEFINED
);
114
115
116
bool
Set(
int
fx_index,
moMoldeoObject
* p_pMOB );
117
118
moEffectsArray& AllEffects();
119
moPreEffectsArray& PreEffects();
120
moEffectsArray& Effects();
121
moPostEffectsArray& PostEffects();
122
moMasterEffectsArray& MasterEffects();
123
124
moResourceManager
*
m_pResourceManager
;
125
moEffectManager
*
m_pEffectManager
;
126
127
private
:
128
// EFFECTS(TODOS,PREEFFECTS,EFFECTS;POSTEFFECTS)
129
moPreEffectsArray
m_PreEffects
;
130
moEffectsArray
m_Effects
;
131
moPostEffectsArray
m_PostEffects
;
132
moMasterEffectsArray
m_MasterEffects
;
133
134
moPrePluginsArray
m_PrePlugins
;
135
moPluginsArray
m_Plugins
;
136
moPostPluginsArray
m_PostPlugins
;
137
moMasterPluginsArray
m_MasterPlugins
;
138
139
moEffectsArray
m_AllEffects
;
140
141
142
143
};
144
145
146
#endif
moEffectManager::m_PrePlugins
moPrePluginsArray m_PrePlugins
Definition:
moEffectManager.h:134
moMoldeoObjectType
moMoldeoObjectType
Tipos de objetos en Moldeo.
Definition:
moTypes.h:525
moEffectManager::m_MasterEffects
moMasterEffectsArray m_MasterEffects
Definition:
moEffectManager.h:132
moEffectManager::m_pEffectManager
moEffectManager * m_pEffectManager
Definition:
moEffectManager.h:125
moAbstract::Finish
virtual MOboolean Finish()
Finaliza el objeto, libera recursos.
Definition:
moAbstract.cpp:147
moArray.h
moPrePlugin.h
moEffectManager::m_Effects
moEffectsArray m_Effects
Definition:
moEffectManager.h:130
MOboolean
#define MOboolean
Definition:
moTypes.h:385
moEffectManager::m_PostEffects
moPostEffectsArray m_PostEffects
Definition:
moEffectManager.h:131
moPostEffect.h
moPlugin.h
moEffectManager::m_MasterPlugins
moMasterPluginsArray m_MasterPlugins
Definition:
moEffectManager.h:137
moTypes.h
moAbstract
Clase base abstracta de donde deben derivar los objetos [virtual pura].
Definition:
moAbstract.h:191
moEffect.h
moAbstract::Init
virtual MOboolean Init()
Inicializa el objeto.
Definition:
moAbstract.cpp:141
LIBMOLDEO_API
#define LIBMOLDEO_API
Definition:
moTypes.h:180
moText0
clase de para manejar textos
Definition:
moText.h:75
moMasterPlugin.h
moMobDefinition
Clase Base Descriptiva de un Objeto Moldeo.
Definition:
moMoldeoObject.h:163
moResourceManager.h
moEffectManager::m_PreEffects
moPreEffectsArray m_PreEffects
Definition:
moEffectManager.h:129
MOint
#define MOint
Definition:
moTypes.h:388
moMoldeoObject
Clase Base para Objetos Moldeo ( moEffect, moIODevice, moResource, moConsole )
Definition:
moMoldeoObject.h:409
moEffectManager::m_Plugins
moPluginsArray m_Plugins
Definition:
moEffectManager.h:135
moMasterEffect.h
moResourceManager
Administrador de recursos.
Definition:
moResourceManager.h:224
moPreEffect.h
moEffectManager::m_pResourceManager
moResourceManager * m_pResourceManager
Definition:
moEffectManager.h:124
moPostPlugin.h
moEffectManager::m_AllEffects
moEffectsArray m_AllEffects
Definition:
moEffectManager.h:139
moEffectManager::m_PostPlugins
moPostPluginsArray m_PostPlugins
Definition:
moEffectManager.h:136
MO_OBJECT_UNDEFINED
Definition:
moTypes.h:526
moEffect
clase base para objetos dibujables
Definition:
moEffect.h:82
moEffectManager
Administrador de efectos.
Definition:
moEffectManager.h:59
libmoldeo
moEffectManager.h
Generado el Martes, 10 de Septiembre de 2019 21:27:06 para libmoldeo (Moldeo 1.0 Core) por
1.8.13