| Methods Index |
CNotifierSubclasses: None
CGlobalUser is a base class by which XVT-Power++ users provide application framework objects with a reference to application-specific global information/objects. It is a model of CGlobalClassLib for users. You can insert your own references to global objects or flags or attributes.
CApplication::IApplication to process. The variables are accessed thereafter through CObjectRWC's GU pointer.Beginning with release 4.5, you should not make a copy of this file any longer, instead of deriving your own class. Rather the correct method for usage is to derive from this class and cast the return of
GetGU() to your type. Here is an example:
class MyCGlobalUser : public CGlobalUser
{
public:
DoMyFunction( );
}
...
#define MYGU ((MyCGlobalUser
*)CObjectRWC::GetGU( ))
MYGU -> DoMyStuff( );
Your derived class can be registered as before with IApplication().
CGlobalUser(void);