This holds the information needed for an arrival or departure event.
More...
|
| enum | EventKind { arrival,
departure
} |
| | Only two kinds of events.
|
| |
|
| | Event (EventKind theType=arrival, int theTime=0, int theLength=0) |
| | Constructor, as one might expect. More...
|
| |
|
|
EventKind | type |
| | What kind of event this is.
|
| |
|
int | time |
| | Arrival or departure time of the event, as appropriate.
|
| |
|
int | length |
| | Duration of the event. A departure event has a duration of 0.
|
| |
This holds the information needed for an arrival or departure event.
| Event::Event |
( |
EventKind |
theType = arrival, |
|
|
int |
theTime = 0, |
|
|
int |
theLength = 0 |
|
) |
| |
|
inline |
Constructor, as one might expect.
- Parameters
-
| theType | what kind of event this is (arrival or departure) |
| theTime | arrival or departure time of the event, as appropriate |
| theLength | duration of the event. |
The documentation for this struct was generated from the following file: