Changeset 50 in flair-dev for trunk/doc/Flair/_gps_data_8h_source.html
- Timestamp:
- May 31, 2017, 3:54:26 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/Flair/_gps_data_8h_source.html
r47 r50 122 122 <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div> 123 123 <div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <span class="keyword">class </span>IODataElement;</div> 124 <div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  <span class="keyword">class </span>Vector3D;</div>125 <div class="line"><a name="l000 22"></a><span class="lineno"> 22</span> </div>126 <div class="line"><a name="l00031"></a><span class="lineno"> <a class="line" href="classflair_1_1core_1_1_gps_data.html"> 31</a></span> <span class="keyword">class </span><a class="code" href="classflair_1_1core_1_1_gps_data.html">GpsData</a> : <span class="keyword">public</span> <a class="code" href="classflair_1_1core_1_1io__data.html">io_data</a> {</div>127 <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">public</span>:</div>128 <div class="line"><a name="l00033"></a><span class="lineno"> <a class="line" href="classflair_1_1core_1_1_gps_data_1_1_type.html"> 33</a></span>  <span class="keyword">class </span><a class="code" href="classflair_1_1core_1_1_gps_data_1_1_type.html">Type</a> : <span class="keyword">public</span> <a class="code" href="classflair_1_1core_1_1_data_type.html">DataType</a> {</div>129 <div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keyword">public</span>:</div>130 <div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <a class="code" href="classflair_1_1core_1_1_gps_data_1_1_type.html">Type</a>(<span class="keywordtype">void</span>){}</div>131 <div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  std::string GetDescription()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="stringliteral">"gps data"</span>; }</div>132 <div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keywordtype">size_t</span> GetSize()<span class="keyword"> const </span>{</div>133 <div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keywordtype">size_t</span> size = 0;</div>134 <div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  size += 2*doubleType.GetSize(); <span class="comment">// Latitude, Longitude</span></div>135 <div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  size += floatType.GetSize(); <span class="comment">// Altitude</span></div>136 <div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  size += UInt8Type.GetSize(); <span class="comment">// NumberOfSatellites</span></div>137 <div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  size += UInt8Type.GetSize(); <span class="comment">// FixQuality_t</span></div>138 <div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  size += 5*floatType.GetSize();<span class="comment">//e,n,u,ve,vn</span></div>124 <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div> 125 <div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_gps_data.html"> 30</a></span> <span class="keyword">class </span><a class="code" href="classflair_1_1core_1_1_gps_data.html">GpsData</a> : <span class="keyword">public</span> <a class="code" href="classflair_1_1core_1_1io__data.html">io_data</a> {</div> 126 <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">public</span>:</div> 127 <div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_gps_data_1_1_type.html"> 32</a></span>  <span class="keyword">class </span><a class="code" href="classflair_1_1core_1_1_gps_data_1_1_type.html">Type</a> : <span class="keyword">public</span> <a class="code" href="classflair_1_1core_1_1_data_type.html">DataType</a> {</div> 128 <div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keyword">public</span>:</div> 129 <div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <a class="code" href="classflair_1_1core_1_1_gps_data_1_1_type.html">Type</a>(<span class="keywordtype">void</span>){}</div> 130 <div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  std::string GetDescription()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="stringliteral">"gps data"</span>; }</div> 131 <div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keywordtype">size_t</span> GetSize()<span class="keyword"> const </span>{</div> 132 <div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keywordtype">size_t</span> size = 0;</div> 133 <div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  size += 2*doubleType.GetSize(); <span class="comment">// Latitude, Longitude</span></div> 134 <div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  size += floatType.GetSize(); <span class="comment">// Altitude</span></div> 135 <div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  size += UInt8Type.GetSize(); <span class="comment">// NumberOfSatellites</span></div> 136 <div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  size += UInt8Type.GetSize(); <span class="comment">// FixQuality_t</span></div> 137 <div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  size += 5*floatType.GetSize();<span class="comment">//e,n,u,ve,vn</span></div> 138 <div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  size += 3*floatType.GetSize();<span class="comment">//pdop,hdop,vdop</span></div> 139 139 <div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keywordflow">return</span> size;</div> 140 140 <div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  }</div> … … 154 154 <div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_gps_data.html#ae2cac37d2ddaea43014053c88790a33da7f5f93b8e83079b4dcba24866dc9c173"> 63</a></span>  <a class="code" href="classflair_1_1core_1_1_gps_data.html#ae2cac37d2ddaea43014053c88790a33da7f5f93b8e83079b4dcba24866dc9c173">EastVelocity</a> ,</div> 155 155 <div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_gps_data.html#ae2cac37d2ddaea43014053c88790a33da07766d5461b9b9278731edc5790507dd"> 64</a></span>  <a class="code" href="classflair_1_1core_1_1_gps_data.html#ae2cac37d2ddaea43014053c88790a33da07766d5461b9b9278731edc5790507dd">NorthVelocity</a> ,</div> 156 <div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  } <a class="code" href="classflair_1_1core_1_1_gps_data.html#ae2cac37d2ddaea43014053c88790a33d">PlotableData_t</a>;</div> 157 <div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div> 158 <div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6"> 71</a></span>  <span class="keyword">enum class</span> <a class="code" href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6">FixQuality_t</a> : uint8_t {</div> 159 <div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <a class="code" href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6a4bbb8f967da6d1a610596d7257179c2b">Invalid</a> = 0, </div> 160 <div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <a class="code" href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6a06960407a35b206422d40932f13c8d91">Gps</a> = 1, </div> 161 <div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <a class="code" href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6aee015802cac7ac6094dc62db8b8a2f51">DGps</a> = 2, </div> 162 <div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <a class="code" href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6abd9768d943ecb6ddb75aeffea3bfd829">Pps</a> = 3, </div> 163 <div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <a class="code" href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6a8ad9533f39ec3fe43d6ee0104464a116">Rtk</a> = 4, </div> 164 <div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <a class="code" href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6a1eacb557d24c49af2ec6832c5fc32413">RtkFloat</a> = 5, </div> 165 <div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <a class="code" href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6a3c311fbd0f9e51ce27b984f55164cf83">Estimated</a> = 6, </div> 166 <div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <a class="code" href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6ae1ba155a9f2e8c3be94020eef32a0301">Manual</a> = 7, </div> 167 <div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <a class="code" href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6a4f502b57d2835715eaa382c7d4c32e94">Simulation</a> = 8, </div> 168 <div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  };</div> 169 <div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div> 170 <div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <a class="code" href="classflair_1_1core_1_1_gps_data.html#a1e4cb1b1c7c97ada454ae1ed251079e7">GpsData</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_object.html">Object</a> *parent, std::string name = <span class="stringliteral">""</span>, <span class="keywordtype">int</span> n = 1);</div> 171 <div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div> 172 <div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <a class="code" href="classflair_1_1core_1_1_gps_data.html#a40703fd28dd1b6053df7292c222de5c8">~GpsData</a>();</div> 173 <div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div> 174 <div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <a class="code" href="classflair_1_1core_1_1_i_o_data_element.html">IODataElement</a> *<a class="code" href="classflair_1_1core_1_1_gps_data.html#a0deb3d08a943318fa2397f5d4ebbab41">Element</a>(<a class="code" href="classflair_1_1core_1_1_gps_data.html#ae2cac37d2ddaea43014053c88790a33d">PlotableData_t</a> data_type) <span class="keyword">const</span>;</div> 175 <div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div> 176 <div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_gps_data.html#ad6f06899b7281ad2680e47d37671845b">GetLla</a>(<span class="keywordtype">double</span> &latitude, <span class="keywordtype">double</span> &longitude,</div> 177 <div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keywordtype">float</span> &altitude) <span class="keyword">const</span>;</div> 178 <div class="line"><a name="l00123"></a><span class="lineno"> 123</span> </div> 179 <div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_gps_data.html#a127f35d2f90679a1ac20e25f59820073">SetLla</a>(<span class="keywordtype">double</span> latitude,<span class="keywordtype">double</span> longitude,</div> 180 <div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keywordtype">float</span> altitude);</div> 181 <div class="line"><a name="l00136"></a><span class="lineno"> 136</span> </div> 182 <div class="line"><a name="l00137"></a><span class="lineno"> 137</span> </div> 183 <div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_gps_data.html#a887c61012e25fe3024802c1eb4329d2d">GetEnu</a>(<span class="keywordtype">float</span> &east, <span class="keywordtype">float</span> &north,</div> 184 <div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="keywordtype">float</span> &up) <span class="keyword">const</span>;</div> 185 <div class="line"><a name="l00150"></a><span class="lineno"> 150</span> </div> 186 <div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_gps_data.html#a41bc835f48f054b852690519d07f420c">SetEnu</a>(<span class="keywordtype">float</span> east, <span class="keywordtype">float</span> north,</div> 187 <div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keywordtype">float</span> up);</div> 188 <div class="line"><a name="l00163"></a><span class="lineno"> 163</span> </div> 189 <div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_gps_data.html#ad1a9ba4c575e7b9e24a9b9f0e68a61c5">GetVelocity</a>(<span class="keywordtype">float</span> &eastVelocity, <span class="keywordtype">float</span> &northVelocity) <span class="keyword">const</span>;</div> 190 <div class="line"><a name="l00174"></a><span class="lineno"> 174</span> </div> 191 <div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_gps_data.html#a09134eda9e9abd781fd5a9193b2dbc58">SetVelocity</a>(<span class="keywordtype">float</span> eastVelocity, <span class="keywordtype">float</span> northVelocity);</div> 192 <div class="line"><a name="l00185"></a><span class="lineno"> 185</span> </div> 193 <div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  uint8_t <a class="code" href="classflair_1_1core_1_1_gps_data.html#a22707e45c31501d36ddef69f6b9cee2f">GetNumberOfSatellites</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> 194 <div class="line"><a name="l00193"></a><span class="lineno"> 193</span> </div> 195 <div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_gps_data.html#a78c3f3c52bc4200f2006567f7dabefff">SetNumberOfSatellites</a>(uint8_t numberOfSatellites);</div> 196 <div class="line"><a name="l00201"></a><span class="lineno"> 201</span> </div> 197 <div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <a class="code" href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6">FixQuality_t</a> <a class="code" href="classflair_1_1core_1_1_gps_data.html#a3cfaba20bdb233f7aa5605f3286e642e">GetFixQuality</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> 198 <div class="line"><a name="l00209"></a><span class="lineno"> 209</span> </div> 199 <div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_gps_data.html#ade62faa0efb52070acae36b4f3f485b8">SetFixQuality</a>(<a class="code" href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6">FixQuality_t</a> fixQuality);</div> 200 <div class="line"><a name="l00217"></a><span class="lineno"> 217</span> </div> 201 <div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  Type <span class="keyword">const</span> &GetDataType()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> dataType; }</div> 202 <div class="line"><a name="l00219"></a><span class="lineno"> 219</span> </div> 203 <div class="line"><a name="l00220"></a><span class="lineno"> 220</span> <span class="keyword">private</span>:</div> 204 <div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  <span class="keywordtype">void</span> CopyDatas(<span class="keywordtype">char</span> *dst) <span class="keyword">const</span>;</div> 205 <div class="line"><a name="l00230"></a><span class="lineno"> 230</span> </div> 206 <div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <span class="keywordtype">void</span> Queue(<span class="keywordtype">char</span> **dst, <span class="keyword">const</span> <span class="keywordtype">void</span> *src, <span class="keywordtype">size_t</span> size) <span class="keyword">const</span>;</div> 207 <div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  Type dataType;</div> 208 <div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  <span class="keywordtype">double</span> latitude,longitude;</div> 209 <div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <span class="keywordtype">float</span> altitude;</div> 210 <div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  uint8_t numberOfSatellites;</div> 211 <div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  <a class="code" href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6">FixQuality_t</a> fixQuality;</div> 212 <div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  <span class="keywordtype">float</span> east,north,up,eastVelocity,northVelocity;</div> 213 <div class="line"><a name="l00238"></a><span class="lineno"> 238</span> };</div> 214 <div class="line"><a name="l00239"></a><span class="lineno"> 239</span> </div> 215 <div class="line"><a name="l00240"></a><span class="lineno"> 240</span> } <span class="comment">// end namespace core</span></div> 216 <div class="line"><a name="l00241"></a><span class="lineno"> 241</span> } <span class="comment">// end namespace flair</span></div> 217 <div class="line"><a name="l00242"></a><span class="lineno"> 242</span> </div> 218 <div class="line"><a name="l00243"></a><span class="lineno"> 243</span> <span class="preprocessor">#endif // GPSDATA_H</span></div> 156 <div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  Pdop <span class="comment">/* dilution of precision*/</span>,</div> 157 <div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  Hdop <span class="comment">/* horizontal dilution of precision*/</span>,</div> 158 <div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  Vdop <span class="comment">/* vertical dilution of precision*/</span>,</div> 159 <div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  } <a class="code" href="classflair_1_1core_1_1_gps_data.html#ae2cac37d2ddaea43014053c88790a33d">PlotableData_t</a>;</div> 160 <div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div> 161 <div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6"> 74</a></span>  <span class="keyword">enum class</span> <a class="code" href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6">FixQuality_t</a> : uint8_t {</div> 162 <div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <a class="code" href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6a4bbb8f967da6d1a610596d7257179c2b">Invalid</a> = 0, </div> 163 <div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <a class="code" href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6a06960407a35b206422d40932f13c8d91">Gps</a> = 1, </div> 164 <div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <a class="code" href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6aee015802cac7ac6094dc62db8b8a2f51">DGps</a> = 2, </div> 165 <div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <a class="code" href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6abd9768d943ecb6ddb75aeffea3bfd829">Pps</a> = 3, </div> 166 <div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <a class="code" href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6a8ad9533f39ec3fe43d6ee0104464a116">Rtk</a> = 4, </div> 167 <div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <a class="code" href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6a1eacb557d24c49af2ec6832c5fc32413">RtkFloat</a> = 5, </div> 168 <div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <a class="code" href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6a3c311fbd0f9e51ce27b984f55164cf83">Estimated</a> = 6, </div> 169 <div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <a class="code" href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6ae1ba155a9f2e8c3be94020eef32a0301">Manual</a> = 7, </div> 170 <div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <a class="code" href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6a4f502b57d2835715eaa382c7d4c32e94">Simulation</a> = 8, </div> 171 <div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  };</div> 172 <div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div> 173 <div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <a class="code" href="classflair_1_1core_1_1_gps_data.html#a1e4cb1b1c7c97ada454ae1ed251079e7">GpsData</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_object.html">Object</a> *parent, std::string name = <span class="stringliteral">""</span>, <span class="keywordtype">int</span> n = 1);</div> 174 <div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div> 175 <div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <a class="code" href="classflair_1_1core_1_1_gps_data.html#a40703fd28dd1b6053df7292c222de5c8">~GpsData</a>();</div> 176 <div class="line"><a name="l00102"></a><span class="lineno"> 102</span> </div> 177 <div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <a class="code" href="classflair_1_1core_1_1_i_o_data_element.html">IODataElement</a> *<a class="code" href="classflair_1_1core_1_1_gps_data.html#a0deb3d08a943318fa2397f5d4ebbab41">Element</a>(<a class="code" href="classflair_1_1core_1_1_gps_data.html#ae2cac37d2ddaea43014053c88790a33d">PlotableData_t</a> data_type) <span class="keyword">const</span>;</div> 178 <div class="line"><a name="l00113"></a><span class="lineno"> 113</span> </div> 179 <div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_gps_data.html#ad6f06899b7281ad2680e47d37671845b">GetLla</a>(<span class="keywordtype">double</span> &latitude, <span class="keywordtype">double</span> &longitude,</div> 180 <div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordtype">float</span> &altitude) <span class="keyword">const</span>;</div> 181 <div class="line"><a name="l00126"></a><span class="lineno"> 126</span> </div> 182 <div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_gps_data.html#a127f35d2f90679a1ac20e25f59820073">SetLla</a>(<span class="keywordtype">double</span> latitude,<span class="keywordtype">double</span> longitude,</div> 183 <div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keywordtype">float</span> altitude);</div> 184 <div class="line"><a name="l00139"></a><span class="lineno"> 139</span> </div> 185 <div class="line"><a name="l00140"></a><span class="lineno"> 140</span> </div> 186 <div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_gps_data.html#a887c61012e25fe3024802c1eb4329d2d">GetEnu</a>(<span class="keywordtype">float</span> &east, <span class="keywordtype">float</span> &north,</div> 187 <div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="keywordtype">float</span> &up) <span class="keyword">const</span>;</div> 188 <div class="line"><a name="l00153"></a><span class="lineno"> 153</span> </div> 189 <div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_gps_data.html#a41bc835f48f054b852690519d07f420c">SetEnu</a>(<span class="keywordtype">float</span> east, <span class="keywordtype">float</span> north,</div> 190 <div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="keywordtype">float</span> up);</div> 191 <div class="line"><a name="l00166"></a><span class="lineno"> 166</span> </div> 192 <div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_gps_data.html#ad1a9ba4c575e7b9e24a9b9f0e68a61c5">GetVelocity</a>(<span class="keywordtype">float</span> &eastVelocity, <span class="keywordtype">float</span> &northVelocity) <span class="keyword">const</span>;</div> 193 <div class="line"><a name="l00177"></a><span class="lineno"> 177</span> </div> 194 <div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_gps_data.html#a09134eda9e9abd781fd5a9193b2dbc58">SetVelocity</a>(<span class="keywordtype">float</span> eastVelocity, <span class="keywordtype">float</span> northVelocity);</div> 195 <div class="line"><a name="l00188"></a><span class="lineno"> 188</span> </div> 196 <div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  uint8_t <a class="code" href="classflair_1_1core_1_1_gps_data.html#a22707e45c31501d36ddef69f6b9cee2f">GetNumberOfSatellites</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> 197 <div class="line"><a name="l00196"></a><span class="lineno"> 196</span> </div> 198 <div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_gps_data.html#a78c3f3c52bc4200f2006567f7dabefff">SetNumberOfSatellites</a>(uint8_t numberOfSatellites);</div> 199 <div class="line"><a name="l00204"></a><span class="lineno"> 204</span> </div> 200 <div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <a class="code" href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6">FixQuality_t</a> <a class="code" href="classflair_1_1core_1_1_gps_data.html#a3cfaba20bdb233f7aa5605f3286e642e">GetFixQuality</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> 201 <div class="line"><a name="l00212"></a><span class="lineno"> 212</span> </div> 202 <div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_gps_data.html#ade62faa0efb52070acae36b4f3f485b8">SetFixQuality</a>(<a class="code" href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6">FixQuality_t</a> fixQuality);</div> 203 <div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  </div> 204 <div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_gps_data.html#ad0442d89cc3b54d8f216e6539db051b6">GetDop</a>(<span class="keywordtype">float</span> &pDop, <span class="keywordtype">float</span> &hDop,<span class="keywordtype">float</span> &vDop) <span class="keyword">const</span>;</div> 205 <div class="line"><a name="l00232"></a><span class="lineno"> 232</span> </div> 206 <div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_gps_data.html#a1938a21ef420d22df14bbde302530bfd">SetDop</a>(<span class="keywordtype">float</span> pDop, <span class="keywordtype">float</span> hDop,<span class="keywordtype">float</span> vDop);</div> 207 <div class="line"><a name="l00244"></a><span class="lineno"> 244</span> </div> 208 <div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  Type <span class="keyword">const</span> &GetDataType()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> dataType; }</div> 209 <div class="line"><a name="l00246"></a><span class="lineno"> 246</span> </div> 210 <div class="line"><a name="l00247"></a><span class="lineno"> 247</span> <span class="keyword">private</span>:</div> 211 <div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  <span class="keywordtype">void</span> CopyDatas(<span class="keywordtype">char</span> *dst) <span class="keyword">const</span>;</div> 212 <div class="line"><a name="l00257"></a><span class="lineno"> 257</span> </div> 213 <div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  <span class="keywordtype">void</span> Queue(<span class="keywordtype">char</span> **dst, <span class="keyword">const</span> <span class="keywordtype">void</span> *src, <span class="keywordtype">size_t</span> size) <span class="keyword">const</span>;</div> 214 <div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  Type dataType;</div> 215 <div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  <span class="keywordtype">double</span> latitude,longitude;</div> 216 <div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <span class="keywordtype">float</span> altitude;</div> 217 <div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  uint8_t numberOfSatellites;</div> 218 <div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  <a class="code" href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6">FixQuality_t</a> fixQuality;</div> 219 <div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  <span class="keywordtype">float</span> east,north,up,eastVelocity,northVelocity,pDop,hDop,vDop;</div> 220 <div class="line"><a name="l00265"></a><span class="lineno"> 265</span> };</div> 221 <div class="line"><a name="l00266"></a><span class="lineno"> 266</span> </div> 222 <div class="line"><a name="l00267"></a><span class="lineno"> 267</span> } <span class="comment">// end namespace core</span></div> 223 <div class="line"><a name="l00268"></a><span class="lineno"> 268</span> } <span class="comment">// end namespace flair</span></div> 224 <div class="line"><a name="l00269"></a><span class="lineno"> 269</span> </div> 225 <div class="line"><a name="l00270"></a><span class="lineno"> 270</span> <span class="preprocessor">#endif // GPSDATA_H</span></div> 219 226 <div class="ttc" id="classflair_1_1core_1_1io__data_html"><div class="ttname"><a href="classflair_1_1core_1_1io__data.html">flair::core::io_data</a></div><div class="ttdoc">Abstract class for data types. </div><div class="ttdef"><b>Definition:</b> io_data.h:94</div></div> 220 227 <div class="ttc" id="classflair_1_1core_1_1_gps_data_html_a40703fd28dd1b6053df7292c222de5c8"><div class="ttname"><a href="classflair_1_1core_1_1_gps_data.html#a40703fd28dd1b6053df7292c222de5c8">flair::core::GpsData::~GpsData</a></div><div class="ttdeci">~GpsData()</div><div class="ttdoc">Destructor. </div></div> 228 <div class="ttc" id="classflair_1_1core_1_1_gps_data_html_ad0442d89cc3b54d8f216e6539db051b6"><div class="ttname"><a href="classflair_1_1core_1_1_gps_data.html#ad0442d89cc3b54d8f216e6539db051b6">flair::core::GpsData::GetDop</a></div><div class="ttdeci">void GetDop(float &pDop, float &hDop, float &vDop) const </div><div class="ttdoc">Get dilution of precision. </div></div> 221 229 <div class="ttc" id="classflair_1_1core_1_1_gps_data_html_afb181594acc39c15c07e5ed5801021b6a4bbb8f967da6d1a610596d7257179c2b"><div class="ttname"><a href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6a4bbb8f967da6d1a610596d7257179c2b">flair::core::GpsData::FixQuality_t::Invalid</a></div></div> 222 230 <div class="ttc" id="classflair_1_1core_1_1_gps_data_html_ae2cac37d2ddaea43014053c88790a33da9bec9e2ee8e19932559e21b79482f5f2"><div class="ttname"><a href="classflair_1_1core_1_1_gps_data.html#ae2cac37d2ddaea43014053c88790a33da9bec9e2ee8e19932559e21b79482f5f2">flair::core::GpsData::East</a></div><div class="ttdef"><b>Definition:</b> GpsData.h:60</div></div> … … 229 237 <div class="ttc" id="namespaceflair_html"><div class="ttname"><a href="namespaceflair.html">flair</a></div><div class="ttdoc">namespace of the flair Framework </div><div class="ttdef"><b>Definition:</b> Ahrs.h:19</div></div> 230 238 <div class="ttc" id="classflair_1_1core_1_1_gps_data_html_a1e4cb1b1c7c97ada454ae1ed251079e7"><div class="ttname"><a href="classflair_1_1core_1_1_gps_data.html#a1e4cb1b1c7c97ada454ae1ed251079e7">flair::core::GpsData::GpsData</a></div><div class="ttdeci">GpsData(const Object *parent, std::string name="", int n=1)</div><div class="ttdoc">Constructor. </div></div> 231 <div class="ttc" id="classflair_1_1core_1_1_gps_data_html"><div class="ttname"><a href="classflair_1_1core_1_1_gps_data.html">flair::core::GpsData</a></div><div class="ttdoc">Class defining gps datas. </div><div class="ttdef"><b>Definition:</b> GpsData.h:3 1</div></div>239 <div class="ttc" id="classflair_1_1core_1_1_gps_data_html"><div class="ttname"><a href="classflair_1_1core_1_1_gps_data.html">flair::core::GpsData</a></div><div class="ttdoc">Class defining gps datas. </div><div class="ttdef"><b>Definition:</b> GpsData.h:30</div></div> 232 240 <div class="ttc" id="classflair_1_1core_1_1_gps_data_html_ae2cac37d2ddaea43014053c88790a33da07766d5461b9b9278731edc5790507dd"><div class="ttname"><a href="classflair_1_1core_1_1_gps_data.html#ae2cac37d2ddaea43014053c88790a33da07766d5461b9b9278731edc5790507dd">flair::core::GpsData::NorthVelocity</a></div><div class="ttdef"><b>Definition:</b> GpsData.h:64</div></div> 233 241 <div class="ttc" id="classflair_1_1core_1_1_gps_data_html_afb181594acc39c15c07e5ed5801021b6abd9768d943ecb6ddb75aeffea3bfd829"><div class="ttname"><a href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6abd9768d943ecb6ddb75aeffea3bfd829">flair::core::GpsData::FixQuality_t::Pps</a></div></div> 234 <div class="ttc" id="classflair_1_1core_1_1_gps_data_1_1_type_html"><div class="ttname"><a href="classflair_1_1core_1_1_gps_data_1_1_type.html">flair::core::GpsData::Type</a></div><div class="ttdef"><b>Definition:</b> GpsData.h:3 3</div></div>242 <div class="ttc" id="classflair_1_1core_1_1_gps_data_1_1_type_html"><div class="ttname"><a href="classflair_1_1core_1_1_gps_data_1_1_type.html">flair::core::GpsData::Type</a></div><div class="ttdef"><b>Definition:</b> GpsData.h:32</div></div> 235 243 <div class="ttc" id="classflair_1_1core_1_1_gps_data_html_a78c3f3c52bc4200f2006567f7dabefff"><div class="ttname"><a href="classflair_1_1core_1_1_gps_data.html#a78c3f3c52bc4200f2006567f7dabefff">flair::core::GpsData::SetNumberOfSatellites</a></div><div class="ttdeci">void SetNumberOfSatellites(uint8_t numberOfSatellites)</div><div class="ttdoc">Set number of satellites. </div></div> 236 244 <div class="ttc" id="classflair_1_1core_1_1_gps_data_html_ae2cac37d2ddaea43014053c88790a33da05ebdfdb1cb83d2cf0dda4d32697f89c"><div class="ttname"><a href="classflair_1_1core_1_1_gps_data.html#ae2cac37d2ddaea43014053c88790a33da05ebdfdb1cb83d2cf0dda4d32697f89c">flair::core::GpsData::Longitude</a></div><div class="ttdef"><b>Definition:</b> GpsData.h:56</div></div> … … 251 259 <div class="ttc" id="classflair_1_1core_1_1_gps_data_html_ad1a9ba4c575e7b9e24a9b9f0e68a61c5"><div class="ttname"><a href="classflair_1_1core_1_1_gps_data.html#ad1a9ba4c575e7b9e24a9b9f0e68a61c5">flair::core::GpsData::GetVelocity</a></div><div class="ttdeci">void GetVelocity(float &eastVelocity, float &northVelocity) const </div><div class="ttdoc">Get east and north velocities. </div></div> 252 260 <div class="ttc" id="classflair_1_1core_1_1_gps_data_html_ae2cac37d2ddaea43014053c88790a33da6e6b10640264c0e589cf31475bbcbe00"><div class="ttname"><a href="classflair_1_1core_1_1_gps_data.html#ae2cac37d2ddaea43014053c88790a33da6e6b10640264c0e589cf31475bbcbe00">flair::core::GpsData::Up</a></div><div class="ttdef"><b>Definition:</b> GpsData.h:62</div></div> 253 <div class="ttc" id="classflair_1_1core_1_1_gps_data_html_afb181594acc39c15c07e5ed5801021b6"><div class="ttname"><a href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6">flair::core::GpsData::FixQuality_t</a></div><div class="ttdeci">FixQuality_t</div><div class="ttdoc">Fix qualty indicators. </div><div class="ttdef"><b>Definition:</b> GpsData.h:7 1</div></div>261 <div class="ttc" id="classflair_1_1core_1_1_gps_data_html_afb181594acc39c15c07e5ed5801021b6"><div class="ttname"><a href="classflair_1_1core_1_1_gps_data.html#afb181594acc39c15c07e5ed5801021b6">flair::core::GpsData::FixQuality_t</a></div><div class="ttdeci">FixQuality_t</div><div class="ttdoc">Fix qualty indicators. </div><div class="ttdef"><b>Definition:</b> GpsData.h:74</div></div> 254 262 <div class="ttc" id="classflair_1_1core_1_1_gps_data_html_ae2cac37d2ddaea43014053c88790a33daff27e35c98e589126863624faf00310b"><div class="ttname"><a href="classflair_1_1core_1_1_gps_data.html#ae2cac37d2ddaea43014053c88790a33daff27e35c98e589126863624faf00310b">flair::core::GpsData::NumberOfSatellites</a></div><div class="ttdef"><b>Definition:</b> GpsData.h:58</div></div> 255 263 <div class="ttc" id="classflair_1_1core_1_1_gps_data_html_a127f35d2f90679a1ac20e25f59820073"><div class="ttname"><a href="classflair_1_1core_1_1_gps_data.html#a127f35d2f90679a1ac20e25f59820073">flair::core::GpsData::SetLla</a></div><div class="ttdeci">void SetLla(double latitude, double longitude, float altitude)</div><div class="ttdoc">Set latitude, longitude and altitude. </div></div> … … 258 266 <div class="ttc" id="classflair_1_1core_1_1_gps_data_html_ae2cac37d2ddaea43014053c88790a33dab0fbebcc090dfa8235309896b5d50a29"><div class="ttname"><a href="classflair_1_1core_1_1_gps_data.html#ae2cac37d2ddaea43014053c88790a33dab0fbebcc090dfa8235309896b5d50a29">flair::core::GpsData::Latitude</a></div><div class="ttdef"><b>Definition:</b> GpsData.h:55</div></div> 259 267 <div class="ttc" id="classflair_1_1core_1_1_gps_data_html_a3cfaba20bdb233f7aa5605f3286e642e"><div class="ttname"><a href="classflair_1_1core_1_1_gps_data.html#a3cfaba20bdb233f7aa5605f3286e642e">flair::core::GpsData::GetFixQuality</a></div><div class="ttdeci">FixQuality_t GetFixQuality(void) const </div><div class="ttdoc">Get fix quality. </div></div> 268 <div class="ttc" id="classflair_1_1core_1_1_gps_data_html_a1938a21ef420d22df14bbde302530bfd"><div class="ttname"><a href="classflair_1_1core_1_1_gps_data.html#a1938a21ef420d22df14bbde302530bfd">flair::core::GpsData::SetDop</a></div><div class="ttdeci">void SetDop(float pDop, float hDop, float vDop)</div><div class="ttdoc">Set dilution of precision. </div></div> 260 269 <div class="ttc" id="classflair_1_1core_1_1_gps_data_html_ad6f06899b7281ad2680e47d37671845b"><div class="ttname"><a href="classflair_1_1core_1_1_gps_data.html#ad6f06899b7281ad2680e47d37671845b">flair::core::GpsData::GetLla</a></div><div class="ttdeci">void GetLla(double &latitude, double &longitude, float &altitude) const </div><div class="ttdoc">Get latitude, longitude and altitude. </div></div> 261 270 </div><!-- fragment --></div><!-- contents --> … … 265 274 <ul> 266 275 <li class="navelem"><a class="el" href="dir_33c2ee9b1665499374b4225c427cf176.html">igep</a></li><li class="navelem"><a class="el" href="dir_f1fe274389177bd7e17de7949c4ffada.html">flair-src</a></li><li class="navelem"><a class="el" href="dir_3ef62148cf94871b4b6ee5d6e3a989c1.html">lib</a></li><li class="navelem"><a class="el" href="dir_97265977dbbd48c696782ccac102bad5.html">FlairCore</a></li><li class="navelem"><a class="el" href="dir_6c198461db290ac9abcdd44184573216.html">src</a></li><li class="navelem"><a class="el" href="_gps_data_8h.html">GpsData.h</a></li> 267 <li class="footer">Generated on Tue Jan 17 2017 09:52:30for Flair by276 <li class="footer">Generated on Wed May 31 2017 13:50:37 for Flair by 268 277 <a href="http://www.doxygen.org/index.html"> 269 278 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
Note:
See TracChangeset
for help on using the changeset viewer.