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.
moTimeManager.h
Ir a la documentación de este archivo.
1
/*******************************************************************************
2
3
moTimeManager.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_TIMEMANAGER_H__
33
#define __MO_TIMEMANAGER_H__
34
35
#include "
moTimer.h
"
36
37
#include "
moText.h
"
38
#include "
moConfig.h
"
39
#include "
moLock.h
"
40
#include "
moResourceManager.h
"
41
42
43
45
64
class
LIBMOLDEO_API
moTimeManager
:
public
moResource
65
{
66
public
:
67
69
72
moTimeManager
();
73
75
78
virtual
~
moTimeManager
();
79
81
84
virtual
MOboolean
Init
();
85
87
90
virtual
MOboolean
Finish
();
91
92
//static MOuint StartTicks();
94
97
static
MOuint
GetTicks();
98
100
103
moTimer
* NewTimer();
104
106
109
void
AddTimer(
moTimer
* pTimer );
110
112
115
void
FixTimers();
116
118
122
void
SetDuration(
MOulong
p_timecode );
123
125
129
void
ClearByObjectId(
long
p_objectid );
130
132
136
void
ClearByTimerId(
long
p_timerid );
137
139
143
void
FixByObjectId(
long
p_objectid );
144
146
151
protected
:
152
153
//static m_StartTicks;
154
//moMathFunctionArray m_func_array;
155
moTimers
m_Timers
;
156
};
157
158
#endif
159
MOulong
#define MOulong
Definition:
moTypes.h:392
moResource
Recurso ( objeto para cargar y manipular objetos físicos de datos de imágenes, audio, video, 3d, 2d, fuentes, shaders y de cualquier otro tipo extendible por un plugin )
Definition:
moResourceManager.h:152
MOboolean
#define MOboolean
Definition:
moTypes.h:385
LIBMOLDEO_API
#define LIBMOLDEO_API
Definition:
moTypes.h:180
moResource::Init
virtual MOboolean Init()
Definition:
moResourceManager.cpp:64
moConfig.h
moTimeManager::m_Timers
moTimers m_Timers
Devuelve el puntero al temporizador global.
Definition:
moTimeManager.h:155
moTimer.h
moResourceManager.h
moLock.h
moText.h
moResource::Finish
virtual MOboolean Finish()
Definition:
moResourceManager.cpp:83
moTimeManager
Clase para el manejo de los temporizadores en Moldeo.
Definition:
moTimeManager.h:64
moTimer
Clase para el control de un temporizador (relativo) con identificación.
Definition:
moTimer.h:321
MOuint
#define MOuint
Definition:
moTypes.h:387
libmoldeo
moTimeManager.h
Generado el Martes, 10 de Septiembre de 2019 21:27:08 para libmoldeo (Moldeo 1.0 Core) por
1.8.13