Changeset 25 in flair-dev for trunk/doc/Flair/_meta_dual_shock3_8h_source.html
- Timestamp:
- Jun 23, 2016, 10:18:10 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/Flair/_meta_dual_shock3_8h_source.html
r23 r25 116 116 <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#define METADUALSHOCK3_H</span></div> 117 117 <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div> 118 <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include <Target EthController.h></span></div>119 <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> < /div>120 <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> < span class="keyword">namespace </span><a class="code" href="namespaceflair.html">flair</a> {</div>121 <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">namespace </span> core{</div>122 <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keyword"> class </span>AhrsData;</div>123 <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">class </span> Quaternion;</div>124 <div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  }</div>125 <div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keyword">namespace </span>filter {</div>126 <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keyword"> class </span>Ahrs;</div>127 <div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  }</div>118 <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include <TargetController.h></span></div> 119 <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include <<a class="code" href="_i_o_device_8h.html">IODevice.h</a>></span></div> 120 <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div> 121 <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">namespace </span><a class="code" href="namespaceflair.html">flair</a> {</div> 122 <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keyword">namespace </span>core {</div> 123 <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">class </span>AhrsData;</div> 124 <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">class </span>Quaternion;</div> 125 <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> }</div> 126 <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keyword">namespace </span>filter {</div> 127 <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="keyword">class </span>Ahrs;</div> 128 128 <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> }</div> 129 <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div> 130 <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">class </span>MetaDualShock3_impl;</div> 131 <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div> 132 <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">namespace </span><a class="code" href="namespaceflair.html">flair</a> {</div> 133 <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">namespace </span>meta {</div> 134 <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div> 135 <div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classflair_1_1meta_1_1_meta_dual_shock3.html"> 37</a></span> <span class="keyword">class </span><a class="code" href="classflair_1_1meta_1_1_meta_dual_shock3.html">MetaDualShock3</a> : <span class="keyword">public</span> <a class="code" href="classflair_1_1sensor_1_1_target_eth_controller.html">sensor::TargetEthController</a> {</div> 136 <div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keyword">friend</span> class ::MetaDualShock3_impl;</div> 137 <div class="line"><a name="l00039"></a><span class="lineno"> 39</span> </div> 138 <div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="keyword">public</span>:</div> 139 <div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <a class="code" href="classflair_1_1meta_1_1_meta_dual_shock3.html">MetaDualShock3</a>(<a class="code" href="classflair_1_1core_1_1_framework_manager.html">core::FrameworkManager</a> *parent, std::string name,</div> 140 <div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  uint16_t port, uint8_t priority);</div> 141 <div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  ~<a class="code" href="classflair_1_1meta_1_1_meta_dual_shock3.html">MetaDualShock3</a>();</div> 142 <div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <a class="code" href="classflair_1_1core_1_1_ahrs_data.html">core::AhrsData</a> *GetReferenceOrientation(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> 143 <div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keywordtype">float</span> ZRef(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> 144 <div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keywordtype">float</span> DzRef(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> 145 <div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keywordtype">void</span> SetYawRef(<span class="keywordtype">float</span> value);</div> 146 <div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordtype">void</span> SetYawRef(<a class="code" href="classflair_1_1core_1_1_quaternion.html">core::Quaternion</a> <span class="keyword">const</span> &value);</div> 147 <div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keywordtype">void</span> SetZRef(<span class="keywordtype">float</span> value);</div> 148 <div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordtype">float</span> RollTrim(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> 149 <div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordtype">float</span> PitchTrim(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> 150 <div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordtype">void</span> ErrorNotify(<span class="keywordtype">void</span>);</div> 151 <div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordtype">void</span> Rumble(uint8_t left_force, uint8_t left_timeout = 20,</div> 152 <div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  uint8_t right_force = 0, uint8_t right_timeout = 0);</div> 153 <div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordtype">void</span> SetLedON(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> ledId);</div> 154 <div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordtype">void</span> SetLedOFF(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> ledId);</div> 155 <div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keywordtype">void</span> FlashLed(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> ledId, uint8_t on_timeout, uint8_t off_timeout);</div> 156 <div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div> 157 <div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="keyword">private</span>:</div> 158 <div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keyword">class </span>MetaDualShock3_impl *pimpl_;</div> 159 <div class="line"><a name="l00070"></a><span class="lineno"> 70</span> };</div> 160 <div class="line"><a name="l00071"></a><span class="lineno"> 71</span> } <span class="comment">// end namespace meta</span></div> 161 <div class="line"><a name="l00072"></a><span class="lineno"> 72</span> } <span class="comment">// end namespace flair</span></div> 162 <div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="preprocessor">#endif // METADUALSHOCK3_H</span></div> 163 <div class="ttc" id="classflair_1_1meta_1_1_meta_dual_shock3_html"><div class="ttname"><a href="classflair_1_1meta_1_1_meta_dual_shock3.html">flair::meta::MetaDualShock3</a></div><div class="ttdoc">Classe intégrant la manette MetaDualShock3. </div><div class="ttdef"><b>Definition:</b> MetaDualShock3.h:37</div></div> 129 <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> }</div> 130 <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div> 131 <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">class </span>MetaDualShock3_impl;</div> 132 <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div> 133 <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">namespace </span><a class="code" href="namespaceflair.html">flair</a> {</div> 134 <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">namespace </span>meta {</div> 135 <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div> 136 <div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="classflair_1_1meta_1_1_meta_dual_shock3.html"> 38</a></span> <span class="keyword">class </span><a class="code" href="classflair_1_1meta_1_1_meta_dual_shock3.html">MetaDualShock3</a> : <span class="keyword">public</span> <a class="code" href="classflair_1_1core_1_1_i_o_device.html">core::IODevice</a> {</div> 137 <div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keyword">friend</span> class ::MetaDualShock3_impl;</div> 138 <div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div> 139 <div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="keyword">public</span>:</div> 140 <div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <a class="code" href="classflair_1_1meta_1_1_meta_dual_shock3.html">MetaDualShock3</a>(<a class="code" href="classflair_1_1core_1_1_framework_manager.html">core::FrameworkManager</a> *parent, std::string name,</div> 141 <div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <a class="code" href="classflair_1_1sensor_1_1_target_controller.html">sensor::TargetController</a> *controller);</div> 142 <div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  ~<a class="code" href="classflair_1_1meta_1_1_meta_dual_shock3.html">MetaDualShock3</a>();</div> 143 <div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <a class="code" href="classflair_1_1core_1_1_ahrs_data.html">core::AhrsData</a> *GetReferenceOrientation(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> 144 <div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keywordtype">float</span> ZRef(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> 145 <div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keywordtype">float</span> DzRef(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> 146 <div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordtype">void</span> SetYawRef(<span class="keywordtype">float</span> value);</div> 147 <div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keywordtype">void</span> SetYawRef(<a class="code" href="classflair_1_1core_1_1_quaternion.html">core::Quaternion</a> <span class="keyword">const</span> &value);</div> 148 <div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordtype">void</span> SetZRef(<span class="keywordtype">float</span> value);</div> 149 <div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordtype">float</span> RollTrim(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> 150 <div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordtype">float</span> PitchTrim(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> 151 <div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordtype">void</span> ErrorNotify(<span class="keywordtype">void</span>);</div> 152 <div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordtype">void</span> Rumble(uint8_t left_force, uint8_t left_timeout = 20,</div> 153 <div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  uint8_t right_force = 0, uint8_t right_timeout = 0);</div> 154 <div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordtype">void</span> SetLedON(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> ledId);</div> 155 <div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keywordtype">void</span> SetLedOFF(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> ledId);</div> 156 <div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordtype">void</span> FlashLed(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> ledId, uint8_t on_timeout, uint8_t off_timeout);</div> 157 <div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div> 158 <div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keyword">private</span>:</div> 159 <div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keyword">class </span>MetaDualShock3_impl* pimpl_;</div> 160 <div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordtype">void</span> UpdateFrom(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1io__data.html">flair::core::io_data</a> *data);</div> 161 <div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <a class="code" href="classflair_1_1sensor_1_1_target_controller.html">sensor::TargetController</a> *controller;</div> 162 <div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  };</div> 163 <div class="line"><a name="l00074"></a><span class="lineno"> 74</span> } <span class="comment">// end namespace meta</span></div> 164 <div class="line"><a name="l00075"></a><span class="lineno"> 75</span> } <span class="comment">// end namespace flair</span></div> 165 <div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="preprocessor">#endif // METADUALSHOCK3_H</span></div> 166 <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:77</div></div> 167 <div class="ttc" id="classflair_1_1meta_1_1_meta_dual_shock3_html"><div class="ttname"><a href="classflair_1_1meta_1_1_meta_dual_shock3.html">flair::meta::MetaDualShock3</a></div><div class="ttdoc">Classe intégrant la manette MetaDualShock3. </div><div class="ttdef"><b>Definition:</b> MetaDualShock3.h:38</div></div> 168 <div class="ttc" id="classflair_1_1core_1_1_i_o_device_html"><div class="ttname"><a href="classflair_1_1core_1_1_i_o_device.html">flair::core::IODevice</a></div><div class="ttdoc">Abstract class for input/ouput system. </div><div class="ttdef"><b>Definition:</b> IODevice.h:44</div></div> 164 169 <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> 165 170 <div class="ttc" id="classflair_1_1core_1_1_ahrs_data_html"><div class="ttname"><a href="classflair_1_1core_1_1_ahrs_data.html">flair::core::AhrsData</a></div><div class="ttdoc">Class defining AHRS datas. </div><div class="ttdef"><b>Definition:</b> AhrsData.h:30</div></div> 171 <div class="ttc" id="classflair_1_1sensor_1_1_target_controller_html"><div class="ttname"><a href="classflair_1_1sensor_1_1_target_controller.html">flair::sensor::TargetController</a></div><div class="ttdoc">Base Class for target side remote controls. </div><div class="ttdef"><b>Definition:</b> TargetController.h:49</div></div> 172 <div class="ttc" id="_i_o_device_8h_html"><div class="ttname"><a href="_i_o_device_8h.html">IODevice.h</a></div><div class="ttdoc">Abstract class for input/ouput system. </div></div> 166 173 <div class="ttc" id="classflair_1_1core_1_1_framework_manager_html"><div class="ttname"><a href="classflair_1_1core_1_1_framework_manager.html">flair::core::FrameworkManager</a></div><div class="ttdoc">Main class of the Framework library. </div><div class="ttdef"><b>Definition:</b> FrameworkManager.h:45</div></div> 167 <div class="ttc" id="classflair_1_1sensor_1_1_target_eth_controller_html"><div class="ttname"><a href="classflair_1_1sensor_1_1_target_eth_controller.html">flair::sensor::TargetEthController</a></div><div class="ttdef"><b>Definition:</b> TargetEthController.h:47</div></div>168 174 <div class="ttc" id="classflair_1_1core_1_1_quaternion_html"><div class="ttname"><a href="classflair_1_1core_1_1_quaternion.html">flair::core::Quaternion</a></div><div class="ttdoc">Class defining a quaternion. </div><div class="ttdef"><b>Definition:</b> Quaternion.h:25</div></div> 169 175 </div><!-- fragment --></div><!-- contents --> … … 172 178 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> 173 179 <ul> 174 <li class="navelem"><a class="el" href="dir_ 795fcb729bac4b07de678d11c3b7bf3b.html">gsanahuj</a></li><li class="navelem"><a class="el" href="dir_d9f696bd07998dbcfc5b49e19dc5f66d.html">igep</a></li><li class="navelem"><a class="el" href="dir_cecb9d1b9ff0c5bb6bd9d3ae75a47986.html">flair-src</a></li><li class="navelem"><a class="el" href="dir_9733168e1eafb017f79f3cf37481363a.html">lib</a></li><li class="navelem"><a class="el" href="dir_6c25be7f330a41d3c46a1b0f5a7f8efe.html">FlairMeta</a></li><li class="navelem"><a class="el" href="dir_cd6db5e8fcd6e347d64fdb79d4a6d9fc.html">src</a></li><li class="navelem"><a class="el" href="_meta_dual_shock3_8h.html">MetaDualShock3.h</a></li>175 <li class="footer">Generated on Wed Jun 22 2016 08:08:41for Flair by180 <li class="navelem"><a class="el" href="dir_2fe3ed085dc13211be8a68ab87a36e2d.html">flair-src</a></li><li class="navelem"><a class="el" href="dir_f7b8606ba27576604b27aa95a2e99d0a.html">lib</a></li><li class="navelem"><a class="el" href="dir_46ebbe1797a3bee323c086955b44dffb.html">FlairMeta</a></li><li class="navelem"><a class="el" href="dir_e2b454fb8dc7253f46c142f5360f332a.html">src</a></li><li class="navelem"><a class="el" href="_meta_dual_shock3_8h.html">MetaDualShock3.h</a></li> 181 <li class="footer">Generated on Wed Jun 22 2016 15:34:00 for Flair by 176 182 <a href="http://www.doxygen.org/index.html"> 177 183 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
Note:
See TracChangeset
for help on using the changeset viewer.