2018-06-06 11:42:26 -05:00
<!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)" >
2018-08-19 06:27:09 -05:00
<!-- Generated by Doxygen 1.8.5 -->
< div id = "navrow1" class = "tabs" >
< ul class = "tablist" >
< li > < a href = "index.html" > < span > Main  Page< / span > < / a > < / li >
< li > < a href = "pages.html" > < span > Related  Pages< / span > < / a > < / li >
< li > < a href = "modules.html" > < span > Modules< / span > < / a > < / li >
< li > < a href = "namespaces.html" > < span > Namespaces< / span > < / a > < / li >
< li > < a href = "annotated.html" > < span > Classes< / span > < / a > < / li >
< li class = "current" > < a href = "files.html" > < span > Files< / span > < / a > < / li >
< / ul >
< / div >
< div id = "navrow2" class = "tabs2" >
< ul class = "tablist" >
< li > < a href = "files.html" > < span > File  List< / span > < / a > < / li >
< / ul >
< / div >
2018-06-06 11:42:26 -05:00
< 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" > RoutingEventLoop.h< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
2018-08-19 06:27:09 -05:00
< div class = "fragment" > < div class = "line" > < a name = "l00001" > < / a > < span class = "lineno" > 1< / span >   < span class = "comment" > // -*- C++ -*-< / 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-2013, 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/RoutingEventLoop.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_ROUTING_EVENT_LOOP_H< / span > < / div >
< div class = "line" > < a name = "l00018" > < / a > < span class = "lineno" > 18< / span >   < span class = "preprocessor" > < / span > < span class = "preprocessor" > #define KITE_ROUTING_EVENT_LOOP_H< / span > < / div >
< div class = "line" > < a name = "l00019" > < / a > < span class = "lineno" > 19< / span >   < span class = "preprocessor" > < / span > < / div >
< div class = "line" > < a name = "l00020" > < / a > < span class = "lineno" > 20< / span >   < span class = "preprocessor" > #include < vector> < / span > < / div >
< div class = "line" > < a name = "l00021" > < / a > < span class = "lineno" > 21< / span >   < / div >
< div class = "line" > < a name = "l00022" > < / a > < span class = "lineno" > 22< / span >   < / div >
< div class = "line" > < a name = "l00023" > < / a > < span class = "lineno" > 23< / span >   < span class = "keyword" > namespace < / span > Kite {< / div >
< div class = "line" > < a name = "l00024" > < / a > < span class = "lineno" > 24< / span >   < / div >
< div class = "line" > < a name = "l00025" > < / a > < span class = "lineno" > 25< / span >   < span class = "keyword" > class < / span > RoutingEvent;< / div >
< div class = "line" > < a name = "l00026" > < / a > < span class = "lineno" > 26< / span >   < / div >
< div class = "line" > < a name = "l00027" > < / a > < span class = "lineno" > 27< / span >   < / div >
< div class = "line" > < a name = "l00028" > < / a > < span class = "lineno" > 28< / span >   < span class = "comment" > // -------------------------------------------------------------------< / span > < / div >
< div class = "line" > < a name = "l00029" > < / a > < span class = "lineno" > 29< / span >   < span class = "comment" > // Class : " RoutingEventLoop" .< / span > < / div >
< div class = "line" > < a name = "l00030" > < / a > < span class = "lineno" > 30< / span >   < / div >
< div class = "line" > < a name = "l00031" > < / a > < span class = "lineno" > 31< / span >   < / div >
< div class = "line" > < a name = "l00032" > < / a > < span class = "lineno" > < a class = "line" href = "classKite_1_1RoutingEventLoop.html" > 32< / a > < / span >   < span class = "keyword" > class < / span > < a class = "code" href = "classKite_1_1RoutingEventLoop.html" > RoutingEventLoop< / a > {< / div >
< div class = "line" > < a name = "l00033" > < / a > < span class = "lineno" > 33< / span >   < span class = "keyword" > public< / span > :< / div >
< div class = "line" > < a name = "l00034" > < / a > < span class = "lineno" > 34< / span >   < span class = "keyword" > class < / span > Element {< / div >
< div class = "line" > < a name = "l00035" > < / a > < span class = "lineno" > 35< / span >   < span class = "keyword" > public< / span > :< / div >
< div class = "line" > < a name = "l00036" > < / a > < span class = "lineno" > 36< / span >   < span class = "keyword" > inline< / span > Element ( < span class = "keywordtype" > size_t< / span > < span class = "keywordtype" > id< / span > =0, < span class = "keywordtype" > size_t< / span > timestamp=0 );< / div >
< div class = "line" > < a name = "l00037" > < / a > < span class = "lineno" > 37< / span >   < span class = "keyword" > public< / span > :< / div >
< div class = "line" > < a name = "l00038" > < / a > < span class = "lineno" > 38< / span >   < span class = "keywordtype" > size_t< / span > _id;< / div >
< div class = "line" > < a name = "l00039" > < / a > < span class = "lineno" > 39< / span >   < span class = "keywordtype" > size_t< / span > _timestamp;< / div >
< div class = "line" > < a name = "l00040" > < / a > < span class = "lineno" > 40< / span >   < span class = "keywordtype" > int< / span > _count;< / div >
< div class = "line" > < a name = "l00041" > < / a > < span class = "lineno" > 41< / span >   };< / div >
< div class = "line" > < a name = "l00042" > < / a > < span class = "lineno" > 42< / span >   < span class = "keyword" > class < / span > CompareByTimestamp {< / div >
< div class = "line" > < a name = "l00043" > < / a > < span class = "lineno" > 43< / span >   < span class = "keyword" > public< / span > :< / div >
< div class = "line" > < a name = "l00044" > < / a > < span class = "lineno" > 44< / span >   < span class = "keyword" > inline< / span > < span class = "keywordtype" > bool< / span > operator() ( < span class = "keyword" > const< / span > Element& lhs, < span class = "keyword" > const< / span > Element& rhs );< / div >
< div class = "line" > < a name = "l00045" > < / a > < span class = "lineno" > 45< / span >   };< / div >
< div class = "line" > < a name = "l00046" > < / a > < span class = "lineno" > 46< / span >   < span class = "keyword" > public< / span > :< / div >
< div class = "line" > < a name = "l00047" > < / a > < span class = "lineno" > 47< / span >   < a class = "code" href = "classKite_1_1RoutingEventLoop.html#aa33efa06ccc2175e35eff7ac6dadffb6" > RoutingEventLoop< / a > ( < span class = "keywordtype" > size_t< / span > depth=10, < span class = "keywordtype" > int< / span > limit=20 );< / div >
< div class = "line" > < a name = "l00048" > < / a > < span class = "lineno" > 48< / span >   < span class = "keyword" > inline< / span > < span class = "keywordtype" > bool< / span > < a class = "code" href = "classKite_1_1RoutingEventLoop.html#aad73ed3e38029feb236cae2527cb5f4e" > isLooping< / a > () < span class = "keyword" > const< / span > ;< / div >
< div class = "line" > < a name = "l00049" > < / a > < span class = "lineno" > 49< / span >   < span class = "keyword" > inline< / span > < span class = "keywordtype" > int< / span > < a class = "code" href = "classKite_1_1RoutingEventLoop.html#a62ba5a4c63978e4c8c71fdf0205700a5" > getMaxCount< / a > () < span class = "keyword" > const< / span > ;< / div >
< div class = "line" > < a name = "l00050" > < / a > < span class = "lineno" > 50< / span >   < span class = "keyword" > inline< / span > < span class = "keyword" > const< / span > std::vector< Element> & < a class = "code" href = "classKite_1_1RoutingEventLoop.html#a110c8ec6ec51ce13950962d1d79051fc" > getElements< / a > () < span class = "keyword" > const< / span > ;< / div >
< div class = "line" > < a name = "l00051" > < / a > < span class = "lineno" > 51< / span >   < span class = "keywordtype" > void< / span > < a class = "code" href = "classKite_1_1RoutingEventLoop.html#ad684b7c05480897bdbd86a5fb8363c72" > update< / a > ( < span class = "keywordtype" > size_t< / span > < span class = "keywordtype" > id< / span > );< / div >
< div class = "line" > < a name = "l00052" > < / a > < span class = "lineno" > 52< / span >   < span class = "keywordtype" > void< / span > < a class = "code" href = "classKite_1_1RoutingEventLoop.html#a9b6582ce996327c65bf532396ca11b61" > erase< / a > ( < span class = "keywordtype" > size_t< / span > < span class = "keywordtype" > id< / span > );< / div >
< div class = "line" > < a name = "l00053" > < / a > < span class = "lineno" > 53< / span >   < span class = "keyword" > private< / span > :< / div >
< div class = "line" > < a name = "l00054" > < / a > < span class = "lineno" > 54< / span >   std::vector< Element> _elements;< / div >
< div class = "line" > < a name = "l00055" > < / a > < span class = "lineno" > 55< / span >   < span class = "keywordtype" > size_t< / span > _depth;< / div >
< div class = "line" > < a name = "l00056" > < / a > < span class = "lineno" > 56< / span >   < span class = "keywordtype" > int< / span > _maxCount;< / div >
< div class = "line" > < a name = "l00057" > < / a > < span class = "lineno" > 57< / span >   < span class = "keywordtype" > int< / span > _countLimit;< / div >
< div class = "line" > < a name = "l00058" > < / a > < span class = "lineno" > 58< / span >   < span class = "keywordtype" > bool< / span > _isLooping;< / div >
< div class = "line" > < a name = "l00059" > < / a > < span class = "lineno" > 59< / span >   };< / 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 >   < / div >
< div class = "line" > < a name = "l00062" > < / a > < span class = "lineno" > 62< / span >   < span class = "keyword" > inline< / span > RoutingEventLoop::Element::Element ( < span class = "keywordtype" > size_t< / span > < span class = "keywordtype" > id< / span > , < span class = "keywordtype" > size_t< / span > timestamp )< / div >
< div class = "line" > < a name = "l00063" > < / a > < span class = "lineno" > 63< / span >   : _id(id), _timestamp(timestamp), _count(1)< / div >
< div class = "line" > < a name = "l00064" > < / a > < span class = "lineno" > 64< / span >   { }< / div >
< div class = "line" > < a name = "l00065" > < / a > < span class = "lineno" > 65< / span >   < / div >
< div class = "line" > < a name = "l00066" > < / a > < span class = "lineno" > 66< / span >   < / div >
< div class = "line" > < a name = "l00067" > < / a > < span class = "lineno" > 67< / span >   < span class = "keyword" > inline< / span > < span class = "keywordtype" > bool< / span > RoutingEventLoop::CompareByTimestamp::operator() ( < span class = "keyword" > const< / span > RoutingEventLoop::Element& lhs, < span class = "keyword" > const< / span > RoutingEventLoop::Element& rhs )< / div >
< div class = "line" > < a name = "l00068" > < / a > < span class = "lineno" > 68< / span >   { < span class = "keywordflow" > return< / span > lhs._timestamp > rhs._timestamp; }< / div >
< div class = "line" > < a name = "l00069" > < / a > < span class = "lineno" > 69< / span >   < / div >
< div class = "line" > < a name = "l00070" > < / a > < span class = "lineno" > 70< / span >   < / div >
< div class = "line" > < a name = "l00071" > < / a > < span class = "lineno" > < a class = "line" href = "classKite_1_1RoutingEventLoop.html#aad73ed3e38029feb236cae2527cb5f4e" > 71< / a > < / span >   < span class = "keyword" > inline< / span > < span class = "keywordtype" > bool< / span > < a class = "code" href = "classKite_1_1RoutingEventLoop.html#aad73ed3e38029feb236cae2527cb5f4e" > RoutingEventLoop::isLooping< / a > ()< span class = "keyword" > const < / span > { < span class = "keywordflow" > return< / span > _isLooping; }< / div >
< div class = "line" > < a name = "l00072" > < / a > < span class = "lineno" > < a class = "line" href = "classKite_1_1RoutingEventLoop.html#a62ba5a4c63978e4c8c71fdf0205700a5" > 72< / a > < / span >   < span class = "keyword" > inline< / span > < span class = "keywordtype" > int< / span > < a class = "code" href = "classKite_1_1RoutingEventLoop.html#a62ba5a4c63978e4c8c71fdf0205700a5" > RoutingEventLoop::getMaxCount< / a > ()< span class = "keyword" > const < / span > { < span class = "keywordflow" > return< / span > _maxCount; }< / div >
< div class = "line" > < a name = "l00073" > < / a > < span class = "lineno" > 73< / span >   < span class = "keyword" > inline< / span > < span class = "keyword" > const< / span > std::vector< RoutingEventLoop::Element> & < / div >
< div class = "line" > < a name = "l00074" > < / a > < span class = "lineno" > < a class = "line" href = "classKite_1_1RoutingEventLoop.html#a110c8ec6ec51ce13950962d1d79051fc" > 74< / a > < / span >   < a class = "code" href = "classKite_1_1RoutingEventLoop.html#a110c8ec6ec51ce13950962d1d79051fc" > RoutingEventLoop::getElements< / a > ()< span class = "keyword" > const < / span > { < span class = "keywordflow" > return< / span > _elements; }< / div >
< div class = "line" > < a name = "l00075" > < / a > < span class = "lineno" > 75< / span >   < / div >
< div class = "line" > < a name = "l00076" > < / a > < span class = "lineno" > 76< / span >   < / div >
< div class = "line" > < a name = "l00077" > < / a > < span class = "lineno" > 77< / span >   < / div >
< div class = "line" > < a name = "l00078" > < / a > < span class = "lineno" > 78< / span >   } < span class = "comment" > // Kite namespace.< / span > < / div >
< div class = "line" > < a name = "l00079" > < / a > < span class = "lineno" > 79< / span >   < / div >
< div class = "line" > < a name = "l00080" > < / a > < span class = "lineno" > 80< / span >   < / div >
< div class = "line" > < a name = "l00081" > < / a > < span class = "lineno" > 81< / span >   < span class = "comment" > //INSPECTOR_P_SUPPORT(Kite::RoutingEvent);< / span > < / div >
< div class = "line" > < a name = "l00082" > < / a > < span class = "lineno" > 82< / span >   < / div >
< div class = "line" > < a name = "l00083" > < / a > < span class = "lineno" > 83< / span >   < / div >
< div class = "line" > < a name = "l00084" > < / a > < span class = "lineno" > 84< / span >   < span class = "preprocessor" > #endif // KITE_ROUTING_EVENT_LOOP_H< / span > < / div >
< div class = "ttc" id = "classKite_1_1RoutingEventLoop_html_aad73ed3e38029feb236cae2527cb5f4e" > < div class = "ttname" > < a href = "classKite_1_1RoutingEventLoop.html#aad73ed3e38029feb236cae2527cb5f4e" > Kite::RoutingEventLoop::isLooping< / a > < / div > < div class = "ttdeci" > bool isLooping() const < / div > < div class = "ttdef" > < b > Definition:< / b > RoutingEventLoop.h:71< / div > < / div >
2018-06-06 11:42:26 -05:00
< div class = "ttc" id = "classKite_1_1RoutingEventLoop_html_a9b6582ce996327c65bf532396ca11b61" > < div class = "ttname" > < a href = "classKite_1_1RoutingEventLoop.html#a9b6582ce996327c65bf532396ca11b61" > Kite::RoutingEventLoop::erase< / a > < / div > < div class = "ttdeci" > void erase(size_t id)< / div > < div class = "ttdef" > < b > Definition:< / b > RoutingEventLoop.cpp:65< / div > < / div >
< div class = "ttc" id = "classKite_1_1RoutingEventLoop_html_aa33efa06ccc2175e35eff7ac6dadffb6" > < div class = "ttname" > < a href = "classKite_1_1RoutingEventLoop.html#aa33efa06ccc2175e35eff7ac6dadffb6" > Kite::RoutingEventLoop::RoutingEventLoop< / a > < / div > < div class = "ttdeci" > RoutingEventLoop(size_t depth=10, int limit=20)< / div > < div class = "ttdef" > < b > Definition:< / b > RoutingEventLoop.cpp:31< / div > < / div >
< div class = "ttc" id = "classKite_1_1RoutingEventLoop_html" > < div class = "ttname" > < a href = "classKite_1_1RoutingEventLoop.html" > Kite::RoutingEventLoop< / a > < / div > < div class = "ttdoc" > Simple loop dectector for RoutingEvent. < / div > < div class = "ttdef" > < b > Definition:< / b > RoutingEventLoop.h:32< / div > < / div >
2018-08-19 06:27:09 -05:00
< div class = "ttc" id = "classKite_1_1RoutingEventLoop_html_a62ba5a4c63978e4c8c71fdf0205700a5" > < div class = "ttname" > < a href = "classKite_1_1RoutingEventLoop.html#a62ba5a4c63978e4c8c71fdf0205700a5" > Kite::RoutingEventLoop::getMaxCount< / a > < / div > < div class = "ttdeci" > int getMaxCount() const < / div > < div class = "ttdef" > < b > Definition:< / b > RoutingEventLoop.h:72< / div > < / div >
2018-06-06 11:42:26 -05:00
< div class = "ttc" id = "classKite_1_1RoutingEventLoop_html_ad684b7c05480897bdbd86a5fb8363c72" > < div class = "ttname" > < a href = "classKite_1_1RoutingEventLoop.html#ad684b7c05480897bdbd86a5fb8363c72" > Kite::RoutingEventLoop::update< / a > < / div > < div class = "ttdeci" > void update(size_t id)< / div > < div class = "ttdef" > < b > Definition:< / b > RoutingEventLoop.cpp:40< / div > < / div >
2018-08-19 06:27:09 -05:00
< div class = "ttc" id = "classKite_1_1RoutingEventLoop_html_a110c8ec6ec51ce13950962d1d79051fc" > < div class = "ttname" > < a href = "classKite_1_1RoutingEventLoop.html#a110c8ec6ec51ce13950962d1d79051fc" > Kite::RoutingEventLoop::getElements< / a > < / div > < div class = "ttdeci" > const std::vector< Element > & getElements() const < / div > < div class = "ttdef" > < b > Definition:< / b > RoutingEventLoop.h:74< / div > < / div >
2018-06-06 11:42:26 -05:00
< / div > <!-- fragment --> < / div > <!-- contents -->
< br >
< hr >
< table class = "footer1" >
< tr >
2018-10-01 09:52:17 -05:00
< td class = "LFooter" > < small > Generated by doxygen 1.8.5 on Mon Oct 1 2018< / small > < / td >
2018-06-06 11:42:26 -05:00
< 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 >