coriolis/katabatic/doc/html/Observer_8h_source.html

76 lines
26 KiB
HTML
Raw Normal View History

<!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.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_46a5d811a0c60e95b7acaa92d73c003a.html">katabatic</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">Observer.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 2008-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/Observer.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_OBSERVER_H</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#define KATABATIC_OBSERVER_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;hurricane/Error.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;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="comment">// -------------------------------------------------------------------</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="comment">// Classes : &quot;BaseObserver&quot; &amp; &quot;Observer&quot;.</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno"><a c
<div class="ttc" id="classKatabatic_1_1BaseObserver_html_a52e577fb0c4f2e3650928334fb621c2f"><div class="ttname"><a href="classKatabatic_1_1BaseObserver.html#a52e577fb0c4f2e3650928334fb621c2f">Katabatic::BaseObserver::notify</a></div><div class="ttdeci">virtual void notify(unsigned int flags)</div><div class="ttdef"><b>Definition:</b> Observer.cpp:26</div></div>
<div class="ttc" id="classHurricane_1_1Error_html"><div class="ttname"><a href="../hurricane/classHurricane_1_1Error.html">Hurricane::Error</a></div></div>
<div class="ttc" id="classKatabatic_1_1Observable_html"><div class="ttname"><a href="classKatabatic_1_1Observable.html">Katabatic::Observable</a></div><div class="ttdoc">Observer Design Pattern, Subject part. </div><div class="ttdef"><b>Definition:</b> Observer.h:69</div></div>
<div class="ttc" id="classKatabatic_1_1Observable_html_a6438e92e07db169a97ed3eba36788dc4"><div class="ttname"><a href="classKatabatic_1_1Observable.html#a6438e92e07db169a97ed3eba36788dc4">Katabatic::Observable::Observable</a></div><div class="ttdeci">Observable()</div><div class="ttdef"><b>Definition:</b> Observer.h:84</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_1Observer_html_ab05ec12517c51952960dd4f324499b44"><div class="ttname"><a href="classKatabatic_1_1Observer.html#ab05ec12517c51952960dd4f324499b44">Katabatic::Observer::Observer</a></div><div class="ttdeci">Observer(const T *owner)</div><div class="ttdef"><b>Definition:</b> Observer.h:51</div></div>
<div class="ttc" id="classKatabatic_1_1Observable_html_a52e577fb0c4f2e3650928334fb621c2f"><div class="ttname"><a href="classKatabatic_1_1Observable.html#a52e577fb0c4f2e3650928334fb621c2f">Katabatic::Observable::notify</a></div><div class="ttdeci">void notify(unsigned int flags)</div><div class="ttdef"><b>Definition:</b> Observer.h:111</div></div>
<div class="ttc" id="classKatabatic_1_1Observer_html_ac29b8f99d632058c95784fd7233b8474"><div class="ttname"><a href="classKatabatic_1_1Observer.html#ac29b8f99d632058c95784fd7233b8474">Katabatic::Observer::getOwner</a></div><div class="ttdeci">T * getOwner() const</div><div class="ttdef"><b>Definition:</b> Observer.h:63</div></div>
<div class="ttc" id="classKatabatic_1_1Observable_html_a783fda85eeabe9c660881f236f162767"><div class="ttname"><a href="classKatabatic_1_1Observable.html#a783fda85eeabe9c660881f236f162767">Katabatic::Observable::addObserver</a></div><div class="ttdeci">void addObserver(BaseObserver *)</div><div class="ttdef"><b>Definition:</b> Observer.h:96</div></div>
<div class="ttc" id="classKatabatic_1_1BaseObserver_html"><div class="ttname"><a href="classKatabatic_1_1BaseObserver.html">Katabatic::BaseObserver</a></div><div class="ttdoc">Observer Design Pattern, Observer part. </div><div class="ttdef"><b>Definition:</b> Observer.h:29</div></div>
<div class="ttc" id="classKatabatic_1_1Observer_html"><div class="ttname"><a href="classKatabatic_1_1Observer.html">Katabatic::Observer</a></div><div class="ttdoc">Observer Design Pattern, Observer part. </div><div class="ttdef"><b>Definition:</b> Observer.h:36</div></div>
<div class="ttc" id="classKatabatic_1_1Observable_html_acc0b7276e09628f2b101ecf751aacd2a"><div class="ttname"><a href="classKatabatic_1_1Observable.html#acc0b7276e09628f2b101ecf751aacd2a">Katabatic::Observable::getObserver</a></div><div class="ttdeci">T * getObserver()</div><div class="ttdef"><b>Definition:</b> Observer.h:90</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">Katabatic - Routing Toolbox</td>
<td class="RFooter"><small>Copyright &#169; 2008-2016 UPMC. All rights reserved</small></td>
</tr>
</table>
</body>
</html>