Operation myOperation
The object's operation to perform.
void deschedule()
Marks this Command as being descheduled.
bool myAmDescheduledByParent
Whether this command was descheduled (is invalid) and shall not be executed.
SUMOTime(T::* Operation)(SUMOTime)
Type of the function to execute.
WrappingCommand(T *receiver, Operation operation)
Constructor.
T * myReceiver
The object the action is directed to.
bool isDescheduled()
whether this command has been descheduled
SUMOTime execute(SUMOTime currentTime)
Executes the command.
~WrappingCommand()
Destructor.