 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
17 #ifndef StaticCommand_h
18 #define StaticCommand_h
SUMOTime execute(SUMOTime currentTime)
Executes the command.
SUMOTime(* Operation)(SUMOTime)
Type of the function to execute.
A wrapper for a Command function.
void deschedule()
Marks this Command as being descheduled.
bool myAmDescheduledByParent
Whether this command was descheduled (is invalid) and shall not be executed.
Base (microsim) event class.
Operation myOperation
The object's operation to perform.
~StaticCommand()
Destructor.
StaticCommand(Operation operation)
Constructor.