-
Notifications
You must be signed in to change notification settings - Fork 0
/
QueryResultReviewerType.h
61 lines (48 loc) · 2.05 KB
/
QueryResultReviewerType.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
57
58
59
60
61
/********************************************************************
* *
* Auto Generated File *
* *
*********************************************************************/
#ifndef __QueryResultReviewerType_H
#define __QueryResultReviewerType_H
/** include files **/
#include "atomic.h" // class Atomic
/** forward declarations **/
//TODO: add distribution class declaration here if needed
// Ej: class Distribution ;
/** declarations **/
class QueryResultReviewerType: public Atomic
{
public:
QueryResultReviewerType( const string &name = "QueryResultReviewerType" ) ; // Default constructor
~QueryResultReviewerType(); // Destructor
virtual string className() const
{return "QueryResultReviewerType";}
protected:
Model &initFunction();
Model &externalFunction( const ExternalMessage & );
Model &internalFunction( const InternalMessage & );
Model &outputFunction( const InternalMessage & );
private:
// [(!) TODO: declare ports, distributions and other private varibles here]
/*********** Example declarations **********************************/
const Port &vqpin; // this is an input port named 'in'
const Port &pqpin; // this is an input port named 'in'
Port &QRRPassOut; // this is an output port named 'out'
Port &QRRFailOut; // this is an output port named 'out'
bool personQueryPass;
bool vehicleQueryPass;
bool receivedpersonQuery;
bool receivedvehicleQuery;
// Distribution *dist ;
// Distribution &distribution() { return *dist; }
/**************************************************************************/
// [(!) declare common variables]
// Lifetime programmed since the last state transition to the next planned internal transition.
Time sigma;
// Time elapsed since the last state transition until now
Time elapsed;
// Time remaining to complete the last programmed Lifetime
Time timeLeft;
}; // class QueryResultReviewerType
#endif //__QueryResultReviewerType_H