oaCouplingCap.h

Go to the documentation of this file.
00001 // *****************************************************************************
00002 // *****************************************************************************
00003 // oaCouplingCap.h
00004 //
00005 // This file contains the definition of the oaCouplingCap class, which
00006 // represents a coupling capacitor between two nodes in a parasitic network for
00007 // a net, or between nodes in parasitic networks for two different nets.
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(oaCouplingCap_P)
00028 #define oaCouplingCap_P
00029 
00030 
00031 
00032 // *****************************************************************************
00033 // Nested includes
00034 // *****************************************************************************
00035 #include "oaStdDevice.h"
00036 
00037 
00038 
00039 // *****************************************************************************
00040 // Declare and define types in the OpenAccess namespace.
00041 // *****************************************************************************
00042 BEGIN_OA_NAMESPACE
00043 
00044 
00045 
00046 // *****************************************************************************
00047 // oaCouplingCap
00048 // *****************************************************************************
00049 class OA_DESIGN_DLL_API oaCouplingCap : public oaStdDevice {
00050 public:
00051     static oaCouplingCap    *create(oaNode  *fromNode,
00052                                     oaNode  *toNode);
00053     static oaCouplingCap    *create(oaNode  *fromNode,
00054                                     oaNode  *toNode,
00055                                     oaUInt4 id);
00056     static oaCouplingCap    *create(oaNode          *fromNode,
00057                                     oaDesignObject  *otherNet,
00058                                     oaUInt4         otherNodeId,
00059                                     oaUInt4         id);
00060     static oaCouplingCap    *create(oaNode          *fromNode,
00061                                     oaDesignObject  *otherConn,
00062                                     oaUInt4         id);
00063 
00064     oaBoolean               isLocal() const;
00065     oaBoolean               isOtherConn() const;
00066 
00067     oaNode                  *getNode(oaEndpointType endpoint) const;
00068     oaNode                  *getOtherNode(oaNode *node) const;
00069     void                    getOtherNode(oaDesignObject *&otherNet,
00070                                          oaUInt4        &otherNodeId) const;
00071     oaDesignObject          *getOtherConn() const;
00072 };
00073 
00074 
00075 
00076 // *****************************************************************************
00077 // Design Traits.
00078 // *****************************************************************************
00079 template<>
00080 class oaTraits<oaCouplingCap> {
00081 public:
00082     typedef oaDeviceModTypeEnum modTypeType;
00083     typedef oaStdDevice         parentType;
00084     enum {dtIndex = oacDeviceDataType};
00085     enum {dataTypeEnumVal = oacDeviceDataType};
00086     enum {dbType = oacDesignDBType};
00087     enum {domain = oacNoDomain};
00088     enum {isMultiDomain = false};
00089     enum {isConcrete = true};
00090     enum {objectTypeEnumVal = oacCouplingCapType};
00091 };
00092 
00093 
00094 
00095 END_OA_NAMESPACE
00096 
00097 #endif

Return to top of page