oaGroundedNode.h

Go to the documentation of this file.
00001 // *****************************************************************************
00002 // *****************************************************************************
00003 // oaGroundedNode.h
00004 //
00005 // This file contains the definition for the oaGroundedNode class, which
00006 // represents a node in a parasitic network for a net, where the node also
00007 // includes capacitance to an implicit ground.
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 2002-2005 Cadence Design Systems, Inc.
00016 //                           All Rights Reserved.
00017 //
00018 //  $Author: icftcm $
00019 //  $Revision: #1 $
00020 //  $Date: 2010/08/09 $
00021 //  $State: Exp $
00022 // *****************************************************************************
00023 // *****************************************************************************
00024 
00025 
00026 
00027 #if !defined(oaGroundedNode_P)
00028 #define oaGroundedNode_P
00029 
00030 
00031 
00032 // *****************************************************************************
00033 // Nested includes
00034 // *****************************************************************************
00035 #include "oaAnalysisPoint.h"
00036 #include "oaNode.h"
00037 
00038 
00039 
00040 // *****************************************************************************
00041 // Declare and define types in the OpenAccess namespace.
00042 // *****************************************************************************
00043 BEGIN_OA_NAMESPACE
00044 
00045 
00046 
00047 // *****************************************************************************
00048 // oaGroundedNode
00049 // *****************************************************************************
00050 class OA_DESIGN_DLL_API oaGroundedNode : public oaNode {
00051 public:
00052     static oaGroundedNode   *create(oaParasiticNetwork *network);
00053     static oaGroundedNode   *create(oaParasiticNetwork  *network,
00054                                     oaUInt4             id);
00055 
00056     void                    setValue(const oaAnalysisPoint  *ap,
00057                                      oaFloat                value);
00058     oaFloat                 getValue(const oaAnalysisPoint *ap) const;
00059 };
00060 
00061 
00062 
00063 // *****************************************************************************
00064 // Design Traits.
00065 // *****************************************************************************
00066 template<>
00067 class oaTraits<oaGroundedNode> {
00068 public:
00069     typedef oaNodeModTypeEnum   modTypeType;
00070     typedef oaNode              parentType;
00071     enum {dtIndex = oacNodeDataType};
00072     enum {dataTypeEnumVal = oacNodeDataType};
00073     enum {dbType = oacDesignDBType};
00074     enum {domain = oacNoDomain};
00075     enum {isMultiDomain = false};
00076     enum {isConcrete = true};
00077     enum {objectTypeEnumVal = oacGroundedNodeType};
00078 };
00079 
00080 
00081 
00082 END_OA_NAMESPACE
00083 
00084 #endif

Return to top of page