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