Base (microsim) event class.
A wrapper for a Command function.
bool myAmDescheduledByParent
Whether this command was descheduled (is invalid) and shall not be executed.
Operation myOperation
The object's operation to perform.
SUMOTime(* Operation)(SUMOTime)
Type of the function to execute.
StaticCommand(Operation operation)
Constructor.
void deschedule()
Marks this Command as being descheduled.
~StaticCommand()
Destructor.
SUMOTime execute(SUMOTime currentTime)
Executes the command.