This
method determines whether a reactive object is deleted by its
active object when it reaches a termination connector in its state
machine. This method is called by the processEvent and takeTrigger methods.
SignatureOMBoolean shouldDelete() const
ReturnsThe
method returns one of the following Boolean values:
- TRUE - The framework should delete
the object after it reaches a termination connector.
- FALSE - The framework
should not attempt to delete the object.