00001 // ***************************************************************************** 00002 // ***************************************************************************** 00003 // oaOpPoint.h 00004 // 00005 // This file contains the definition for the oaOpPoint class. This class 00006 // defines an operating point, which represents a single triplet of process, 00007 // voltage, and temperature, defined in a particular analysis library. 00008 // ***************************************************************************** 00009 // Except as specified in the OpenAccess terms of use of Cadence or Silicon 00010 // Integration Initiative, this material may not be copied, modified, 00011 // re-published, uploaded, executed, or distributed in any way, in any medium, 00012 // in whole or in part, without prior written permission from Cadence. 00013 // 00014 // Copyright 2002-2005 Cadence Design Systems, Inc. 00015 // All Rights Reserved. 00016 // 00017 // $Author: icftcm $ 00018 // $Revision: #1 $ 00019 // $Date: 2010/08/09 $ 00020 // $State: Exp $ 00021 // ***************************************************************************** 00022 // ***************************************************************************** 00023 00024 00025 00026 #if !defined(oaOpPoint_P) 00027 #define oaOpPoint_P 00028 00029 00030 00031 // ***************************************************************************** 00032 // Nested includes 00033 // ***************************************************************************** 00034 #include "oaCollection.h" 00035 #include "oaTechModTypes.h" 00036 #include "oaTechObject.h" 00037 00038 00039 00040 // ***************************************************************************** 00041 // Declare and define types in the OpenAccess namespace. 00042 // ***************************************************************************** 00043 BEGIN_OA_NAMESPACE 00044 00045 00046 00047 // ***************************************************************************** 00048 // oaOpPoint 00049 // ***************************************************************************** 00050 class OA_TECH_DLL_API oaOpPoint : public oaTechObject { 00051 public: 00052 static oaOpPoint *create(oaAnalysisLib *analysisLib, 00053 const oaString &name, 00054 oaFloat process, 00055 oaFloat voltage, 00056 oaFloat temperature); 00057 00058 static oaOpPoint *find(const oaAnalysisLib *analysisLib, 00059 const oaString &name); 00060 00061 void destroy(); 00062 00063 void setProcess(oaFloat process); 00064 void setVoltage(oaFloat voltage); 00065 void setTemperature(oaFloat temperature); 00066 00067 void getName(oaString &name) const; 00068 oaFloat getProcess() const; 00069 oaFloat getVoltage() const; 00070 oaFloat getTemperature() const; 00071 00072 oaCollection<oaOpPointHeader, oaOpPoint> getUsedIn() const; 00073 }; 00074 00075 00076 00077 // ***************************************************************************** 00078 // oaTech traits 00079 // ***************************************************************************** 00080 template<> 00081 class oaTraits<oaOpPoint> { 00082 public: 00083 typedef oaTechObject parentType; 00084 typedef oaOpPointModTypeEnum modTypeType; 00085 enum {dbType = oacTechDBType}; 00086 enum {domain = oacNoDomain}; 00087 enum {isMultiDomain = false}; 00088 enum {dtIndex = oacOpPointDataType}; 00089 enum {isConcrete = true}; 00090 enum {objectTypeEnumVal = oacOpPointType}; 00091 enum {dataTypeEnumVal = oacOpPointDataType}; 00092 }; 00093 00094 00095 00096 END_OA_NAMESPACE 00097 00098 #endif
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.