source: flair-dev/trunk/doc/Flair/classflair_1_1core_1_1_framework_manager.html @ 15

Last change on this file since 15 was 15, checked in by Sanahuja Guillaume, 5 years ago

m

File size: 41.4 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6<meta name="generator" content="Doxygen 1.8.7"/>
7<title>Flair: flair::core::FrameworkManager Class Reference</title>
8<link href="tabs.css" rel="stylesheet" type="text/css"/>
9<script type="text/javascript" src="jquery.js"></script>
10<script type="text/javascript" src="dynsections.js"></script>
11<link href="navtree.css" rel="stylesheet" type="text/css"/>
12<script type="text/javascript" src="resize.js"></script>
13<script type="text/javascript" src="navtree.js"></script>
14<script type="text/javascript">
15  $(document).ready(initResizable);
16  $(window).load(resizeHeight);
17</script>
18<link href="search/search.css" rel="stylesheet" type="text/css"/>
19<script type="text/javascript" src="search/search.js"></script>
20<script type="text/javascript">
21  $(document).ready(function() { searchBox.OnSelectItem(0); });
22</script>
23<link href="doxygen.css" rel="stylesheet" type="text/css" />
24</head>
25<body>
26<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
27<div id="titlearea">
28<table cellspacing="0" cellpadding="0">
29 <tbody>
30 <tr style="height: 56px;">
31  <td id="projectlogo"><img alt="Logo" src="logo_hds.png"/></td>
32  <td style="padding-left: 0.5em;">
33   <div id="projectname">Flair
34   </div>
35   <div id="projectbrief">Framework Libre Air</div>
36  </td>
37 </tr>
38 </tbody>
39</table>
40</div>
41<!-- end header part -->
42<!-- Generated by Doxygen 1.8.7 -->
43<script type="text/javascript">
44var searchBox = new SearchBox("searchBox", "search",false,'Search');
45</script>
46  <div id="navrow1" class="tabs">
47    <ul class="tablist">
48      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
49      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
50      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
51      <li><a href="files.html"><span>Files</span></a></li>
52      <li>
53        <div id="MSearchBox" class="MSearchBoxInactive">
54        <span class="left">
55          <img id="MSearchSelect" src="search/mag_sel.png"
56               onmouseover="return searchBox.OnSearchSelectShow()"
57               onmouseout="return searchBox.OnSearchSelectHide()"
58               alt=""/>
59          <input type="text" id="MSearchField" value="Search" accesskey="S"
60               onfocus="searchBox.OnSearchFieldFocus(true)" 
61               onblur="searchBox.OnSearchFieldFocus(false)" 
62               onkeyup="searchBox.OnSearchFieldChange(event)"/>
63          </span><span class="right">
64            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
65          </span>
66        </div>
67      </li>
68    </ul>
69  </div>
70  <div id="navrow2" class="tabs2">
71    <ul class="tablist">
72      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
73      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
74      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
75      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
76    </ul>
77  </div>
78</div><!-- top -->
79<div id="side-nav" class="ui-resizable side-nav-resizable">
80  <div id="nav-tree">
81    <div id="nav-tree-contents">
82      <div id="nav-sync" class="sync"></div>
83    </div>
84  </div>
85  <div id="splitbar" style="-moz-user-select:none;" 
86       class="ui-resizable-handle">
87  </div>
88</div>
89<script type="text/javascript">
90$(document).ready(function(){initNavTree('classflair_1_1core_1_1_framework_manager.html','');});
91</script>
92<div id="doc-content">
93<!-- window showing the filter options -->
94<div id="MSearchSelectWindow"
95     onmouseover="return searchBox.OnSearchSelectShow()"
96     onmouseout="return searchBox.OnSearchSelectHide()"
97     onkeydown="return searchBox.OnSearchSelectKey(event)">
98<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Properties</a></div>
99
100<!-- iframe showing the search results (closed by default) -->
101<div id="MSearchResultsWindow">
102<iframe src="javascript:void(0)" frameborder="0" 
103        name="MSearchResults" id="MSearchResults">
104</iframe>
105</div>
106
107<div class="header">
108  <div class="summary">
109<a href="#pub-methods">Public Member Functions</a> &#124;
110<a href="classflair_1_1core_1_1_framework_manager-members.html">List of all members</a>  </div>
111  <div class="headertitle">
112<div class="title">flair::core::FrameworkManager Class Reference</div>  </div>
113</div><!--header-->
114<div class="contents">
115
116<p>Main class of the Framework library. 
117 <a href="classflair_1_1core_1_1_framework_manager.html#details">More...</a></p>
118
119<p><code>#include &lt;<a class="el" href="_framework_manager_8h_source.html">FrameworkManager.h</a>&gt;</code></p>
120<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
121  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for flair::core::FrameworkManager:</div>
122<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
123</div>
124<div id="dynsection-0-content" class="dyncontent" style="display:none;">
125 <div class="center">
126  <img src="classflair_1_1core_1_1_framework_manager.png" usemap="#flair::core::FrameworkManager_map" alt=""/>
127  <map id="flair::core::FrameworkManager_map" name="flair::core::FrameworkManager_map">
128<area href="classflair_1_1core_1_1_object.html" title="Base class for all Framework&#39;s classes. " alt="flair::core::Object" shape="rect" coords="0,0,186,24"/>
129<area href="classflair_1_1simulator_1_1_simulator.html" alt="flair::simulator::Simulator" shape="rect" coords="0,112,186,136"/>
130</map>
131 </div></div>
132<table class="memberdecls">
133<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
134Public Member Functions</h2></td></tr>
135<tr class="memitem:ac4488013eb79fb1cd0c57fe4774120ae"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_framework_manager.html#ac4488013eb79fb1cd0c57fe4774120ae">FrameworkManager</a> (std::string name)</td></tr>
136<tr class="memdesc:ac4488013eb79fb1cd0c57fe4774120ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#ac4488013eb79fb1cd0c57fe4774120ae">More...</a><br /></td></tr>
137<tr class="separator:ac4488013eb79fb1cd0c57fe4774120ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
138<tr class="memitem:aa97c7fbaba572aa856d23c416f3b74e4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_framework_manager.html#aa97c7fbaba572aa856d23c416f3b74e4">~FrameworkManager</a> ()</td></tr>
139<tr class="memdesc:aa97c7fbaba572aa856d23c416f3b74e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#aa97c7fbaba572aa856d23c416f3b74e4">More...</a><br /></td></tr>
140<tr class="separator:aa97c7fbaba572aa856d23c416f3b74e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
141<tr class="memitem:ab2a2ea16b7d5558ac24c24476eb5116f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_framework_manager.html#ab2a2ea16b7d5558ac24c24476eb5116f">SetupConnection</a> (std::string address, uint16_t port, size_t rcv_buf_size=10000)</td></tr>
142<tr class="memdesc:ab2a2ea16b7d5558ac24c24476eb5116f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setup the connection with ground station.  <a href="#ab2a2ea16b7d5558ac24c24476eb5116f">More...</a><br /></td></tr>
143<tr class="separator:ab2a2ea16b7d5558ac24c24476eb5116f"><td class="memSeparator" colspan="2">&#160;</td></tr>
144<tr class="memitem:a528ab69c3a850237007a074732d9fa85"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_framework_manager.html#a528ab69c3a850237007a074732d9fa85">SetupUserInterface</a> (std::string xml_file)</td></tr>
145<tr class="memdesc:a528ab69c3a850237007a074732d9fa85"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setup the user interface.  <a href="#a528ab69c3a850237007a074732d9fa85">More...</a><br /></td></tr>
146<tr class="separator:a528ab69c3a850237007a074732d9fa85"><td class="memSeparator" colspan="2">&#160;</td></tr>
147<tr class="memitem:a8f3989b0199826a913f352cc1e26f86b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classflair_1_1gui_1_1_tab_widget.html">gui::TabWidget</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_framework_manager.html#a8f3989b0199826a913f352cc1e26f86b">GetTabWidget</a> (void) const </td></tr>
148<tr class="memdesc:a8f3989b0199826a913f352cc1e26f86b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get TabWidget.  <a href="#a8f3989b0199826a913f352cc1e26f86b">More...</a><br /></td></tr>
149<tr class="separator:a8f3989b0199826a913f352cc1e26f86b"><td class="memSeparator" colspan="2">&#160;</td></tr>
150<tr class="memitem:ac0b1886b695379518bfeff9142d32405"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_framework_manager.html#ac0b1886b695379518bfeff9142d32405">SetupLogger</a> (std::string log_path)</td></tr>
151<tr class="memdesc:ac0b1886b695379518bfeff9142d32405"><td class="mdescLeft">&#160;</td><td class="mdescRight">Logger setup.  <a href="#ac0b1886b695379518bfeff9142d32405">More...</a><br /></td></tr>
152<tr class="separator:ac0b1886b695379518bfeff9142d32405"><td class="memSeparator" colspan="2">&#160;</td></tr>
153<tr class="memitem:a9f2750ce913b492206761340c666bbb6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_framework_manager.html#a9f2750ce913b492206761340c666bbb6">AddDeviceToLog</a> (<a class="el" href="classflair_1_1core_1_1_i_o_device.html">IODevice</a> *device)</td></tr>
154<tr class="memdesc:a9f2750ce913b492206761340c666bbb6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add log element.  <a href="#a9f2750ce913b492206761340c666bbb6">More...</a><br /></td></tr>
155<tr class="separator:a9f2750ce913b492206761340c666bbb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
156<tr class="memitem:a1cbc5e8296c0f36551210e13251516ae"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_framework_manager.html#a1cbc5e8296c0f36551210e13251516ae">StartLog</a> (void)</td></tr>
157<tr class="memdesc:a1cbc5e8296c0f36551210e13251516ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Start logging.  <a href="#a1cbc5e8296c0f36551210e13251516ae">More...</a><br /></td></tr>
158<tr class="separator:a1cbc5e8296c0f36551210e13251516ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
159<tr class="memitem:a978aae4beac0c20dbbff73369ab6e31a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_framework_manager.html#a978aae4beac0c20dbbff73369ab6e31a">StopLog</a> (void)</td></tr>
160<tr class="memdesc:a978aae4beac0c20dbbff73369ab6e31a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stop logging.  <a href="#a978aae4beac0c20dbbff73369ab6e31a">More...</a><br /></td></tr>
161<tr class="separator:a978aae4beac0c20dbbff73369ab6e31a"><td class="memSeparator" colspan="2">&#160;</td></tr>
162<tr class="memitem:a65eff6c3651dafddc2dd55c3cab281b4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_framework_manager.html#a65eff6c3651dafddc2dd55c3cab281b4">IsLogging</a> (void) const </td></tr>
163<tr class="memdesc:a65eff6c3651dafddc2dd55c3cab281b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is logging?  <a href="#a65eff6c3651dafddc2dd55c3cab281b4">More...</a><br /></td></tr>
164<tr class="separator:a65eff6c3651dafddc2dd55c3cab281b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
165<tr class="memitem:a6ed9bdb73288176aa58269f8a520d58c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_framework_manager.html#a6ed9bdb73288176aa58269f8a520d58c">UpdateSendData</a> (const <a class="el" href="classflair_1_1gui_1_1_send_data.html">gui::SendData</a> *obj)</td></tr>
166<tr class="memdesc:a6ed9bdb73288176aa58269f8a520d58c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Notify that SendData's period has changed.  <a href="#a6ed9bdb73288176aa58269f8a520d58c">More...</a><br /></td></tr>
167<tr class="separator:a6ed9bdb73288176aa58269f8a520d58c"><td class="memSeparator" colspan="2">&#160;</td></tr>
168<tr class="memitem:aa1b6474b3972665d20c706ff89965271"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_framework_manager.html#aa1b6474b3972665d20c706ff89965271">BlockCom</a> (void)</td></tr>
169<tr class="memdesc:aa1b6474b3972665d20c706ff89965271"><td class="mdescLeft">&#160;</td><td class="mdescRight">Block communication.  <a href="#aa1b6474b3972665d20c706ff89965271">More...</a><br /></td></tr>
170<tr class="separator:aa1b6474b3972665d20c706ff89965271"><td class="memSeparator" colspan="2">&#160;</td></tr>
171<tr class="memitem:a311fa9be9c08b037cae24061e85307d1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_framework_manager.html#a311fa9be9c08b037cae24061e85307d1">UnBlockCom</a> (void)</td></tr>
172<tr class="memdesc:a311fa9be9c08b037cae24061e85307d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unblock communication.  <a href="#a311fa9be9c08b037cae24061e85307d1">More...</a><br /></td></tr>
173<tr class="separator:a311fa9be9c08b037cae24061e85307d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
174<tr class="memitem:a845ac3ad0cbc95d71e50277d9e8093a1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_framework_manager.html#a845ac3ad0cbc95d71e50277d9e8093a1">ConnectionLost</a> (void) const </td></tr>
175<tr class="memdesc:a845ac3ad0cbc95d71e50277d9e8093a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is connection lost?  <a href="#a845ac3ad0cbc95d71e50277d9e8093a1">More...</a><br /></td></tr>
176<tr class="separator:a845ac3ad0cbc95d71e50277d9e8093a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
177<tr class="memitem:a69e12f51081a3d58876553d9858ea1bd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_framework_manager.html#a69e12f51081a3d58876553d9858ea1bd">DisableErrorsDisplay</a> (bool value)</td></tr>
178<tr class="memdesc:a69e12f51081a3d58876553d9858ea1bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disable errors display.  <a href="#a69e12f51081a3d58876553d9858ea1bd">More...</a><br /></td></tr>
179<tr class="separator:a69e12f51081a3d58876553d9858ea1bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
180<tr class="memitem:a477b3cee8fa2c2338896006faaeefe42"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_framework_manager.html#a477b3cee8fa2c2338896006faaeefe42">IsDisplayingErrors</a> (void) const </td></tr>
181<tr class="memdesc:a477b3cee8fa2c2338896006faaeefe42"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is displaying errors?  <a href="#a477b3cee8fa2c2338896006faaeefe42">More...</a><br /></td></tr>
182<tr class="separator:a477b3cee8fa2c2338896006faaeefe42"><td class="memSeparator" colspan="2">&#160;</td></tr>
183<tr class="inherit_header pub_methods_classflair_1_1core_1_1_object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classflair_1_1core_1_1_object')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classflair_1_1core_1_1_object.html">flair::core::Object</a></td></tr>
184<tr class="memitem:aec92383fd5bf68d9df10414862b7e95c inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#aec92383fd5bf68d9df10414862b7e95c">Object</a> (const <a class="el" href="classflair_1_1core_1_1_object.html">Object</a> *parent=NULL, std::string name=&quot;&quot;, std::string type=&quot;&quot;)</td></tr>
185<tr class="memdesc:aec92383fd5bf68d9df10414862b7e95c inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#aec92383fd5bf68d9df10414862b7e95c">More...</a><br /></td></tr>
186<tr class="separator:aec92383fd5bf68d9df10414862b7e95c inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
187<tr class="memitem:aa2bde0e6677bbef705c96c93cb06ad09 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#aa2bde0e6677bbef705c96c93cb06ad09">~Object</a> ()</td></tr>
188<tr class="memdesc:aa2bde0e6677bbef705c96c93cb06ad09 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#aa2bde0e6677bbef705c96c93cb06ad09">More...</a><br /></td></tr>
189<tr class="separator:aa2bde0e6677bbef705c96c93cb06ad09 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
190<tr class="memitem:a9b0344dff7e1c05424d9152c8274523a inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a9b0344dff7e1c05424d9152c8274523a">ObjectName</a> (void) const </td></tr>
191<tr class="memdesc:a9b0344dff7e1c05424d9152c8274523a inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Name.  <a href="#a9b0344dff7e1c05424d9152c8274523a">More...</a><br /></td></tr>
192<tr class="separator:a9b0344dff7e1c05424d9152c8274523a inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
193<tr class="memitem:a609a250ec037fbcaf8957c8f1dcbfc53 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a609a250ec037fbcaf8957c8f1dcbfc53">ObjectType</a> (void) const </td></tr>
194<tr class="memdesc:a609a250ec037fbcaf8957c8f1dcbfc53 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Type.  <a href="#a609a250ec037fbcaf8957c8f1dcbfc53">More...</a><br /></td></tr>
195<tr class="separator:a609a250ec037fbcaf8957c8f1dcbfc53 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
196<tr class="memitem:a360c112cc3017a5152ebf6e84d2efa70 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classflair_1_1core_1_1_object.html">Object</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a360c112cc3017a5152ebf6e84d2efa70">Parent</a> (void) const </td></tr>
197<tr class="memdesc:a360c112cc3017a5152ebf6e84d2efa70 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parent.  <a href="#a360c112cc3017a5152ebf6e84d2efa70">More...</a><br /></td></tr>
198<tr class="separator:a360c112cc3017a5152ebf6e84d2efa70 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
199<tr class="memitem:ae22db4d723ec2d50b3ba48f26a6a770c inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">std::vector&lt; const <a class="el" href="classflair_1_1core_1_1_object.html">Object</a> * &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#ae22db4d723ec2d50b3ba48f26a6a770c">TypeChilds</a> (void) const </td></tr>
200<tr class="memdesc:ae22db4d723ec2d50b3ba48f26a6a770c inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Childs of the same type.  <a href="#ae22db4d723ec2d50b3ba48f26a6a770c">More...</a><br /></td></tr>
201<tr class="separator:ae22db4d723ec2d50b3ba48f26a6a770c inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
202<tr class="memitem:a344f81cd35805a9501098bf727ac1a10 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">std::vector&lt; const <a class="el" href="classflair_1_1core_1_1_object.html">Object</a> * &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a344f81cd35805a9501098bf727ac1a10">Childs</a> (void) const </td></tr>
203<tr class="memdesc:a344f81cd35805a9501098bf727ac1a10 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Childs.  <a href="#a344f81cd35805a9501098bf727ac1a10">More...</a><br /></td></tr>
204<tr class="separator:a344f81cd35805a9501098bf727ac1a10 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
205<tr class="memitem:af001feba14fc053aa778e61080a0b4cf inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#af001feba14fc053aa778e61080a0b4cf">Information</a> (const char *function, int line, const char *format,...) const </td></tr>
206<tr class="memdesc:af001feba14fc053aa778e61080a0b4cf inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formatted information.  <a href="#af001feba14fc053aa778e61080a0b4cf">More...</a><br /></td></tr>
207<tr class="separator:af001feba14fc053aa778e61080a0b4cf inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
208<tr class="memitem:a168b18451b2ee6126e1e81d452005ff6 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a168b18451b2ee6126e1e81d452005ff6">Warning</a> (const char *function, const char *format,...) const </td></tr>
209<tr class="memdesc:a168b18451b2ee6126e1e81d452005ff6 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formatted warning.  <a href="#a168b18451b2ee6126e1e81d452005ff6">More...</a><br /></td></tr>
210<tr class="separator:a168b18451b2ee6126e1e81d452005ff6 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
211<tr class="memitem:a3ca9694d29ec2b0491739879685df5ca inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a3ca9694d29ec2b0491739879685df5ca">Error</a> (const char *function, const char *format,...) const </td></tr>
212<tr class="memdesc:a3ca9694d29ec2b0491739879685df5ca inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formatted error.  <a href="#a3ca9694d29ec2b0491739879685df5ca">More...</a><br /></td></tr>
213<tr class="separator:a3ca9694d29ec2b0491739879685df5ca inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
214<tr class="memitem:a36cdd7f556e78b1bddd1d1fe4264bb85 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a36cdd7f556e78b1bddd1d1fe4264bb85">ErrorOccured</a> (bool recursive=true) const </td></tr>
215<tr class="memdesc:a36cdd7f556e78b1bddd1d1fe4264bb85 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Has an errror occured?  <a href="#a36cdd7f556e78b1bddd1d1fe4264bb85">More...</a><br /></td></tr>
216<tr class="separator:a36cdd7f556e78b1bddd1d1fe4264bb85 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
217</table><table class="memberdecls">
218<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
219Additional Inherited Members</h2></td></tr>
220<tr class="inherit_header pub_types_classflair_1_1core_1_1_object"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classflair_1_1core_1_1_object')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classflair_1_1core_1_1_object.html">flair::core::Object</a></td></tr>
221<tr class="memitem:aed5fccda511f97487040fed29f4efc97 inherit pub_types_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aed5fccda511f97487040fed29f4efc97"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>color_t</b> { <b>Auto</b> = 0,
222<b>Red</b> = 31,
223<b>Green</b> = 32,
224<b>Orange</b> = 33
225 }</td></tr>
226<tr class="separator:aed5fccda511f97487040fed29f4efc97 inherit pub_types_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
227</table>
228<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
229<div class="textblock"><p>Main class of the Framework library. </p>
230<p>This is the main class of the library. Only one instance of this class is allowed by program. Morevoer, its name must be unique if more than one program using this class is running on the same system (a control and a simlator for example). <br />
231 This class allows: <br />
232 -connexion with ground station, <br />
233 -creation of a <a class="elRef" target="_blank" doxygen="/home/gsanahuj/igep/flair-dev/doc/qt.tag:http://qt-project.org/doc/qt-4.8/" href="http://qt-project.org/doc/qt-4.8/qtabwidget.html">QTabWidget</a> on ground station, <br />
234 -handling of xml files, used for default values of Widgets, <br />
235 -logging of datas. </p>
236</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
237<a class="anchor" id="ac4488013eb79fb1cd0c57fe4774120ae"></a>
238<div class="memitem">
239<div class="memproto">
240      <table class="memname">
241        <tr>
242          <td class="memname">flair::core::FrameworkManager::FrameworkManager </td>
243          <td>(</td>
244          <td class="paramtype">std::string&#160;</td>
245          <td class="paramname"><em>name</em></td><td>)</td>
246          <td></td>
247        </tr>
248      </table>
249</div><div class="memdoc">
250
251<p>Constructor. </p>
252<p>Construct a <a class="el" href="classflair_1_1core_1_1_framework_manager.html" title="Main class of the Framework library. ">FrameworkManager</a>. <br />
253 Call SetupConnection method just after this constructor to setup the conection with a ground station.</p>
254<dl class="params"><dt>Parameters</dt><dd>
255  <table class="params">
256    <tr><td class="paramname">name</td><td>name, must be unique </td></tr>
257  </table>
258  </dd>
259</dl>
260
261</div>
262</div>
263<a class="anchor" id="aa97c7fbaba572aa856d23c416f3b74e4"></a>
264<div class="memitem">
265<div class="memproto">
266      <table class="memname">
267        <tr>
268          <td class="memname">flair::core::FrameworkManager::~FrameworkManager </td>
269          <td>(</td>
270          <td class="paramname"></td><td>)</td>
271          <td></td>
272        </tr>
273      </table>
274</div><div class="memdoc">
275
276<p>Destructor. </p>
277<p>Calling it will automatically destruct all childs. <br />
278Destruction implies destruction of the <a class="elRef" target="_blank" doxygen="/home/gsanahuj/igep/flair-dev/doc/qt.tag:http://qt-project.org/doc/qt-4.8/" href="http://qt-project.org/doc/qt-4.8/qtabwidget.html">QTabWidget</a> on ground station. </p>
279
280</div>
281</div>
282<h2 class="groupheader">Member Function Documentation</h2>
283<a class="anchor" id="ab2a2ea16b7d5558ac24c24476eb5116f"></a>
284<div class="memitem">
285<div class="memproto">
286      <table class="memname">
287        <tr>
288          <td class="memname">void flair::core::FrameworkManager::SetupConnection </td>
289          <td>(</td>
290          <td class="paramtype">std::string&#160;</td>
291          <td class="paramname"><em>address</em>, </td>
292        </tr>
293        <tr>
294          <td class="paramkey"></td>
295          <td></td>
296          <td class="paramtype">uint16_t&#160;</td>
297          <td class="paramname"><em>port</em>, </td>
298        </tr>
299        <tr>
300          <td class="paramkey"></td>
301          <td></td>
302          <td class="paramtype">size_t&#160;</td>
303          <td class="paramname"><em>rcv_buf_size</em> = <code>10000</code>&#160;</td>
304        </tr>
305        <tr>
306          <td></td>
307          <td>)</td>
308          <td></td><td></td>
309        </tr>
310      </table>
311</div><div class="memdoc">
312
313<p>Setup the connection with ground station. </p>
314<p>Call this method just after the constructor of this class. If this method is not called, the program will run headless.</p>
315<dl class="params"><dt>Parameters</dt><dd>
316  <table class="params">
317    <tr><td class="paramname">address</td><td>address of ground station </td></tr>
318    <tr><td class="paramname">port</td><td>port of ground station </td></tr>
319    <tr><td class="paramname">rcv_buf_size</td><td>receive buffer size </td></tr>
320  </table>
321  </dd>
322</dl>
323
324</div>
325</div>
326<a class="anchor" id="a528ab69c3a850237007a074732d9fa85"></a>
327<div class="memitem">
328<div class="memproto">
329      <table class="memname">
330        <tr>
331          <td class="memname">void flair::core::FrameworkManager::SetupUserInterface </td>
332          <td>(</td>
333          <td class="paramtype">std::string&#160;</td>
334          <td class="paramname"><em>xml_file</em></td><td>)</td>
335          <td></td>
336        </tr>
337      </table>
338</div><div class="memdoc">
339
340<p>Setup the user interface. </p>
341<p>If this method is called after SetupConnection, Widgets will be displayed in the ground station. Otherwise, it will run headless, but default values of Widgets will be taken from the xml file.</p>
342<dl class="params"><dt>Parameters</dt><dd>
343  <table class="params">
344    <tr><td class="paramname">xml_file</td><td>xml file for default values of Widgets </td></tr>
345  </table>
346  </dd>
347</dl>
348
349</div>
350</div>
351<a class="anchor" id="a8f3989b0199826a913f352cc1e26f86b"></a>
352<div class="memitem">
353<div class="memproto">
354      <table class="memname">
355        <tr>
356          <td class="memname"><a class="el" href="classflair_1_1gui_1_1_tab_widget.html">gui::TabWidget</a>* flair::core::FrameworkManager::GetTabWidget </td>
357          <td>(</td>
358          <td class="paramtype">void&#160;</td>
359          <td class="paramname"></td><td>)</td>
360          <td> const</td>
361        </tr>
362      </table>
363</div><div class="memdoc">
364
365<p>Get TabWidget. </p>
366<dl class="section return"><dt>Returns</dt><dd>TabWidget </dd></dl>
367
368</div>
369</div>
370<a class="anchor" id="ac0b1886b695379518bfeff9142d32405"></a>
371<div class="memitem">
372<div class="memproto">
373      <table class="memname">
374        <tr>
375          <td class="memname">void flair::core::FrameworkManager::SetupLogger </td>
376          <td>(</td>
377          <td class="paramtype">std::string&#160;</td>
378          <td class="paramname"><em>log_path</em></td><td>)</td>
379          <td></td>
380        </tr>
381      </table>
382</div><div class="memdoc">
383
384<p>Logger setup. </p>
385<p>Setup path of log files. <br />
386No logging will be performed if this method is not called. <br />
387 </p><dl class="params"><dt>Parameters</dt><dd>
388  <table class="params">
389    <tr><td class="paramname">log_path</td><td>path to store logs </td></tr>
390  </table>
391  </dd>
392</dl>
393
394</div>
395</div>
396<a class="anchor" id="a9f2750ce913b492206761340c666bbb6"></a>
397<div class="memitem">
398<div class="memproto">
399      <table class="memname">
400        <tr>
401          <td class="memname">void flair::core::FrameworkManager::AddDeviceToLog </td>
402          <td>(</td>
403          <td class="paramtype"><a class="el" href="classflair_1_1core_1_1_i_o_device.html">IODevice</a> *&#160;</td>
404          <td class="paramname"><em>device</em></td><td>)</td>
405          <td></td>
406        </tr>
407      </table>
408</div><div class="memdoc">
409
410<p>Add log element. </p>
411<p>The added element will be automatically logged once logging started (see <a class="el" href="classflair_1_1core_1_1_framework_manager.html#a1cbc5e8296c0f36551210e13251516ae" title="Start logging. ">StartLog()</a>). <br />
412This element must define on its side the <a class="el" href="classflair_1_1core_1_1io__data.html" title="Abstract class for data types. ">io_data</a> to log, trough IODevice::SetDataToLog method.</p>
413<dl class="params"><dt>Parameters</dt><dd>
414  <table class="params">
415    <tr><td class="paramname">device</td><td><a class="el" href="classflair_1_1core_1_1_i_o_device.html" title="Abstract class for input/ouput system. ">IODevice</a> to add </td></tr>
416  </table>
417  </dd>
418</dl>
419
420</div>
421</div>
422<a class="anchor" id="a1cbc5e8296c0f36551210e13251516ae"></a>
423<div class="memitem">
424<div class="memproto">
425      <table class="memname">
426        <tr>
427          <td class="memname">void flair::core::FrameworkManager::StartLog </td>
428          <td>(</td>
429          <td class="paramtype">void&#160;</td>
430          <td class="paramname"></td><td>)</td>
431          <td></td>
432        </tr>
433      </table>
434</div><div class="memdoc">
435
436<p>Start logging. </p>
437<p>All <a class="el" href="classflair_1_1core_1_1_i_o_device.html" title="Abstract class for input/ouput system. ">IODevice</a> added through <a class="el" href="classflair_1_1core_1_1_framework_manager.html#a9f2750ce913b492206761340c666bbb6" title="Add log element. ">AddDeviceToLog()</a> method will automatically be logged. <br />
438<a class="el" href="classflair_1_1core_1_1_framework_manager.html#ac0b1886b695379518bfeff9142d32405" title="Logger setup. ">SetupLogger()</a> must have been called before. </p>
439
440</div>
441</div>
442<a class="anchor" id="a978aae4beac0c20dbbff73369ab6e31a"></a>
443<div class="memitem">
444<div class="memproto">
445      <table class="memname">
446        <tr>
447          <td class="memname">void flair::core::FrameworkManager::StopLog </td>
448          <td>(</td>
449          <td class="paramtype">void&#160;</td>
450          <td class="paramname"></td><td>)</td>
451          <td></td>
452        </tr>
453      </table>
454</div><div class="memdoc">
455
456<p>Stop logging. </p>
457<p>Logs will automatically be sent to ground station. </p>
458
459</div>
460</div>
461<a class="anchor" id="a65eff6c3651dafddc2dd55c3cab281b4"></a>
462<div class="memitem">
463<div class="memproto">
464      <table class="memname">
465        <tr>
466          <td class="memname">bool flair::core::FrameworkManager::IsLogging </td>
467          <td>(</td>
468          <td class="paramtype">void&#160;</td>
469          <td class="paramname"></td><td>)</td>
470          <td> const</td>
471        </tr>
472      </table>
473</div><div class="memdoc">
474
475<p>Is logging? </p>
476<dl class="section return"><dt>Returns</dt><dd>true if is logging </dd></dl>
477
478</div>
479</div>
480<a class="anchor" id="a6ed9bdb73288176aa58269f8a520d58c"></a>
481<div class="memitem">
482<div class="memproto">
483      <table class="memname">
484        <tr>
485          <td class="memname">void flair::core::FrameworkManager::UpdateSendData </td>
486          <td>(</td>
487          <td class="paramtype">const <a class="el" href="classflair_1_1gui_1_1_send_data.html">gui::SendData</a> *&#160;</td>
488          <td class="paramname"><em>obj</em></td><td>)</td>
489          <td></td>
490        </tr>
491      </table>
492</div><div class="memdoc">
493
494<p>Notify that SendData's period has changed. </p>
495<p>This funtion must be called when the period has changed. <br />
496Normally, it occurs in the Widget::XmlEvent method. <br />
497This method must be called with communication blocked (see <a class="el" href="classflair_1_1core_1_1_framework_manager.html#aa1b6474b3972665d20c706ff89965271" title="Block communication. ">BlockCom()</a>).</p>
498<dl class="params"><dt>Parameters</dt><dd>
499  <table class="params">
500    <tr><td class="paramname">obj</td><td>SendData which changed </td></tr>
501  </table>
502  </dd>
503</dl>
504
505</div>
506</div>
507<a class="anchor" id="aa1b6474b3972665d20c706ff89965271"></a>
508<div class="memitem">
509<div class="memproto">
510      <table class="memname">
511        <tr>
512          <td class="memname">void flair::core::FrameworkManager::BlockCom </td>
513          <td>(</td>
514          <td class="paramtype">void&#160;</td>
515          <td class="paramname"></td><td>)</td>
516          <td></td>
517        </tr>
518      </table>
519</div><div class="memdoc">
520
521<p>Block communication. </p>
522<p>This funtion blocks the communication beetween the program and ground station. <br />
523 It must be called before changing datas or parameters exchanged between the program and the ground station. </p>
524
525</div>
526</div>
527<a class="anchor" id="a311fa9be9c08b037cae24061e85307d1"></a>
528<div class="memitem">
529<div class="memproto">
530      <table class="memname">
531        <tr>
532          <td class="memname">void flair::core::FrameworkManager::UnBlockCom </td>
533          <td>(</td>
534          <td class="paramtype">void&#160;</td>
535          <td class="paramname"></td><td>)</td>
536          <td></td>
537        </tr>
538      </table>
539</div><div class="memdoc">
540
541<p>Unblock communication. </p>
542<p>This funtion unblocks the communication beetween the program and ground station. <br />
543 It must be called after changing datas or parameters exchanged between the program and the ground station. </p>
544
545</div>
546</div>
547<a class="anchor" id="a845ac3ad0cbc95d71e50277d9e8093a1"></a>
548<div class="memitem">
549<div class="memproto">
550      <table class="memname">
551        <tr>
552          <td class="memname">bool flair::core::FrameworkManager::ConnectionLost </td>
553          <td>(</td>
554          <td class="paramtype">void&#160;</td>
555          <td class="paramname"></td><td>)</td>
556          <td> const</td>
557        </tr>
558      </table>
559</div><div class="memdoc">
560
561<p>Is connection lost? </p>
562<p>Once this method returns true, it will never return false back. <br />
563 Note that this method return false if no connection is defined (see SetupConnection).</p>
564<dl class="section return"><dt>Returns</dt><dd>true if connection with ground station is lost </dd></dl>
565
566</div>
567</div>
568<a class="anchor" id="a69e12f51081a3d58876553d9858ea1bd"></a>
569<div class="memitem">
570<div class="memproto">
571      <table class="memname">
572        <tr>
573          <td class="memname">void flair::core::FrameworkManager::DisableErrorsDisplay </td>
574          <td>(</td>
575          <td class="paramtype">bool&#160;</td>
576          <td class="paramname"><em>value</em></td><td>)</td>
577          <td></td>
578        </tr>
579      </table>
580</div><div class="memdoc">
581
582<p>Disable errors display. </p>
583<p>Disable errors display, if you do not want to saturate console for exemple. By defaults errors disply is enabled.</p>
584<dl class="params"><dt>Parameters</dt><dd>
585  <table class="params">
586    <tr><td class="paramname">value</td><td>true to disable errors display </td></tr>
587  </table>
588  </dd>
589</dl>
590
591</div>
592</div>
593<a class="anchor" id="a477b3cee8fa2c2338896006faaeefe42"></a>
594<div class="memitem">
595<div class="memproto">
596      <table class="memname">
597        <tr>
598          <td class="memname">bool flair::core::FrameworkManager::IsDisplayingErrors </td>
599          <td>(</td>
600          <td class="paramtype">void&#160;</td>
601          <td class="paramname"></td><td>)</td>
602          <td> const</td>
603        </tr>
604      </table>
605</div><div class="memdoc">
606
607<p>Is displaying errors? </p>
608<dl class="section return"><dt>Returns</dt><dd>true if errors display is enabled </dd></dl>
609
610</div>
611</div>
612</div><!-- contents -->
613</div><!-- doc-content -->
614<!-- start footer part -->
615<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
616  <ul>
617    <li class="navelem"><a class="el" href="namespaceflair.html">flair</a></li><li class="navelem"><a class="el" href="namespaceflair_1_1core.html">core</a></li><li class="navelem"><a class="el" href="classflair_1_1core_1_1_framework_manager.html">FrameworkManager</a></li>
618    <li class="footer">Generated on Wed Apr 20 2016 16:16:00 for Flair by
619    <a href="http://www.doxygen.org/index.html">
620    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.7 </li>
621  </ul>
622</div>
623</body>
624</html>
Note: See TracBrowser for help on using the repository browser.