18 #ifndef WrappingCommand_h 19 #define WrappingCommand_h
Operation myOperation
The object's operation to perform.
Base (microsim) event class.
SUMOTime(T::* Operation)(SUMOTime)
Type of the function to execute.
SUMOTime execute(SUMOTime currentTime)
Executes the command.
WrappingCommand(T *receiver, Operation operation)
Constructor.
bool isDescheduled()
whether this command has been descheduled
~WrappingCommand()
Destructor.
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.
T * myReceiver
The object the action is directed to.