libmoldeo (Moldeo 1.0 Core)
1.0
libmoldeo es el conjunto de objetos y funciones, que permiten ejecutar las operaciones básicas de la plataforma Moldeo, y que compone su núcleo.
Página principal
Páginas relacionadas
Módulos
Namespaces
Clases
Archivos
Lista de archivos
Miembros de los ficheros
Todo
Clases
Namespaces
Archivos
Funciones
Variables
'typedefs'
Enumeraciones
Valores de enumeraciones
Amigas
'defines'
Grupos
Páginas
moDebugManager.cpp
Ir a la documentación de este archivo.
1
/*******************************************************************************
2
3
moDebugManager.cpp
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
#include "
moDebugManager.h
"
33
34
//===========================================
35
//
36
// moGUIManager
37
//
38
//===========================================
39
40
41
moDebugManager::moDebugManager
() {
42
43
SetType
(
MO_OBJECT_RESOURCE
);
44
SetResourceType
(
MO_RESOURCETYPE_DEBUG
);
45
46
SetName
(
"debugmanager"
);
47
SetLabelName
(
"debugmanager"
);
48
49
}
50
51
52
moDebugManager::~moDebugManager
() {
53
54
55
}
56
57
MOboolean
58
moDebugManager::Init
() {
59
return
true
;
60
}
61
62
MOboolean
63
moDebugManager::Finish
() {
64
return
true
;
65
}
66
67
68
void
moDebugManager::Error
(
moText
p_text ) {
69
MODebug2
->
Error
(p_text);
70
}
71
72
void
moDebugManager::Message
(
moText
p_text ) {
73
74
MODebug2
->
Message
( p_text );
75
}
76
77
void
moDebugManager::Log
(
moText
p_text ) {
78
MODebug2
->
Log
( p_text );
79
}
80
81
void
moDebugManager::Push
(
moText
p_text ) {
82
MODebug2
->
Push
( p_text );
83
}
84
89
moText
moDebugManager::Pop
() {
90
return
MODebug2
->
Pop
();
91
}
92
93
MOint
moDebugManager::Count
() {
94
return
MODebug2
->
Count
();
95
}
96
97
moDebugManager::~moDebugManager
virtual ~moDebugManager()
Definition:
moDebugManager.cpp:52
moDebugManager::Push
static void Push(moText p_text)
Definition:
moDebugManager.cpp:81
moDebugManager::Message
static void Message(moText p_text)
Anuncia un mensaje al usuario además de guardarlo en el log de texto.
Definition:
moDebugManager.cpp:72
moDebug::Pop
moText Pop()
Saca y devuelve el primer texto ingresado a la lista.
Definition:
moAbstract.h:126
moDebug::Error
void Error(moText p_text)
Anuncia y registra un error.
Definition:
moAbstract.cpp:79
moMoldeoObject::SetName
void SetName(const moText &p_name)
Definition:
moMoldeoObject.h:509
moDebug::Count
MOint Count()
Devuelve la cantidad de mensajes almacenados.
Definition:
moAbstract.h:136
MOboolean
#define MOboolean
Definition:
moTypes.h:385
moDebugManager::Error
static void Error(moText p_text)
Anuncia un error.
Definition:
moDebugManager.cpp:68
moResource::SetResourceType
void SetResourceType(moResourceType p_restype)
Definition:
moResourceManager.cpp:96
moDebugManager::moDebugManager
moDebugManager()
Definition:
moDebugManager.cpp:41
moText0
clase de para manejar textos
Definition:
moText.h:75
MO_OBJECT_RESOURCE
Dispositivo de entrada/salida, típicamente, interfaces humanas de IO y datos ( teclado, mouse, tableta, tcp, udp, serial )
Definition:
moTypes.h:532
moDebug::Log
void Log(moText p_text)
Escribe un mensaje en el archivo de registro (log)
Definition:
moAbstract.cpp:123
moDebugManager::Log
static void Log(moText p_text)
Escribe un mensaje en el archivo de registro (log)
Definition:
moDebugManager.cpp:77
MOint
#define MOint
Definition:
moTypes.h:388
moDebugManager::Init
virtual MOboolean Init()
Definition:
moDebugManager.cpp:58
moDebugManager::Finish
virtual MOboolean Finish()
Definition:
moDebugManager.cpp:63
moMoldeoObject::SetLabelName
void SetLabelName(const moText &p_labelname)
Definition:
moMoldeoObject.h:514
moAbstract::MODebug2
static moDebug * MODebug2
Clase de impresión de errores para depuración.
Definition:
moAbstract.h:225
moDebug::Push
void Push(moText p_text)
Apila el mensaje dentro de la pila de mensajes.
Definition:
moAbstract.h:115
moDebugManager::Pop
static moText Pop()
Definition:
moDebugManager.cpp:89
moDebug::Message
void Message(moText p_text)
Anuncia un mensaje al usuario además de guardarlo en el log de texto.
Definition:
moAbstract.cpp:114
MO_RESOURCETYPE_DEBUG
Definition:
moResourceManager.h:72
moMoldeoObject::SetType
void SetType(moMoldeoObjectType p_type)
Definition:
moMoldeoObject.cpp:981
moDebugManager::Count
static MOint Count()
Definition:
moDebugManager.cpp:93
moDebugManager.h
libmoldeo
moDebugManager.cpp
Generado el Jueves, 18 de Enero de 2018 13:10:27 para libmoldeo (Moldeo 1.0 Core) por
1.8.8