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.
moPresets.h
Ir a la documentación de este archivo.
1
/*******************************************************************************
2
3
moPresets.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_PRESETS_H__
33
#define __MO_PRESETS_H__
34
35
#include "
moTypes.h
"
36
#include "
moConfig.h
"
37
#include "
moEffectState.h
"
38
39
class
LIBMOLDEO_API
moPresets
:
public
moAbstract
40
{
41
public
:
42
MOint
presetnum
;
43
MOint
paramnum
;
44
//void SetCantPreset(MOint);
45
//void SetCantParams(MOint);
46
MOint
**
preset
;
//presetnum*paramnum
47
moEffectState
*
state
;
//*presetnum
48
MOboolean
*
setting
;
49
50
moPresets
();
51
moPresets
(
MOint
,
MOint
);
52
virtual
~
moPresets
();
53
54
MOboolean
Init
(
MOint
,
MOint
);
//(0) cuantos presets voy a guardar,(1) el archivo de configuracion para saber cuantos parametros tengo que guardar
55
MOboolean
Finish
();
56
const
moEffectState
& Load(
MOint
p,
moConfig
* conf,
const
moEffectState
& fxstate );
57
void
Save(
MOint
p,
moConfig
* conf,
const
moEffectState
& fxstate);
58
};
59
60
#endif
61
moAbstract::Finish
virtual MOboolean Finish()
Finaliza el objeto, libera recursos.
Definition:
moAbstract.cpp:147
moPresets
Definition:
moPresets.h:39
moPresets::presetnum
MOint presetnum
Definition:
moPresets.h:42
MOboolean
#define MOboolean
Definition:
moTypes.h:385
moPresets::setting
MOboolean * setting
Definition:
moPresets.h:48
moTypes.h
moAbstract
Clase base abstracta de donde deben derivar los objetos [virtual pura].
Definition:
moAbstract.h:191
moAbstract::Init
virtual MOboolean Init()
Inicializa el objeto.
Definition:
moAbstract.cpp:141
LIBMOLDEO_API
#define LIBMOLDEO_API
Definition:
moTypes.h:180
moEffectState
Definition:
moEffectState.h:44
moPresets::paramnum
MOint paramnum
Definition:
moPresets.h:43
moConfig.h
MOint
#define MOint
Definition:
moTypes.h:388
moPresets::state
moEffectState * state
Definition:
moPresets.h:47
moPresets::preset
MOint ** preset
Definition:
moPresets.h:46
moEffectState.h
moConfig
almacena la configuraci�n de los par�metros de un objeto en un archivo XML
Definition:
moConfig.h:193
libmoldeo
moPresets.h
Generado el Martes, 10 de Septiembre de 2019 21:27:08 para libmoldeo (Moldeo 1.0 Core) por
1.8.13