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