Alphabetical Class Index   Compound Members   File List  

HCtrlDB Class Reference

A HOOPS/ATL specific implmentation of the HOOPS/MVO HDB class. More...

#include <HCtrlDB.h>

Inheritance diagram for HCtrlDB:

HDB

List of all members.

Public Member Functions

 HCtrlDB (const char *pszDriverType, const char *pszInstanceBase)
void Init ()

Static Public Member Functions

static void AddRef (void)
static void ReleaseRef (void)
static int GetRefCount ()

Static Public Attributes

static int m_nRefCount


Detailed Description

A HOOPS/ATL specific implmentation of the HOOPS/MVO HDB class.

HCtrlDB keeps track of both number of driver instances and to generate a unique instance id for each driver as drivers may be created and deleted a number of times.


Constructor & Destructor Documentation

HCtrlDB::HCtrlDB ( const char *  pszDriverType,
const char *  pszInstanceBase 
)

Constructor

Parameters:
pszDriverType HOOPS Display Driver Type
pszInstanceBase HOOPS Window Instance


Member Function Documentation

void HCtrlDB::Init (  )  [virtual]

Class Initialization

Reimplemented from HDB.

static void HCtrlDB::AddRef ( void   )  [static]

Increment reference count

static void HCtrlDB::ReleaseRef ( void   )  [static]

Decrement reference count

static int HCtrlDB::GetRefCount (  )  [inline, static]

Returns:
Current reference count

References m_nRefCount.


Member Data Documentation

int HCtrlDB::m_nRefCount [static]

Number of driver instances

Referenced by GetRefCount().


The documentation for this class was generated from the following file: