oaSteiner.h

Go to the documentation of this file.
00001 // *****************************************************************************
00002 // *****************************************************************************
00003 // oaSteiner.h
00004 //
00005 // This file contains the definition for the oaSteiner class.
00006 //
00007 // The oaSteiner class specifies a connection point for connecting routes before
00008 // the physical routing phase. It represents a logical figure that can have an
00009 // associated layer and can belong to a net.
00010 //
00011 // *****************************************************************************
00012 // Except as specified in the OpenAccess terms of use of Cadence or Silicon
00013 // Integration Initiative, this material may not be copied, modified,
00014 // re-published, uploaded, executed, or distributed in any way, in any medium,
00015 // in whole or in part, without prior written permission from Cadence.
00016 //
00017 //                Copyright 2002-2005 Cadence Design Systems, Inc.
00018 //                           All Rights Reserved.
00019 //
00020 //  $Author: icftcm $
00021 //  $Revision: #1 $
00022 //  $Date: 2010/08/09 $
00023 //  $State: Exp $
00024 // *****************************************************************************
00025 // *****************************************************************************
00026 
00027 
00028 
00029 #if !defined(oaSteiner_P)
00030 #define oaSteiner_P
00031 
00032 
00033 
00034 // *****************************************************************************
00035 // Nested includes
00036 // *****************************************************************************
00037 #include "oaFig.h"
00038 #include "oaLayerHeader.h"
00039 
00040 
00041 
00042 // *****************************************************************************
00043 // Declare and define types in the OpenAccess namespace.
00044 // *****************************************************************************
00045 BEGIN_OA_NAMESPACE
00046 
00047 
00048 
00049 // *****************************************************************************
00050 // oaSteiner
00051 // *****************************************************************************
00052 class OA_DESIGN_DLL_API oaSteiner : public oaConnFig {
00053 public:
00054     static oaSteiner                    *create(oaBlock     *block,
00055                                                 const oaBox &bBox,
00056                                                 oaLayerNum  layer = oacAnyLayerNum);
00057 
00058     oaLayerHeader                       *getLayerHeader() const;
00059     oaLayerNum                          getLayerNum() const;
00060 
00061     void                                setBBox(const oaBox &bBox);
00062     void                                setLayerNum(oaLayerNum layer);
00063 
00064     oaCollection<oaRoute, oaSteiner>    getConnRoutes() const;
00065 
00066     enum {dtIndex = oacSteinerDataType};
00067 };
00068 
00069 
00070 
00071 // *****************************************************************************
00072 // Design Traits.
00073 // *****************************************************************************
00074 template<>
00075 class oaTraits<oaSteiner> {
00076 public:
00077     typedef oaConnFig               parentType;
00078     typedef oaSteinerModTypeEnum    modTypeType;
00079     enum {domain = oacBlockDomain};
00080     enum {dbType = oacDesignDBType};
00081     enum {isMultiDomain = false};
00082     enum {dtIndex = oacSteinerDataType};
00083     enum {isConcrete = true};
00084     enum {objectTypeEnumVal = oacSteinerType};
00085     enum {dataTypeEnumVal = oacSteinerDataType};
00086 };
00087 
00088 
00089 
00090 END_OA_NAMESPACE
00091 
00092 #endif

Return to top of page