Katabatic - Routing Toolbox


AutoContactTurn.h
1 // -*- C++ -*-
2 //
3 // This file is part of the Coriolis Software.
4 // Copyright (c) UPMC 2012-2018, All Rights Reserved
5 //
6 // +-----------------------------------------------------------------+
7 // | C O R I O L I S |
8 // | K a t a b a t i c - Routing Toolbox |
9 // | |
10 // | Author : Jean-Paul CHAPUT |
11 // | E-mail : Jean-Paul.Chaput@lip6.fr |
12 // | =============================================================== |
13 // | C++ Header : "./katabatic/AutoContactTurn.h" |
14 // +-----------------------------------------------------------------+
15 
16 
17 #ifndef KATABATIC_AUTOCONTACT_TURN_H
18 #define KATABATIC_AUTOCONTACT_TURN_H
19 
20 #include "katabatic/AutoContact.h"
21 
22 
23 namespace Katabatic {
24 
25  class AutoContactTerminal;
26 
27 
28 // -------------------------------------------------------------------
29 // Class : "Katabatic::AutoContactTurn".
30 
31 
32  class AutoContactTurn : public AutoContact {
33  friend class AutoContact;
34  public:
35  static AutoContactTurn* create ( GCell*, Net*, const Layer* );
36  static void insert ( AutoContactTerminal* );
37  protected:
38  // Constructors & Destructors.
40  virtual ~AutoContactTurn ();
41  virtual void _invalidate ( unsigned int flags );
42  public:
43  inline AutoHorizontal* getHorizontal1 () const;
44  inline AutoVertical* getVertical1 () const;
45  virtual AutoSegment* getOpposite ( const AutoSegment* ) const;
46  virtual AutoSegment* getPerpandicular ( const AutoSegment* ) const;
47  virtual AutoSegment* getSegment ( unsigned int ) const;
48  virtual void updateGeometry ();
49  virtual void updateTopology ();
50  virtual void cacheDetach ( AutoSegment* );
51  virtual void cacheAttach ( AutoSegment* );
52  virtual void updateCache ();
53  virtual string _getTypeName () const;
54  private:
56  AutoContactTurn& operator= ( const AutoContactTurn& );
57  private:
58  AutoHorizontal* _horizontal1;
59  AutoVertical* _vertical1;
60  };
61 
62 
63  inline AutoHorizontal* AutoContactTurn::getHorizontal1 () const { return _horizontal1; };
64  inline AutoVertical* AutoContactTurn::getVertical1 () const { return _vertical1; };
65 
66 
67 
68 } // Katabatic namespace.
69 
70 
71 INSPECTOR_P_SUPPORT(Katabatic::AutoContactTurn);
72 
73 
74 #endif // KATABATIC_AUTOCONTACT_TURN_H
virtual void updateTopology()
Definition: AutoContactTurn.cpp:216
virtual AutoSegment * getSegment(unsigned int) const
Definition: AutoContactTurn.cpp:97
virtual void updateGeometry()
Definition: AutoContactTurn.cpp:189
Concrete Horizontal AutoSegment.
Definition: AutoHorizontal.h:31
virtual AutoSegment * getPerpandicular(const AutoSegment *) const
Definition: AutoContactTurn.cpp:89
virtual AutoSegment * getOpposite(const AutoSegment *) const
Definition: AutoContactTurn.cpp:85
Routing Global Cell.
Definition: GCell.h:74
Abstract base class for AutoSegment.
Definition: AutoSegment.h:104
The namespace dedicated to Katabatic.
Definition: Katabatic.dox:13
static AutoContactTurn * create(GCell *, Net *, const Layer *)
Definition: AutoContactTurn.cpp:50
AutoContact Turn (one H, one V)
Definition: AutoContactTurn.h:32
AutoContact Terminal (S/T is a Terminal)
Definition: AutoContactTerminal.h:30
Concrete Vertical AutoSegment.
Definition: AutoVertical.h:32
Abstract base class for AutoContact.
Definition: AutoContact.h:70


Generated by doxygen 1.8.14 on Sun Nov 21 2021 Return to top of page
Katabatic - Routing Toolbox Copyright © 2008-2020 Sorbonne Universite. All rights reserved