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.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
moMasterEffect.h
Go to the documentation of this file.
1 /*******************************************************************************
2 
3  moMasterEffect.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 __MO_MASTER_EFFECT_H__
33 #define __MO_MASTER_EFFECT_H__
34 
35 #include "moEffect.h"
36 #include "moConsoleState.h"
37 
38 class moEffectManager;
39 
55 {
56 public:
57 
62 
66  virtual ~moMasterEffect();
67 
71  virtual MOboolean PreInit();
72 
77  virtual MOboolean Init() = 0;
78 
83  virtual void Set( moEffectManager *pEffectManager, moConsoleState* cstate);
84 
89  virtual void Draw(moTempo*, moEffectState* parentstate = NULL) = 0;
90  virtual void Interaction(moIODeviceManager*) = 0;
91  virtual MOboolean Finish() = 0;
92 
93  protected:
94 
98  moEffectManager* m_pEffectManager;//cada effect maestro tiene acceso a los otros effects maestros
99 
103  moConsoleState *consolestate; //el state de la consola
104 
105 };
106 /*
107 template class LIBMOLDEO_API moDynamicArray<moMasterEffect*>;
108 typedef moDynamicArray<moMasterEffect*> moMasterEffectsArray;
109 */
113 moDeclareExportedDynamicArray( moMasterEffect*, moMasterEffectsArray);
114 
115 
116 #include "moEffectManager.h"
117 
118 #endif
119 
Tempo, beat, ritmo.
Definition: moTempo.h:44
Estado de la consola.
#define MOboolean
Definition: moTypes.h:385
virtual MOboolean PreInit()
Definition: moEffect.cpp:93
#define LIBMOLDEO_API
Definition: moTypes.h:180
virtual MOboolean Init()=0
moEffectManager * m_pEffectManager
moConsoleState * consolestate
virtual void Interaction(moIODeviceManager *)
Definition: moEffect.cpp:405
clase base para objetos dibujables
Definition: moEffect.h:82
moDeclareExportedDynamicArray(moMasterEffect *, moMasterEffectsArray)
virtual void Draw(moTempo *, moEffectState *parentstate=NULL)=0
virtual MOboolean Finish()=0
Administrador de efectos.