Alphabetical Class List   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/HoopsATL/ref_manual/_h_ctrl_d_b_8h-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 class HCtrlDB : public HDB
00033 {
00034                 
00035 public:
00036                 HCtrlDB    (const char * pszDriverType, const char * pszInstanceBase);
00037                 HCtrlDB    (void);
00038                ~HCtrlDB    (void);
00042         void                    Init ();
00043 
00048     static void         AddRef      (void); 
00053     static void         ReleaseRef  (void);
00054 
00058         static int              GetRefCount() { return m_nRefCount;} 
00059  
00060     static int         m_nRefCount;            // number of driver instances 
00061 };
00062 
00063 #endif
00064 


Copyright © 2002 Tech Soft 3D