Line data Source code
1 : #include "event.hpp"
2 28 : Event::Event(void) {
3 28 : this->type = ARRIVE;
4 28 : this->time = -1;
5 28 : this->idConnection = -1;
6 28 : }
7 :
8 106543 : Event::Event(eventType type, double time, long long idConnection) {
9 106543 : this->type = type;
10 106543 : this->time = time;
11 106543 : this->idConnection = idConnection;
12 106543 : }
13 :
14 159618 : eventType Event::getType() { return this->type; }
15 :
16 266401 : double Event::getTime() { return this->time; }
17 :
18 159633 : long long Event::getIdConnection() { return this->idConnection; }
|