This method returns the current value of the OMReactive class attribute. It is called by the rootState_dispatchEvent method.
Public
int isBusy() const
The method returns one of the following integers:
The doBusy method sets the value of sm_busy to 1 or TRUE; the undoBusy method sets the value of sm_busy to 0 or FALSE.
Rational® Rhapsody® applies a safety mechanism to the flat statechart implementation that prevents self-directed trigger operations. If Rational Rhapsody finds this condition, it simply ignores the invocation.
To omit the safety, you can override OMReactive::processEvent() in the user class code (this omits the check of isBusy() but does not modify the framework code. However, this can make the behavior unpredictable. The handleEventNotConsumed or handleTONotConsumed operations provide more predictable results.