XSgDriverPls Class Reference

class XSgDriverPls

This class encapsulates the global data in the Graphics Resource DLL.

Public Member Functions
XSgDriverPls()
Public Attributes
MSgDriverAdapter *iDriver
TInt iError
RMutex iMutex
TInt iOpenCount

Constructor & Destructor Documentation

XSgDriverPls()

XSgDriverPls()

Default constructor, called when the Graphics Resource DLL is loaded into a process. Creates the mutex used to synchronise access to the global data. The mutex will be automatically destroyed by the kernel on process termination.

Member Data Documentation

MSgDriverAdapter * iDriver

MSgDriverAdapter *iDriver

Pointer to the Graphics Resource Adapter singleton in this process.

TInt iError

TInt iError

Result code of the constructor.

RMutex iMutex

RMutex iMutex

Handle to the mutex used to synchronise access to the global data.

TInt iOpenCount

TInt iOpenCount

Number of times SgDriver::Open() has been called from this process without a corresponding call to SgDriver::Close().