80 lines
42 KiB
HTML
80 lines
42 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>Kite - Detailed Router</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">Kite - Detailed Router</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.13 -->
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
$(function() {
|
|
initMenu('',false,false,'search.php','Search');
|
|
});
|
|
</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_2916ee297f5e79ec495d393dfe8ba769.html">kite</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">Session.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// -*- mode: C++; explicit-buffer-name: "Session.h<kite>" -*-</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">//</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <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> <span class="comment">// Copyright (c) UPMC 2008-2018, All Rights Reserved</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">//</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">// +-----------------------------------------------------------------+</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <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> <span class="comment">// | K i t e - D e t a i l e d R o u t e r |</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// | |</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">// | Author : Jean-Paul CHAPUT |</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// | E-mail : Jean-Paul.Chaput@asim.lip6.fr |</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">// | =============================================================== |</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// | C++ Header : "./kite/Session.h" |</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// +-----------------------------------------------------------------+</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef KITE_SESSION_H</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#define KITE_SESSION_H</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <set></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keyword">namespace </span><a class="code" href="namespaceHurricane.html">Hurricane</a> {</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keyword">class </span>Record;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keyword">class </span>Net;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="keyword">class </span>Segment;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> }</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include "katabatic/Session.h"</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">namespace </span><a class="code" href="namespaceKatabatic.html">Katabatic</a> {</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keyword">class </span>GCell;</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keyword">class </span>AutoSegment;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> }</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">namespace </span><a class="code" href="namespaceKite.html">Kite</a> {</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keyword">using</span> std::set;</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keyword">using</span> std::vector;</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keyword">using</span> std::string;</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keyword">using</span> Hurricane::Record;</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keyword">using</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Net_1_1Direction.html">Hurricane::Net</a>;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keyword">using</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Segment.html">Hurricane::Segment</a>;</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keyword">using</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1DbU.html">Hurricane::DbU</a>;</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keyword">using</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/katabatic/doc/html/katabatic.tag:../katabatic/" href="../katabatic/classKatabatic_1_1AutoSegment.html">Katabatic::AutoSegment</a>;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keyword">class </span>Track;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keyword">class </span>TrackElement;</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keyword">class </span>TrackMarker;</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keyword">class </span>NegociateWindow;</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keyword">class </span>Configuration;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keyword">class </span>KiteEngine;</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> </div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="comment">// -------------------------------------------------------------------</span></div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="comment">// Class : "Session".</span></div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="classKite_1_1Session.html"> 59</a></span>  <span class="keyword">class </span><a class="code" href="classKite_1_1Session.html">Session</a> : <span class="keyword">public</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/katabatic/doc/html/katabatic.tag:../katabatic/" href="../katabatic/classKatabatic_1_1Session.html">Katabatic::Session</a> {</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> </div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keyword">typedef</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/katabatic/doc/html/katabatic.tag:../katabatic/" href="../katabatic/classKatabatic_1_1Session.html">Katabatic::Session</a> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/katabatic/doc/html/katabatic.tag:../katabatic/" href="../katabatic/classKatabatic_1_1Session.html">Super</a>; </div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keyword">static</span> <a class="code" href="classKite_1_1Session.html">Session</a>* open ( <a class="code" href="classKite_1_1KiteEngine.html">KiteEngine</a>* );</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keyword">static</span> <a class="code" href="classKite_1_1Session.html">Session</a>* <span class="keyword">get</span> ( <span class="keyword">const</span> <span class="keywordtype">char</span>* message=NULL );</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/katabatic/doc/html/katabatic.tag:../katabatic/" href="../katabatic/classKatabatic_1_1Session.html">Katabatic::Session</a>* base ();</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">bool</span> isEmpty ();</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <a class="code" href="classKite_1_1KiteEngine.html">KiteEngine</a>* getKiteEngine ();</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keyword">static</span> Configuration* getConfiguration ();</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <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>* getBlockageNet ();</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <a class="code" href="classKite_1_1NegociateWindow.html">NegociateWindow</a>* getNegociateWindow ();</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> getRipupCost ();</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/katabatic/doc/html/katabatic.tag:../katabatic/" href="../katabatic/classKatabatic_1_1GCell_1_1CompareByDensity.html">Katabatic::GCell</a>* getGCellUnder ( <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/group__DbUGroup.html#ga4fbfa3e8c89347af76c9628ea06c4146">DbU::Unit</a>, <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/group__DbUGroup.html#ga4fbfa3e8c89347af76c9628ea06c4146">DbU::Unit</a> );</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> setInterrupt ( <span class="keywordtype">bool</span> );</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">void</span> addInsertEvent ( <a class="code" href="classKite_1_1TrackMarker.html">TrackMarker</a>* , <a class="code" href="classKite_1_1Track.html">Track</a>* );</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">void</span> addInsertEvent ( <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* , <a class="code" href="classKite_1_1Track.html">Track</a>* );</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">void</span> addRemoveEvent ( <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* );</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">void</span> addMoveEvent ( <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* , <a class="code" href="classKite_1_1Track.html">Track</a>* );</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">void</span> addSortEvent ( <a class="code" href="classKite_1_1Track.html">Track</a>*, <span class="keywordtype">bool</span> forced=<span class="keyword">false</span> );</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">size_t</span> revalidate ();</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keyword">static</span> <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* lookup ( <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Segment.html">Segment</a>* );</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keyword">static</span> <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* lookup ( <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/katabatic/doc/html/katabatic.tag:../katabatic/" href="../katabatic/classKatabatic_1_1AutoSegment.html">AutoSegment</a>* );</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keyword">private</span>: </div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <a class="code" href="classKite_1_1KiteEngine.html">KiteEngine</a>* _getKiteEngine ();</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <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>* _getBlockageNet ();</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> _getRipupCost ();</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/katabatic/doc/html/katabatic.tag:../katabatic/" href="../katabatic/classKatabatic_1_1GCell_1_1CompareByDensity.html">Katabatic::GCell</a>* _getGCellUnder ( <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/group__DbUGroup.html#ga4fbfa3e8c89347af76c9628ea06c4146">DbU::Unit</a>, <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/group__DbUGroup.html#ga4fbfa3e8c89347af76c9628ea06c4146">DbU::Unit</a> );</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordtype">void</span> _doRemovalEvents ();</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> _revalidate ();</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordtype">bool</span> _isEmpty () <span class="keyword">const</span>;</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <a class="code" href="classKite_1_1NegociateWindow.html">NegociateWindow</a>* _getNegociateWindow ();</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keywordtype">void</span> _addInsertEvent ( <a class="code" href="classKite_1_1TrackMarker.html">TrackMarker</a>* , <a class="code" href="classKite_1_1Track.html">Track</a>* );</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keywordtype">void</span> _addInsertEvent ( <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* , <a class="code" href="classKite_1_1Track.html">Track</a>* );</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordtype">void</span> _addRemoveEvent ( <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* );</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keywordtype">void</span> _addMoveEvent ( <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* , <a class="code" href="classKite_1_1Track.html">Track</a>* );</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordtype">void</span> _addSortEvent ( <a class="code" href="classKite_1_1Track.html">Track</a>*, <span class="keywordtype">bool</span> forced );</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keyword">virtual</span> Record* _getRecord () <span class="keyword">const</span>;</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keyword">virtual</span> <span class="keywordtype">string</span> _getTypeName () <span class="keyword">const</span>;</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span> </div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="comment">// Internal Classes.</span></div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keyword">class </span>Event {</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keyword">inline</span> Event ( <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>*, <a class="code" href="classKite_1_1Track.html">Track</a>* );</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keyword">inline</span> Event ( <a class="code" href="classKite_1_1TrackMarker.html">TrackMarker</a>* , <a class="code" href="classKite_1_1Track.html">Track</a>* );</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* _segment;</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <a class="code" href="classKite_1_1TrackMarker.html">TrackMarker</a>* _marker;</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <a class="code" href="classKite_1_1Track.html">Track</a>* _track;</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  };</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span> </div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="comment">// Attributes.</span></div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  vector<Event> _insertEvents;</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  vector<Event> _removeEvents;</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  set<Track*> _sortEvents;</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span> </div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="comment">// Constructors & Destructors.</span></div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <a class="code" href="classKite_1_1Session.html">Session</a> ( <a class="code" href="classKite_1_1KiteEngine.html">KiteEngine</a>* );</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keyword">virtual</span> ~<a class="code" href="classKite_1_1Session.html">Session</a> ();</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> _postCreate ();</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> _preDestroy ();</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <a class="code" href="classKite_1_1Session.html">Session</a> ( <span class="keyword">const</span> <a class="code" href="classKite_1_1Session.html">Session</a>& );</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <a class="code" href="classKite_1_1Session.html">Session</a>& operator= ( <span class="keyword">const</span> <a class="code" href="classKite_1_1Session.html">Session</a>& );</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span> </div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  };</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> </div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span> </div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span> <span class="comment">// Inline Functions.</span></div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keyword">inline</span> Session::Event::Event ( <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* segment , <a class="code" href="classKite_1_1Track.html">Track</a>* track )</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  : _segment(segment)</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  , _marker (NULL)</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  , _track (track)</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  { }</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span> </div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keyword">inline</span> Session::Event::Event ( <a class="code" href="classKite_1_1TrackMarker.html">TrackMarker</a>* marker , <a class="code" href="classKite_1_1Track.html">Track</a>* track )</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  : _segment(NULL)</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  , _marker (marker)</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  , _track (track)</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  { }</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span> </div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span> </div><div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="classKite_1_1Session.html#a8a3fc782c34dc075bb2e14209e245494"> 146</a></span>  <span class="keyword">inline</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/katabatic/doc/html/katabatic.tag:../katabatic/" href="../katabatic/classKatabatic_1_1Session.html">Katabatic::Session</a>* Session::base ()</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  { <span class="keywordflow">return</span> <span class="keyword">static_cast<</span><a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/katabatic/doc/html/katabatic.tag:../katabatic/" href="../katabatic/classKatabatic_1_1Session.html">Katabatic::Session</a>*<span class="keyword">></span>(<span class="keyword">get</span>(<span class="stringliteral">"base()"</span>)); }</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span> </div><div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="classKite_1_1Session.html#a7b6c91acd2c2a7c082b3b006c1bdc91d"> 149</a></span>  <span class="keyword">inline</span> <a class="code" href="classKite_1_1KiteEngine.html">KiteEngine</a>* Session::getKiteEngine ()</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  { <span class="keywordflow">return</span> <span class="keyword">get</span>(<span class="stringliteral">"getKiteEngine()"</span>)->_getKiteEngine(); }</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span> </div><div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="classKite_1_1Session.html#aef6f41b0e8265ad574d1797f46ab9fa8"> 152</a></span>  <span class="keyword">inline</span> <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>* Session::getBlockageNet ()</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  { <span class="keywordflow">return</span> <span class="keyword">get</span>(<span class="stringliteral">"getBlockageNet()"</span>)->_getBlockageNet(); }</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span> </div><div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="classKite_1_1Session.html#a39ebff178f2e0abb9d5a29f485e0bbab"> 155</a></span>  <span class="keyword">inline</span> <a class="code" href="classKite_1_1NegociateWindow.html">NegociateWindow</a>* Session::getNegociateWindow ()</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  { <span class="keywordflow">return</span> <span class="keyword">get</span>(<span class="stringliteral">"getNegociateWindow()"</span>)->_getNegociateWindow(); }</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span> </div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <span class="keyword">inline</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> Session::getRipupCost ()</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  { <span class="keywordflow">return</span> <span class="keyword">get</span>(<span class="stringliteral">"getRipupCost()"</span>)->_getRipupCost(); }</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span> </div><div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="classKite_1_1Session.html#a27ecb1cf5ffabe1c7901c5c894a5067d"> 161</a></span>  <span class="keyword">inline</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/katabatic/doc/html/katabatic.tag:../katabatic/" href="../katabatic/classKatabatic_1_1GCell_1_1CompareByDensity.html">Katabatic::GCell</a>* Session::getGCellUnder ( <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/group__DbUGroup.html#ga4fbfa3e8c89347af76c9628ea06c4146">DbU::Unit</a> x, <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/group__DbUGroup.html#ga4fbfa3e8c89347af76c9628ea06c4146">DbU::Unit</a> y )</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  { <span class="keywordflow">return</span> <span class="keyword">get</span>(<span class="stringliteral">"getGCellUnder()"</span>)->_getGCellUnder(x,y); }</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span> </div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> Session::addInsertEvent ( <a class="code" href="classKite_1_1TrackMarker.html">TrackMarker</a>* marker, <a class="code" href="classKite_1_1Track.html">Track</a>* track )</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  { <span class="keyword">get</span>(<span class="stringliteral">"addInsertEvent(TrackMarker*)"</span>)->_addInsertEvent(marker,track); }</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span> </div><div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="classKite_1_1Session.html#ad4f08dfb62ce626ed72023ce02e7205f"> 167</a></span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> Session::addInsertEvent ( <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* segment, <a class="code" href="classKite_1_1Track.html">Track</a>* track )</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  { <span class="keyword">get</span>(<span class="stringliteral">"addInsertEvent(TrackElement*)"</span>)->_addInsertEvent(segment,track); }</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span> </div><div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="classKite_1_1Session.html#aedd573fc951ed93f8ada5b0522813c3a"> 170</a></span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> Session::addRemoveEvent ( <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* segment )</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  { <span class="keyword">get</span>(<span class="stringliteral">"addRemoveEvent()"</span>)->_addRemoveEvent(segment); }</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span> </div><div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="classKite_1_1Session.html#aa42e4cb9e2559c00d68821f535ef7838"> 173</a></span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> Session::addMoveEvent ( <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* segment, <a class="code" href="classKite_1_1Track.html">Track</a>* track )</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  { <span class="keyword">get</span>(<span class="stringliteral">"addMoveEvent()"</span>)->_addMoveEvent(segment,track); }</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span> </div><div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="classKite_1_1Session.html#a990d32b1f1ea661b088a05f86319772f"> 176</a></span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> Session::addSortEvent ( <a class="code" href="classKite_1_1Track.html">Track</a>* track, <span class="keywordtype">bool</span> forced )</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  { <span class="keyword">get</span>(<span class="stringliteral">"addSortEvent()"</span>)->_addSortEvent(track,forced); }</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span> </div><div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="classKite_1_1Session.html#a5bd93abe1416952ace15a98dbeeed124"> 179</a></span>  <span class="keyword">inline</span> <span class="keywordtype">size_t</span> Session::revalidate ()</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  { <span class="keywordflow">return</span> <span class="keyword">get</span>(<span class="stringliteral">"revalidate()"</span>)->_revalidate(); }</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span> </div><div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="classKite_1_1Session.html#af337ffd75e4f019ce15302c60715d84b"> 182</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> Session::isEmpty ()</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  { <span class="keywordflow">return</span> <span class="keyword">get</span>(<span class="stringliteral">"isEmpty()"</span>)->_isEmpty(); }</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span> </div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span> </div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span> } <span class="comment">// Kite namespace.</span></div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span> </div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span> <span class="preprocessor">#endif // KITE_SESSION_H</span></div><div class="ttc" id="classKatabatic_1_1GCell_1_1CompareByDensity_html"><div class="ttname"><a href="../katabatic/classKatabatic_1_1GCell_1_1CompareByDensity.html">Katabatic::GCell</a></div></div>
|
|
<div class="ttc" id="classHurricane_1_1Net_1_1Direction_html"><div class="ttname"><a href="../hurricane/classHurricane_1_1Net_1_1Direction.html">Hurricane::Net</a></div></div>
|
|
<div class="ttc" id="group__DbUGroup_html_ga4fbfa3e8c89347af76c9628ea06c4146"><div class="ttname"><a href="../hurricane/group__DbUGroup.html#ga4fbfa3e8c89347af76c9628ea06c4146">Hurricane::DbU::Unit</a></div><div class="ttdeci">std::int64_t Unit</div></div>
|
|
<div class="ttc" id="classKatabatic_1_1Session_html"><div class="ttname"><a href="../katabatic/classKatabatic_1_1Session.html">Katabatic::Session</a></div></div>
|
|
<div class="ttc" id="classKite_1_1Track_html"><div class="ttname"><a href="classKite_1_1Track.html">Kite::Track</a></div><div class="ttdoc">Structure managing one routing track. </div><div class="ttdef"><b>Definition:</b> Track.h:42</div></div>
|
|
<div class="ttc" id="classKatabatic_1_1AutoSegment_html"><div class="ttname"><a href="../katabatic/classKatabatic_1_1AutoSegment.html">Katabatic::AutoSegment</a></div></div>
|
|
<div class="ttc" id="namespaceKatabatic_html"><div class="ttname"><a href="namespaceKatabatic.html">Katabatic</a></div></div>
|
|
<div class="ttc" id="classKite_1_1NegociateWindow_html"><div class="ttname"><a href="classKite_1_1NegociateWindow.html">Kite::NegociateWindow</a></div><div class="ttdoc">Perform the routing, main RoutingEvent manager. </div><div class="ttdef"><b>Definition:</b> NegociateWindow.h:92</div></div>
|
|
<div class="ttc" id="classKite_1_1KiteEngine_html"><div class="ttname"><a href="classKite_1_1KiteEngine.html">Kite::KiteEngine</a></div><div class="ttdoc">The Kite Tool. </div><div class="ttdef"><b>Definition:</b> KiteEngine.h:60</div></div>
|
|
<div class="ttc" id="classKite_1_1TrackMarker_html"><div class="ttname"><a href="classKite_1_1TrackMarker.html">Kite::TrackMarker</a></div><div class="ttdoc">Tag part of Track with a weight. </div><div class="ttdef"><b>Definition:</b> TrackMarker.h:43</div></div>
|
|
<div class="ttc" id="classHurricane_1_1DbU_html"><div class="ttname"><a href="../hurricane/classHurricane_1_1DbU.html">Hurricane::DbU</a></div></div>
|
|
<div class="ttc" id="classHurricane_1_1Segment_html"><div class="ttname"><a href="../hurricane/classHurricane_1_1Segment.html">Hurricane::Segment</a></div></div>
|
|
<div class="ttc" id="classKite_1_1TrackElement_html"><div class="ttname"><a href="classKite_1_1TrackElement.html">Kite::TrackElement</a></div><div class="ttdoc">Abstract Class for all Elements inserted inside a Track. </div><div class="ttdef"><b>Definition:</b> TrackElement.h:100</div></div>
|
|
<div class="ttc" id="namespaceHurricane_html"><div class="ttname"><a href="namespaceHurricane.html">Hurricane</a></div></div>
|
|
<div class="ttc" id="namespaceKite_html"><div class="ttname"><a href="namespaceKite.html">Kite</a></div><div class="ttdoc">The namespace dedicated to Kite. </div><div class="ttdef"><b>Definition:</b> Constants.h:22</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 class="ttc" id="classKite_1_1Session_html"><div class="ttname"><a href="classKite_1_1Session.html">Kite::Session</a></div><div class="ttdoc">Kite update Session. </div><div class="ttdef"><b>Definition:</b> Session.h:59</div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<br>
|
|
<hr>
|
|
<table class="footer1">
|
|
<tr>
|
|
<td class="LFooter"><small>Generated by doxygen 1.8.13 on Mon May 14 2018</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">Kite - Detailed Router</td>
|
|
<td class="RFooter"><small>Copyright © 2008-2016 UPMC. All rights reserved</small></td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|