Recovery
System
       
Subsystem
list
       
Top
level


The RECchildWin Class

This is a simple recovery class for windows derived from QChildWin. The base state consists only of the existence of the window.

Base class: RECbase.

Overridden Methods

boolean IsHappy (RECphase ePhase, boolean logFirstFailure)
void BeHappy (RECphase ePhase)
boolean RequiresWindow (RECphase ePhase, window w)

Protected Stuff

window _wTarget;
RECwindowUid _uTargetUid;


RECchildWin::IsHappy

For all recovery phases, returns TRUE if the window exists (is open).

For more information, see RECbase.IsHappy.


RECchildWin::BeHappy

If the window does not exist, this method calls its Invoke method.

For more information, see RECbase.BeHappy.


RECchildWin::_wTarget

This variable contains the window which is the recovery target. It should only be directly accessed during the declaration of the recovery object, or by methods of the recovery object.

Declaration

window _wTarget;


RECchildWin::_uTargetUid

This variable contains the UID of the window which is the recovery target. It should only be directly accessed during the declaration of the recovery object, or by methods of the recovery object. One way to obtain a window UID is to construct one using RECmakeWindowUid.

Declaration

RECwindowUid _uTargetUid;


Example of Usage

window RECchildWin grMyRecovery 
{
    window _wTarget = gwMyWindow; 
    RECwindowUID _uTargetUid = RECmakeWindowUid("MyWinClass", "MyWindow");
};



This page is maintained by (REMOVED).
Last updated 8 March 1999.