Class Hierarchy   File List   Compound Members  

HCtrlDB Class Reference

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

#include <HCtrlDB.h>

List of all members.

Public Methods

void AddRef (void)
void ReleaseRef (void)
long GetNewNullDriver (void)
long GetNewDriver (CString & csDriverName)
void DeleteDriver (long lDriverKey)


Detailed Description

A HOOPS/ActiveX 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.

The HOOPS/MVO HDB class that is used in conjunction with HOOPS/ActiveX should be based on HCtrlDB.


Member Function Documentation

void HCtrlDB::AddRef ( void )

Increases the reference count which denotes the current number of driver instances

void HCtrlDB::DeleteDriver ( long lDriverKey )

Deletes a HOOPS/3dGS driver instance segment

Parameters:
lDriverKey   The key of the segment to be deleted.

long HCtrlDB::GetNewDriver ( CString & csDriverName )

Creates a new HOOPS/3dGS real driver instance

Parameters:
csDriverName   The name of the driver instance segment. Passed by reference.
Returns:
The key of the HOOPS/3dGS segment denoting the new real driver instance

long HCtrlDB::GetNewNullDriver ( void )

Creates a new HOOPS/3dGS null driver instance

Returns:
The key of the HOOPS/3dGS segment denoting the null driver instance

void HCtrlDB::ReleaseRef ( void )

Decreases the reference count which denotes the current number of driver instances


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


Copyright © 2000 Tech Soft 3D