#include <HCtrlDB.h>
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 |
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.
HCtrlDB::HCtrlDB | ( | const char * | pszDriverType, | |
const char * | pszInstanceBase | |||
) |
Constructor
pszDriverType | HOOPS Display Driver Type | |
pszInstanceBase | HOOPS Window Instance |
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] |
int HCtrlDB::m_nRefCount [static] |
Number of driver instances
Referenced by GetRefCount().