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
moDeviceCode.h
Go to the documentation of this file.
1
/*******************************************************************************
2
3
moDeviceCode.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 __MODEVICECODE_H
33
#define __MODEVICECODE_H
34
35
#include "
moTypes.h
"
36
#include "
moAbstract.h
"
37
38
class
LIBMOLDEO_API
moDeviceCode
{
39
public
:
40
MOint
device
;
41
MOint
devicecode
;
42
MOint
value
;
43
moDeviceCode
*
next
;
44
moDeviceCode
*
previous
;
45
46
moDeviceCode
();
47
moDeviceCode
(
MOint
,
MOint
,
MOint
=0);
48
};
49
50
class
LIBMOLDEO_API
moDeviceCodeList
:
public
moAbstract
{
51
public
:
52
53
moDeviceCode
*
First
;
54
moDeviceCode
*
Last
;
55
56
moDeviceCodeList
();
57
virtual
~
moDeviceCodeList
();
58
59
MOboolean
Init
();
60
void
Add(
MOint
,
MOint
,
MOint
= 0);
61
MOboolean
Delete(
moDeviceCode
*);
62
void
Copy(
moDeviceCodeList
*);
63
MOboolean
Finish
();
64
65
};
66
67
#endif
68
moDeviceCode
Definition:
moDeviceCode.h:38
moAbstract::Finish
virtual MOboolean Finish()
Finaliza el objeto, libera recursos.
Definition:
moAbstract.cpp:147
moDeviceCodeList::Last
moDeviceCode * Last
Definition:
moDeviceCode.h:54
MOboolean
#define MOboolean
Definition:
moTypes.h:385
moDeviceCode::next
moDeviceCode * next
Definition:
moDeviceCode.h:43
moDeviceCodeList
Definition:
moDeviceCode.h:50
moDeviceCodeList::First
moDeviceCode * First
Definition:
moDeviceCode.h:53
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
moAbstract.h
LIBMOLDEO_API
#define LIBMOLDEO_API
Definition:
moTypes.h:180
moDeviceCode::devicecode
MOint devicecode
Definition:
moDeviceCode.h:41
MOint
#define MOint
Definition:
moTypes.h:388
moDeviceCode::value
MOint value
Definition:
moDeviceCode.h:42
moDeviceCode::previous
moDeviceCode * previous
Definition:
moDeviceCode.h:44
moDeviceCode::device
MOint device
Definition:
moDeviceCode.h:40
libmoldeo
moDeviceCode.h
Generated on Wed May 17 2017 14:09:17 for libmoldeo (Moldeo 1.0 Core) by
1.8.8