-
Notifications
You must be signed in to change notification settings - Fork 0
/
VehicleQueryPerformerType.h
53 lines (42 loc) · 1.84 KB
/
VehicleQueryPerformerType.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
/********************************************************************
* *
* Auto Generated File *
* *
*********************************************************************/
#ifndef __VehicleQueryPerformerType_H
#define __VehicleQueryPerformerType_H
/** include files **/
#include "atomic.h" // class Atomic
/** forward declarations **/
//TODO: add distribution class declaration here if needed
// Ej: class Distribution ;
/** declarations **/
class VehicleQueryPerformerType: public Atomic
{
public:
VehicleQueryPerformerType( const string &name = "VehicleQueryPerformerType" ) ; // Default constructor
~VehicleQueryPerformerType(); // Destructor
virtual string className() const
{return "VehicleQueryPerformerType";}
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 &trafficIn; // this is an input port named 'in'
Port &VQPOut ; // this is an output port named 'out'
// 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 VehicleQueryPerformerType
#endif //__VehicleQueryPerformerType_H