# Katabatic Documentation

# 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.
39 AutoContactTurn ( GCell*, Contact* );
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:
55 AutoContactTurn ( const AutoContactTurn& );
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
Katabatic::AutoContactTurn::updateTopology
virtual void updateTopology()
Definition: AutoContactTurn.cpp:216
Katabatic::AutoContactTurn::getSegment
virtual AutoSegment * getSegment(unsigned int) const
Definition: AutoContactTurn.cpp:97
Katabatic::AutoContactTurn::updateGeometry
virtual void updateGeometry()
Definition: AutoContactTurn.cpp:189
Katabatic::AutoHorizontal
Concrete Horizontal AutoSegment.
Definition: AutoHorizontal.h:31
Hurricane::Contact
Katabatic::AutoContactTurn::getPerpandicular
virtual AutoSegment * getPerpandicular(const AutoSegment *) const
Definition: AutoContactTurn.cpp:89
Katabatic::AutoContactTurn::getOpposite
virtual AutoSegment * getOpposite(const AutoSegment *) const
Definition: AutoContactTurn.cpp:85
Katabatic::GCell
Routing Global Cell.
Definition: GCell.h:74
Katabatic::AutoSegment
Abstract base class for AutoSegment.
Definition: AutoSegment.h:104
Katabatic
The namespace dedicated to Katabatic.
Definition: Katabatic.dox:13
Katabatic::AutoContactTurn::create
static AutoContactTurn * create(GCell *, Net *, const Layer *)
Definition: AutoContactTurn.cpp:50
Katabatic::AutoContactTurn
AutoContact Turn (one H, one V)
Definition: AutoContactTurn.h:32
Hurricane::Layer
Katabatic::AutoContactTerminal
AutoContact Terminal (S/T is a Terminal)
Definition: AutoContactTerminal.h:30
Katabatic::AutoVertical
Concrete Vertical AutoSegment.
Definition: AutoVertical.h:32
Katabatic::AutoContact
Abstract base class for AutoContact.
Definition: AutoContact.h:70
Hurricane::Net