Class Hierarchy   File List   Compound Members  

HCtrlDB.h

00001 //
00002 // Copyright (c) 2000 by Tech Soft 3D, LLC.
00003 // The information contained herein is confidential and proprietary to
00004 // Tech Soft 3D, LLC., and considered a trade secret as defined under
00005 // civil and criminal statutes.  Tech Soft 3D shall pursue its civil
00006 // and criminal remedies in the event of unauthorized use or misappropriation
00007 // of its trade secrets.  Use of this information by anyone other than
00008 // authorized employees of Tech Soft 3D, LLC. is granted only under a
00009 // written non-disclosure agreement, expressly prescribing the scope and
00010 // manner of such use.
00011 //
00012 // $Header: /files/homes/master/cvs/hoops_master/docs_hoops/HoopsActiveX/HoopsMFC/ref_manual/HCtrlDB.h-source.html,v 1.2 2006-08-07 20:39:02 stage Exp $
00013 //
00014 
00015 // HDB.h : interface of the HDB class
00016 // serves as a wrapper class for an instance of the HOOPS database
00017 
00018 
00019 #ifndef _HCtrlDB_H
00020 #define _HCtrlDB_H
00021 
00022 #include "hc.h"
00023 #include "hdb.h"
00024 
00026 
00032 
00033 class HCtrlDB : public HDB
00034 {
00035         
00036 public:
00037                 HCtrlDB    (const char * pszDriverType, const char * pszInstanceBase);
00038                 HCtrlDB    (void);
00039                ~HCtrlDB    (void);
00040 
00041     void        AddRef      (void); 
00042     void        ReleaseRef  (void);
00043 
00044     long        GetNewNullDriver(void);
00045     long        GetNewDriver(CString & csDriverName);
00046     void        DeleteDriver(long lDriverKey);
00047 
00048     void        Init (void);
00049 
00050 private:
00051     int         m_nRefCount;            // number of driver instances
00052     int         m_nUniqueInstanceId;    // Unique Instance Identifier
00053     CString     m_csDriverType;         // Base name for driver instances
00054     CString     m_csInstanceBase;       // Base driver type for driver instances
00055 
00056 };
00057 
00058 #endif
00059 


Copyright © 2000 Tech Soft 3D