35template<
class T,
class S >
bool isDescheduled()
whether this command has been descheduled
~ParametrisedWrappingCommand()
Destructor.
T * myReceiver
The object the action is directed to.
Operation myOperation
The object's operation to perform.
SUMOTime(T::* Operation)(SUMOTime, S)
Type of the function to execute. (with parameter).
SUMOTime execute(SUMOTime currentTime)
Executes the command.
S myParameter
The parameter.
void deschedule()
Marks this Command as being descheduled.
bool myAmDescheduledByParent
Whether this command was descheduled (is invalid) and shall not be executed.
ParametrisedWrappingCommand(T *receiver, const S ¶m, Operation operation)
Constructor.