# Kite - Detailed Router

HorizontalTrack.h
1
2 // -*- C++ -*-
3 //
4 // This file is part of the Coriolis Software.
5 // Copyright (c) UPMC 2008-2013, All Rights Reserved
6 //
7 // +-----------------------------------------------------------------+
8 // | C O R I O L I S |
9 // | K i t e - D e t a i l e d R o u t e r |
10 // | |
11 // | Author : Jean-Paul CHAPUT |
12 // | E-mail : Jean-Paul.Chaput@asim.lip6.fr |
13 // | =============================================================== |
14 // | C++ Header : "./kite/HorizontalTrack.h" |
15 // +-----------------------------------------------------------------+
16
17
18 #ifndef KITE_HORIZONTAL_TRACK_H
19 #define KITE_HORIZONTAL_TRACK_H
20
21 #include "kite/Track.h"
22
23
24 namespace Kite {
25
26
27 // -------------------------------------------------------------------
28 // Class : "HorizontalTrack".
29
30 class HorizontalTrack : public Track {
31
32 public:
33 static HorizontalTrack* create ( RoutingPlane*, unsigned int index );
34 virtual bool isHorizontal () const;
35 virtual bool isVertical () const;
36 virtual unsigned int getDirection () const;
37 virtual Point getPosition ( DbU::Unit coordinate ) const;
38 virtual string _getTypeName () const;
39 virtual Record* _getRecord () const;
40
41 protected:
42 // Constructors & Destructors.
43 HorizontalTrack ( RoutingPlane*, unsigned int index );
44 virtual ~HorizontalTrack ();
45 virtual void _postCreate ();
46 virtual void _preDestroy ();
47 private:
48 HorizontalTrack ( const HorizontalTrack& );
49 HorizontalTrack& operator= ( const HorizontalTrack& );
50 };
51
52
53 } // Kite namespace.
54
55
56 #endif // KITE_HORIZONTAL_TRACK_H
Hurricane::DbU::Unit
std::int64_t Unit
Hurricane::Point
Kite::HorizontalTrack::isHorizontal
virtual bool isHorizontal() const
Definition: HorizontalTrack.cpp:54
Kite::HorizontalTrack::getPosition
virtual Point getPosition(DbU::Unit coordinate) const
Definition: HorizontalTrack.cpp:59
Kite::Track
Structure managing one routing track.
Definition: Track.h:42
Kite::HorizontalTrack::getDirection
virtual unsigned int getDirection() const
Definition: HorizontalTrack.cpp:56
Kite::RoutingPlane
Array of Tracks in one Layer.
Definition: RoutingPlane.h:34
Kite::HorizontalTrack::isVertical
virtual bool isVertical() const
Definition: HorizontalTrack.cpp:55
Kite
The namespace dedicated to Kite.
Definition: Constants.h:22
Kite::HorizontalTrack
Horizontal track managment.
Definition: HorizontalTrack.h:30