Public Member Functions | |
abstract String | getText () |
abstract void | destroy () |
abstract void | execute () |
int | getTime () |
Color | getTextColor () |
Protected Attributes | |
int | time_ |
Color | color_ |
An abstract class for events.
|
pure virtual |
Destroys itself.
Implemented in vanetsim.scenario.events.StartBlocking, and vanetsim.scenario.events.StopBlocking.
|
pure virtual |
This function should be called when the event is due. The event here does all needed actions.
Implemented in vanetsim.scenario.events.StopBlocking, and vanetsim.scenario.events.StartBlocking.
|
pure virtual |
Returns a descriptive text for display in the GUI.
Implemented in vanetsim.scenario.events.StopBlocking, and vanetsim.scenario.events.StartBlocking.
|
inline |
Gets the color of the descriptive text for display in the GUI.
|
inline |
Gets the time when this event will be fired.
|
protected |
The color for display of this event.
|
protected |
The time in milliseconds when this event gets active.