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.
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
moFileWrite.h
Go to the documentation of this file.
1
/*******************************************************************************
2
3
moFileWrite.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
// Network device for input //
32
33
#include "
moConfig.h
"
34
#include "
moDeviceCode.h
"
35
#include "
moEventList.h
"
36
#include "
moIODeviceManager.h
"
37
#include "
moTypes.h
"
38
39
//#include "sdlnet/SDL_net.h"
40
#include "SDL_thread.h"
41
42
#ifndef __MO_FILE_WRITE_H
43
#define __MO_FILE_WRITE_H
44
45
class
LIBMOLDEO_API
moFileWrite
:
public
moIODevice
46
{
47
public
:
48
moFileWrite
(
moEventList
*);
49
~
moFileWrite
();
50
51
void
Update
(
moEventList
*);
52
MOboolean
Init
();
53
MOswitch
GetStatus
(
MOdevcode
);
54
MOswitch
SetStatus
(
MOdevcode
,
MOswitch
);
55
MOint
GetValue
(
MOdevcode
);
56
MOdevcode
GetCode
(
moText
);
57
MOboolean
Finish
();
58
59
private
:
60
moConfig
config;
61
62
moEventList
*events;
63
};
64
65
int
file_write_thread_main
(
void
*);
66
67
#endif
68
=======
69
// Network device for input //
70
71
#include "
moConfig.h
"
72
#include "ajCodigoDispositivo.h"
73
#include "
moEventList.h
"
74
#include "
moIODeviceManager.h
"
75
#include "
moTypes.h
"
76
77
//#include "sdlnet/SDL_net.h"
78
#include "SDL_thread.h"
79
80
#ifndef __MO_FILE_WRITE_H
81
#define __MO_FILE_WRITE_H
82
83
class
LIBMOLDEO_API
ajFileWrite :
public
moIODevice
84
{
85
public
:
86
ajFileWrite(
moEventList
*);
87
~ajFileWrite();
88
89
void
Currentizar(
moEventList
*);
90
MOboolean
Init
();
91
MOswitch
getEstado(MOcodigodisp);
92
MOswitch
setEstado( MOcodigodisp,
MOswitch
);
93
MOint
getValor(MOcodigodisp);
94
MOcodigodisp getCodigo(
moText
);
95
MOboolean
Finish
();
96
97
private
:
98
moConfig
config;
99
100
moEventList
*eventos;
101
};
102
103
int
file_write_thread_main
(
void
*);
104
105
#endif
106
moIODevice::GetValue
virtual MOint GetValue(MOdevcode)=0
moIODevice::Finish
virtual MOboolean Finish()=0
moIODevice::Update
virtual void Update(moEventList *)=0
moIODevice
Definition:
moIODevice.h:41
MOboolean
#define MOboolean
Definition:
moTypes.h:385
moIODevice::GetCode
virtual MOdevcode GetCode(moText)=0
moTypes.h
MOswitch
#define MOswitch
Definition:
moTypes.h:386
LIBMOLDEO_API
#define LIBMOLDEO_API
Definition:
moTypes.h:180
moConfig.h
moIODevice::Init
virtual MOboolean Init()=0
moEventList
Lista de eventos.
Definition:
moEventList.h:139
moText0
clase de para manejar textos
Definition:
moText.h:75
MOdevcode
#define MOdevcode
Definition:
moTypes.h:412
file_write_thread_main
int file_write_thread_main(void *)
MOint
#define MOint
Definition:
moTypes.h:388
moIODeviceManager.h
moFileWrite
Definition:
moFileWrite.h:45
moIODevice::GetStatus
virtual MOswitch GetStatus(MOdevcode)=0
moDeviceCode.h
moIODevice::SetStatus
virtual MOswitch SetStatus(MOdevcode, MOswitch)=0
moEventList.h
moConfig
almacena la configuración de los parámetros de un objeto en un archivo XML
Definition:
moConfig.h:193
libmoldeo
moFileWrite.h
Generated on Wed May 17 2017 14:09:17 for libmoldeo (Moldeo 1.0 Core) by
1.8.8