-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpant.h
56 lines (44 loc) · 1.09 KB
/
pant.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*******************************************************************
*
* DESCRIPTION: Atomic Model Pantalla
*
* AUTHOR: Ariel Gonzalez
*
* EMAIL: mailto://egonzalz@dc.uba.ar
* mailto://agonzalez@tecnet-ibermatica.com.ar
*
* DATE: 26/9/2003
*
*******************************************************************/
#ifndef __PANT_H
#define __PANT_H
#include "atomic.h" // class Atomic
#include "datos.h" // tipos de datos y conversiones
#define MAX_DATALINKS 20
class Pantalla : public Atomic
{
public:
Pantalla( const string &name = "Pantalla" ); //Default constructor
virtual string className() const ;
protected:
Model &initFunction();
Model &externalFunction( const ExternalMessage & );
Model &internalFunction( const InternalMessage & );
Model &outputFunction( const InternalMessage & );
private:
const Port ∈
Port &out;
// parametros
Time refresh_rate;
int cant_datalinks;
datalink *datalinks;
// variables de estado
int cur_datalink;
}; // class Pantalla
// ** inline ** //
inline
string Pantalla::className() const
{
return "Pantalla" ;
}
#endif //__PANT_H