coriolis/katabatic/doc/html/AutoContactTurn_8h_source.html

81 lines
21 KiB
HTML

<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0//EN'>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Katabatic Documentation</title>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="SoC.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head>
<h1 id="pagetop" class="header">Katabatic - Routing Toolbox</h1>
<!--
<center class="header">
<table class="header">
<tr>
<td><a href="customSummary.html">Summary</a></td>
<td><a href="namespaces.html">Namespaces</a></td>
<td><a href="customHierarchy.html">Class Hierarchy</a></td>
<td><a href="annotated.html">Classes</a></td>
<td><a href="functions.html">Member Index</a></td>
</tr>
</table>
</center>
-->
<br>
<body onload="javascript:toggleLevel(1)">
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_46a5d811a0c60e95b7acaa92d73c003a.html">katabatic</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">AutoContactTurn.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">// -*- C++ -*-</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// This file is part of the Coriolis Software.</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// Copyright (c) UPMC 2012-2018, All Rights Reserved</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// +-----------------------------------------------------------------+</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">// | C O R I O L I S |</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">// | K a t a b a t i c - Routing Toolbox |</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// | |</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// | Author : Jean-Paul CHAPUT |</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// | E-mail : Jean-Paul.Chaput@lip6.fr |</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// | =============================================================== |</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">// | C++ Header : &quot;./katabatic/AutoContactTurn.h&quot; |</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// +-----------------------------------------------------------------+</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#ifndef KATABATIC_AUTOCONTACT_TURN_H</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define KATABATIC_AUTOCONTACT_TURN_H</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;katabatic/AutoContact.h&quot;</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceKatabatic.html">Katabatic</a> {</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; <span class="keyword">class </span>AutoContactTerminal;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="comment">// -------------------------------------------------------------------</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="comment">// Class : &quot;Katabatic::AutoContactTurn&quot;.</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="classKatabatic_1_1AutoContactTurn.html"> 32</a></span>&#160; <span class="keyword">class </span><a class="code" href="classKatabatic_1_1AutoContactTurn.html">AutoContactTurn</a> : <span class="keyword">public</span> <a class="code" href="classKatabatic_1_1AutoContact.html">AutoContact</a> {</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classKatabatic_1_1AutoContact.html">AutoContact</a>;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <span class="keyword">static</span> <a class="code" href="classKatabatic_1_1AutoContactTurn.html">AutoContactTurn</a>* <a class="code" href="classKatabatic_1_1AutoContactTurn.html#a9d4adb00ccea486f5478bb24e171bdb3">create</a> ( <a class="code" href="classKatabatic_1_1GCell.html">GCell</a>*, <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Net.html">Net</a>*, <span class="keyword">const</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Layer.html">Layer</a>* );</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> insert ( <a class="code" href="classKatabatic_1_1AutoContactTerminal.html">AutoContactTerminal</a>* );</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <span class="keyword">protected</span>:</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="comment">// Constructors &amp; Destructors.</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <a class="code" href="classKatabatic_1_1AutoContactTurn.html">AutoContactTurn</a> ( <a class="code" href="classKatabatic_1_1GCell.html">GCell</a>*, <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Contact.html">Contact</a>* );</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <span class="keyword">virtual</span> ~<a class="code" href="classKatabatic_1_1AutoContactTurn.html">AutoContactTurn</a> ();</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> _invalidate ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flags );</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <span class="keyword">inline</span> <a class="code" href="classKatabatic_1_1AutoHorizontal.html">AutoHorizontal</a>* getHorizontal1 () <span class="keyword">const</span>;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <span class="keyword">inline</span> <a class="code" href="classKatabatic_1_1AutoVertical.html">AutoVertical</a>* getVertical1 () <span class="keyword">const</span>;</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <span class="keyword">virtual</span> <a class="code" href="classKatabatic_1_1AutoSegment.html">AutoSegment</a>* <a class="code" href="classKatabatic_1_1AutoContactTurn.html#ac9c9b04e245a1109e297510a3968b7ac">getOpposite</a> ( <span class="keyword">const</span> <a class="code" href="classKatabatic_1_1AutoSegment.html">AutoSegment</a>* ) <span class="keyword">const</span>;</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <span class="keyword">virtual</span> <a class="code" href="classKatabatic_1_1AutoSegment.html">AutoSegment</a>* <a class="code" href="classKatabatic_1_1AutoContactTurn.html#ad99dd549214e43b6509fd8e3aefae919">getPerpandicular</a> ( <span class="keyword">const</span> <a class="code" href="classKatabatic_1_1AutoSegment.html">AutoSegment</a>* ) <span class="keyword">const</span>;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <span class="keyword">virtual</span> <a class="code" href="classKatabatic_1_1AutoSegment.html">AutoSegment</a>* <a class="code" href="classKatabatic_1_1AutoContactTurn.html#a99fa8a78e97a29f2fb5730eaaa59acfc">getSegment</a> ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> ) <span class="keyword">const</span>;</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKatabatic_1_1AutoContactTurn.html#a3e218f6934c51380fb15d0e2bd380071">updateGeometry</a> ();</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classKatabatic_1_1AutoContactTurn.html#af5bf1f5e71204ef84346e4e036175431">updateTopology</a> ();</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> cacheDetach ( <a class="code" href="classKatabatic_1_1AutoSegment.html">AutoSegment</a>* );</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> cacheAttach ( <a class="code" href="classKatabatic_1_1AutoSegment.html">AutoSegment</a>* );</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> updateCache ();</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">string</span> _getTypeName () <span class="keyword">const</span>;</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="keyword">private</span>: </div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <a class="code" href="classKatabatic_1_1AutoContactTurn.html">AutoContactTurn</a> ( <span class="keyword">const</span> <a class="code" href="classKatabatic_1_1AutoContactTurn.html">AutoContactTurn</a>&amp; );</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <a class="code" href="classKatabatic_1_1AutoContactTurn.html">AutoContactTurn</a>&amp; operator= ( <span class="keyword">const</span> <a class="code" href="classKatabatic_1_1AutoContactTurn.html">AutoContactTurn</a>&amp; );</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <a class="code" href="classKatabatic_1_1AutoHorizontal.html">AutoHorizontal</a>* _horizontal1;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <a class="code" href="classKatabatic_1_1AutoVertical.html">AutoVertical</a>* _vertical1;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; };</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="keyword">inline</span> <a class="code" href="classKatabatic_1_1AutoHorizontal.html">AutoHorizontal</a>* AutoContactTurn::getHorizontal1 ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _horizontal1; };</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <span class="keyword">inline</span> AutoVertical* AutoContactTurn::getVertical1 ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _vertical1; };</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; </div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;} <span class="comment">// Katabatic namespace.</span></div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;INSPECTOR_P_SUPPORT(<a class="code" href="classKatabatic_1_1AutoContactTurn.html">Katabatic::AutoContactTurn</a>);</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;<span class="preprocessor">#endif // KATABATIC_AUTOCONTACT_TURN_H</span></div><div class="ttc" id="classKatabatic_1_1AutoContactTurn_html_af5bf1f5e71204ef84346e4e036175431"><div class="ttname"><a href="classKatabatic_1_1AutoContactTurn.html#af5bf1f5e71204ef84346e4e036175431">Katabatic::AutoContactTurn::updateTopology</a></div><div class="ttdeci">virtual void updateTopology()</div><div class="ttdef"><b>Definition:</b> AutoContactTurn.cpp:216</div></div>
<div class="ttc" id="classKatabatic_1_1AutoContactTurn_html_a99fa8a78e97a29f2fb5730eaaa59acfc"><div class="ttname"><a href="classKatabatic_1_1AutoContactTurn.html#a99fa8a78e97a29f2fb5730eaaa59acfc">Katabatic::AutoContactTurn::getSegment</a></div><div class="ttdeci">virtual AutoSegment * getSegment(unsigned int) const</div><div class="ttdef"><b>Definition:</b> AutoContactTurn.cpp:97</div></div>
<div class="ttc" id="classKatabatic_1_1AutoContactTurn_html_a3e218f6934c51380fb15d0e2bd380071"><div class="ttname"><a href="classKatabatic_1_1AutoContactTurn.html#a3e218f6934c51380fb15d0e2bd380071">Katabatic::AutoContactTurn::updateGeometry</a></div><div class="ttdeci">virtual void updateGeometry()</div><div class="ttdef"><b>Definition:</b> AutoContactTurn.cpp:189</div></div>
<div class="ttc" id="classKatabatic_1_1AutoHorizontal_html"><div class="ttname"><a href="classKatabatic_1_1AutoHorizontal.html">Katabatic::AutoHorizontal</a></div><div class="ttdoc">Concrete Horizontal AutoSegment. </div><div class="ttdef"><b>Definition:</b> AutoHorizontal.h:31</div></div>
<div class="ttc" id="classHurricane_1_1Contact_html"><div class="ttname"><a href="../hurricane/classHurricane_1_1Contact.html">Hurricane::Contact</a></div></div>
<div class="ttc" id="classKatabatic_1_1AutoContactTurn_html_ad99dd549214e43b6509fd8e3aefae919"><div class="ttname"><a href="classKatabatic_1_1AutoContactTurn.html#ad99dd549214e43b6509fd8e3aefae919">Katabatic::AutoContactTurn::getPerpandicular</a></div><div class="ttdeci">virtual AutoSegment * getPerpandicular(const AutoSegment *) const</div><div class="ttdef"><b>Definition:</b> AutoContactTurn.cpp:89</div></div>
<div class="ttc" id="classKatabatic_1_1AutoContactTurn_html_ac9c9b04e245a1109e297510a3968b7ac"><div class="ttname"><a href="classKatabatic_1_1AutoContactTurn.html#ac9c9b04e245a1109e297510a3968b7ac">Katabatic::AutoContactTurn::getOpposite</a></div><div class="ttdeci">virtual AutoSegment * getOpposite(const AutoSegment *) const</div><div class="ttdef"><b>Definition:</b> AutoContactTurn.cpp:85</div></div>
<div class="ttc" id="classKatabatic_1_1GCell_html"><div class="ttname"><a href="classKatabatic_1_1GCell.html">Katabatic::GCell</a></div><div class="ttdoc">Routing Global Cell. </div><div class="ttdef"><b>Definition:</b> GCell.h:74</div></div>
<div class="ttc" id="classKatabatic_1_1AutoSegment_html"><div class="ttname"><a href="classKatabatic_1_1AutoSegment.html">Katabatic::AutoSegment</a></div><div class="ttdoc">Abstract base class for AutoSegment. </div><div class="ttdef"><b>Definition:</b> AutoSegment.h:104</div></div>
<div class="ttc" id="namespaceKatabatic_html"><div class="ttname"><a href="namespaceKatabatic.html">Katabatic</a></div><div class="ttdoc">The namespace dedicated to Katabatic. </div><div class="ttdef"><b>Definition:</b> Katabatic.dox:13</div></div>
<div class="ttc" id="classKatabatic_1_1AutoContactTurn_html_a9d4adb00ccea486f5478bb24e171bdb3"><div class="ttname"><a href="classKatabatic_1_1AutoContactTurn.html#a9d4adb00ccea486f5478bb24e171bdb3">Katabatic::AutoContactTurn::create</a></div><div class="ttdeci">static AutoContactTurn * create(GCell *, Net *, const Layer *)</div><div class="ttdef"><b>Definition:</b> AutoContactTurn.cpp:50</div></div>
<div class="ttc" id="classKatabatic_1_1AutoContactTurn_html"><div class="ttname"><a href="classKatabatic_1_1AutoContactTurn.html">Katabatic::AutoContactTurn</a></div><div class="ttdoc">AutoContact Turn (one H, one V) </div><div class="ttdef"><b>Definition:</b> AutoContactTurn.h:32</div></div>
<div class="ttc" id="classHurricane_1_1Layer_html"><div class="ttname"><a href="../hurricane/classHurricane_1_1Layer.html">Hurricane::Layer</a></div></div>
<div class="ttc" id="classKatabatic_1_1AutoContactTerminal_html"><div class="ttname"><a href="classKatabatic_1_1AutoContactTerminal.html">Katabatic::AutoContactTerminal</a></div><div class="ttdoc">AutoContact Terminal (S/T is a Terminal) </div><div class="ttdef"><b>Definition:</b> AutoContactTerminal.h:30</div></div>
<div class="ttc" id="classKatabatic_1_1AutoVertical_html"><div class="ttname"><a href="classKatabatic_1_1AutoVertical.html">Katabatic::AutoVertical</a></div><div class="ttdoc">Concrete Vertical AutoSegment. </div><div class="ttdef"><b>Definition:</b> AutoVertical.h:32</div></div>
<div class="ttc" id="classKatabatic_1_1AutoContact_html"><div class="ttname"><a href="classKatabatic_1_1AutoContact.html">Katabatic::AutoContact</a></div><div class="ttdoc">Abstract base class for AutoContact. </div><div class="ttdef"><b>Definition:</b> AutoContact.h:70</div></div>
<div class="ttc" id="classHurricane_1_1Net_html"><div class="ttname"><a href="../hurricane/classHurricane_1_1Net.html">Hurricane::Net</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<br>
<hr>
<table class="footer1">
<tr>
<td class="LFooter"><small>Generated by doxygen 1.8.14 on Thu Nov 12 2020</small></td>
<td class="RFooter"><a href='#pagetop'><small>Return to top of page</small></a></td>
</tr>
</table>
<table class="footer2">
<tr>
<td class="LFooter">Katabatic - Routing Toolbox</td>
<td class="RFooter"><small>Copyright &#169; 2008-2020 Sorbonne Universite. All rights reserved</small></td>
</tr>
</table>
</body>
</html>