oaPlugInBase.h

Go to the documentation of this file.
00001 // *****************************************************************************
00002 // *****************************************************************************
00003 // oaPlugInBase.h
00004 //
00005 // This file contains the definition for oaPlugInBase interface. The template
00006 // oaPlugInBase class allows plugins to support disabling and enabling reference
00007 // counting.
00008 //
00009 // *****************************************************************************
00010 // Except as specified in the OpenAccess terms of use of Cadence or Silicon
00011 // Integration Initiative, this material may not be copied, modified,
00012 // re-published, uploaded, executed, or distributed in any way, in any medium,
00013 // in whole or in part, without prior written permission from Cadence.
00014 //
00015 //                Copyright 2009 Cadence Design Systems, Inc.
00016 //                           All Rights Reserved.
00017 //
00018 //  $Author: dell $
00019 //  $Revision: #4 $
00020 //  $Date: 2009/02/25 $
00021 //  $State:  $
00022 // *****************************************************************************
00023 // *****************************************************************************
00024 
00025 
00026 
00027 #if !defined(oaPlugInBase_P)
00028 #define oaPlugInBase_P
00029 
00030 
00031 
00032 // *****************************************************************************
00033 // Include Files
00034 // *****************************************************************************
00035 #include "oaCommonPlugInBase.h"
00036 
00037 
00038 
00039 // *****************************************************************************
00040 // Declare and define types in the OpenAccess namespace.
00041 // *****************************************************************************
00042 BEGIN_OA_NAMESPACE
00043 
00044 
00045 
00046 // *****************************************************************************
00047 // oaPlugInBase<>
00048 // *****************************************************************************
00049 #if 0
00050 template <class T>
00051 class oaPlugInBase : public oaCommon::PlugInBase<T> {
00052 public:
00053                             oaPlugInBase(unsigned long refIn = 0);
00054     virtual                 ~oaPlugInBase();
00055 
00056     virtual void            disableRefCounting(oaBoolean value);
00057     virtual oaBoolean       isRefCountingEnabled() const;
00058 
00059     virtual unsigned long   addRef();
00060     virtual unsigned long   release();
00061 };
00062 #endif
00063 
00064 
00065 
00066 END_OA_NAMESPACE
00067 
00068 #endif
00069 

Return to top of page