30 #ifdef FORWARD_DECLARATIONS 33 class Ardrone3MediaRecordStatePictureStateChanged;
34 class Ardrone3MediaRecordStateVideoStateChanged;
35 class Ardrone3MediaRecordStatePictureStateChangedV2;
36 class Ardrone3MediaRecordStateVideoStateChangedV2;
37 class Ardrone3MediaRecordStateVideoResolutionState;
38 class Ardrone3PilotingStateFlatTrimChanged;
39 class Ardrone3PilotingStateFlyingStateChanged;
40 class Ardrone3PilotingStateAlertStateChanged;
41 class Ardrone3PilotingStateNavigateHomeStateChanged;
42 class Ardrone3PilotingStatePositionChanged;
43 class Ardrone3PilotingStateSpeedChanged;
44 class Ardrone3PilotingStateAttitudeChanged;
45 class Ardrone3PilotingStateAutoTakeOffModeChanged;
46 class Ardrone3PilotingStateAltitudeChanged;
47 class Ardrone3PilotingStateGpsLocationChanged;
48 class Ardrone3PilotingStateLandingStateChanged;
49 class Ardrone3PilotingStateAirSpeedChanged;
50 class Ardrone3PilotingStatemoveToChanged;
51 class Ardrone3NetworkStateWifiScanListChanged;
52 class Ardrone3NetworkStateAllWifiScanChanged;
53 class Ardrone3NetworkStateWifiAuthChannelListChanged;
54 class Ardrone3NetworkStateAllWifiAuthChannelChanged;
55 class Ardrone3MediaStreamingStateVideoEnableChanged;
56 class Ardrone3MediaStreamingStateVideoStreamModeChanged;
57 class Ardrone3CameraStateOrientation;
58 class Ardrone3CameraStatedefaultCameraOrientation;
59 class Ardrone3CameraStateOrientationV2;
60 class Ardrone3CameraStatedefaultCameraOrientationV2;
61 class Ardrone3CameraStateVelocityRange;
62 class Ardrone3AntiflickeringStateelectricFrequencyChanged;
63 class Ardrone3AntiflickeringStatemodeChanged;
64 class Ardrone3GPSStateNumberOfSatelliteChanged;
65 class Ardrone3GPSStateHomeTypeAvailabilityChanged;
66 class Ardrone3GPSStateHomeTypeChosenChanged;
67 class Ardrone3PROStateFeatures;
68 class Ardrone3AccessoryStateConnectedAccessories;
70 #endif // FORWARD_DECLARATIONS 72 #ifdef DEFINE_SHARED_PTRS 75 ardrone3_mediarecordstate_picturestatechanged_ptr;
77 ardrone3_mediarecordstate_videostatechanged_ptr;
79 ardrone3_mediarecordstate_picturestatechangedv2_ptr;
81 ardrone3_mediarecordstate_videostatechangedv2_ptr;
83 ardrone3_mediarecordstate_videoresolutionstate_ptr;
85 ardrone3_pilotingstate_flattrimchanged_ptr;
87 ardrone3_pilotingstate_flyingstatechanged_ptr;
89 ardrone3_pilotingstate_alertstatechanged_ptr;
91 ardrone3_pilotingstate_navigatehomestatechanged_ptr;
93 ardrone3_pilotingstate_positionchanged_ptr;
95 ardrone3_pilotingstate_speedchanged_ptr;
97 ardrone3_pilotingstate_attitudechanged_ptr;
99 ardrone3_pilotingstate_autotakeoffmodechanged_ptr;
101 ardrone3_pilotingstate_altitudechanged_ptr;
103 ardrone3_pilotingstate_gpslocationchanged_ptr;
105 ardrone3_pilotingstate_landingstatechanged_ptr;
107 ardrone3_pilotingstate_airspeedchanged_ptr;
109 ardrone3_pilotingstate_movetochanged_ptr;
111 ardrone3_networkstate_wifiscanlistchanged_ptr;
113 ardrone3_networkstate_allwifiscanchanged_ptr;
115 ardrone3_networkstate_wifiauthchannellistchanged_ptr;
117 ardrone3_networkstate_allwifiauthchannelchanged_ptr;
119 ardrone3_mediastreamingstate_videoenablechanged_ptr;
121 ardrone3_mediastreamingstate_videostreammodechanged_ptr;
123 ardrone3_camerastate_orientation_ptr;
125 ardrone3_camerastate_defaultcameraorientation_ptr;
127 ardrone3_camerastate_orientationv2_ptr;
129 ardrone3_camerastate_defaultcameraorientationv2_ptr;
131 ardrone3_camerastate_velocityrange_ptr;
133 ardrone3_antiflickeringstate_electricfrequencychanged_ptr;
135 ardrone3_antiflickeringstate_modechanged_ptr;
137 ardrone3_gpsstate_numberofsatellitechanged_ptr;
139 ardrone3_gpsstate_hometypeavailabilitychanged_ptr;
141 ardrone3_gpsstate_hometypechosenchanged_ptr;
143 ardrone3_prostate_features_ptr;
145 ardrone3_accessorystate_connectedaccessories_ptr;
146 #endif // DEFINE_SHARED_PTRS 148 #ifdef UPDTAE_CALLBACK_MAP 150 ardrone3_mediarecordstate_picturestatechanged_ptr.reset(
151 new cb::Ardrone3MediaRecordStatePictureStateChanged(
152 nh, priv_nh,
"states/ardrone3/MediaRecordState/PictureStateChanged"));
153 ardrone3_mediarecordstate_videostatechanged_ptr.reset(
154 new cb::Ardrone3MediaRecordStateVideoStateChanged(
155 nh, priv_nh,
"states/ardrone3/MediaRecordState/VideoStateChanged"));
156 ardrone3_mediarecordstate_picturestatechangedv2_ptr.reset(
157 new cb::Ardrone3MediaRecordStatePictureStateChangedV2(
158 nh, priv_nh,
"states/ardrone3/MediaRecordState/PictureStateChangedV2"));
159 ardrone3_mediarecordstate_videostatechangedv2_ptr.reset(
160 new cb::Ardrone3MediaRecordStateVideoStateChangedV2(
161 nh, priv_nh,
"states/ardrone3/MediaRecordState/VideoStateChangedV2"));
162 ardrone3_mediarecordstate_videoresolutionstate_ptr.reset(
163 new cb::Ardrone3MediaRecordStateVideoResolutionState(
164 nh, priv_nh,
"states/ardrone3/MediaRecordState/VideoResolutionState"));
165 ardrone3_pilotingstate_flattrimchanged_ptr.reset(
166 new cb::Ardrone3PilotingStateFlatTrimChanged(
167 nh, priv_nh,
"states/ardrone3/PilotingState/FlatTrimChanged"));
168 ardrone3_pilotingstate_flyingstatechanged_ptr.reset(
169 new cb::Ardrone3PilotingStateFlyingStateChanged(
170 nh, priv_nh,
"states/ardrone3/PilotingState/FlyingStateChanged"));
171 ardrone3_pilotingstate_alertstatechanged_ptr.reset(
172 new cb::Ardrone3PilotingStateAlertStateChanged(
173 nh, priv_nh,
"states/ardrone3/PilotingState/AlertStateChanged"));
174 ardrone3_pilotingstate_navigatehomestatechanged_ptr.reset(
175 new cb::Ardrone3PilotingStateNavigateHomeStateChanged(
176 nh, priv_nh,
"states/ardrone3/PilotingState/NavigateHomeStateChanged"));
177 ardrone3_pilotingstate_positionchanged_ptr.reset(
178 new cb::Ardrone3PilotingStatePositionChanged(
179 nh, priv_nh,
"states/ardrone3/PilotingState/PositionChanged"));
180 ardrone3_pilotingstate_speedchanged_ptr.reset(
181 new cb::Ardrone3PilotingStateSpeedChanged(
182 nh, priv_nh,
"states/ardrone3/PilotingState/SpeedChanged"));
183 ardrone3_pilotingstate_attitudechanged_ptr.reset(
184 new cb::Ardrone3PilotingStateAttitudeChanged(
185 nh, priv_nh,
"states/ardrone3/PilotingState/AttitudeChanged"));
186 ardrone3_pilotingstate_autotakeoffmodechanged_ptr.reset(
187 new cb::Ardrone3PilotingStateAutoTakeOffModeChanged(
188 nh, priv_nh,
"states/ardrone3/PilotingState/AutoTakeOffModeChanged"));
189 ardrone3_pilotingstate_altitudechanged_ptr.reset(
190 new cb::Ardrone3PilotingStateAltitudeChanged(
191 nh, priv_nh,
"states/ardrone3/PilotingState/AltitudeChanged"));
192 ardrone3_pilotingstate_gpslocationchanged_ptr.reset(
193 new cb::Ardrone3PilotingStateGpsLocationChanged(
194 nh, priv_nh,
"states/ardrone3/PilotingState/GpsLocationChanged"));
195 ardrone3_pilotingstate_landingstatechanged_ptr.reset(
196 new cb::Ardrone3PilotingStateLandingStateChanged(
197 nh, priv_nh,
"states/ardrone3/PilotingState/LandingStateChanged"));
198 ardrone3_pilotingstate_airspeedchanged_ptr.reset(
199 new cb::Ardrone3PilotingStateAirSpeedChanged(
200 nh, priv_nh,
"states/ardrone3/PilotingState/AirSpeedChanged"));
201 ardrone3_pilotingstate_movetochanged_ptr.reset(
202 new cb::Ardrone3PilotingStatemoveToChanged(
203 nh, priv_nh,
"states/ardrone3/PilotingState/moveToChanged"));
204 ardrone3_networkstate_wifiscanlistchanged_ptr.reset(
205 new cb::Ardrone3NetworkStateWifiScanListChanged(
206 nh, priv_nh,
"states/ardrone3/NetworkState/WifiScanListChanged"));
207 ardrone3_networkstate_allwifiscanchanged_ptr.reset(
208 new cb::Ardrone3NetworkStateAllWifiScanChanged(
209 nh, priv_nh,
"states/ardrone3/NetworkState/AllWifiScanChanged"));
210 ardrone3_networkstate_wifiauthchannellistchanged_ptr.reset(
211 new cb::Ardrone3NetworkStateWifiAuthChannelListChanged(
212 nh, priv_nh,
"states/ardrone3/NetworkState/WifiAuthChannelListChanged"));
213 ardrone3_networkstate_allwifiauthchannelchanged_ptr.reset(
214 new cb::Ardrone3NetworkStateAllWifiAuthChannelChanged(
215 nh, priv_nh,
"states/ardrone3/NetworkState/AllWifiAuthChannelChanged"));
216 ardrone3_mediastreamingstate_videoenablechanged_ptr.reset(
217 new cb::Ardrone3MediaStreamingStateVideoEnableChanged(
218 nh, priv_nh,
"states/ardrone3/MediaStreamingState/VideoEnableChanged"));
219 ardrone3_mediastreamingstate_videostreammodechanged_ptr.reset(
220 new cb::Ardrone3MediaStreamingStateVideoStreamModeChanged(
221 nh, priv_nh,
"states/ardrone3/MediaStreamingState/VideoStreamModeChanged"));
222 ardrone3_camerastate_orientation_ptr.reset(
223 new cb::Ardrone3CameraStateOrientation(
224 nh, priv_nh,
"states/ardrone3/CameraState/Orientation"));
225 ardrone3_camerastate_defaultcameraorientation_ptr.reset(
226 new cb::Ardrone3CameraStatedefaultCameraOrientation(
227 nh, priv_nh,
"states/ardrone3/CameraState/defaultCameraOrientation"));
228 ardrone3_camerastate_orientationv2_ptr.reset(
229 new cb::Ardrone3CameraStateOrientationV2(
230 nh, priv_nh,
"states/ardrone3/CameraState/OrientationV2"));
231 ardrone3_camerastate_defaultcameraorientationv2_ptr.reset(
232 new cb::Ardrone3CameraStatedefaultCameraOrientationV2(
233 nh, priv_nh,
"states/ardrone3/CameraState/defaultCameraOrientationV2"));
234 ardrone3_camerastate_velocityrange_ptr.reset(
235 new cb::Ardrone3CameraStateVelocityRange(
236 nh, priv_nh,
"states/ardrone3/CameraState/VelocityRange"));
237 ardrone3_antiflickeringstate_electricfrequencychanged_ptr.reset(
238 new cb::Ardrone3AntiflickeringStateelectricFrequencyChanged(
239 nh, priv_nh,
"states/ardrone3/AntiflickeringState/electricFrequencyChanged"));
240 ardrone3_antiflickeringstate_modechanged_ptr.reset(
241 new cb::Ardrone3AntiflickeringStatemodeChanged(
242 nh, priv_nh,
"states/ardrone3/AntiflickeringState/modeChanged"));
243 ardrone3_gpsstate_numberofsatellitechanged_ptr.reset(
244 new cb::Ardrone3GPSStateNumberOfSatelliteChanged(
245 nh, priv_nh,
"states/ardrone3/GPSState/NumberOfSatelliteChanged"));
246 ardrone3_gpsstate_hometypeavailabilitychanged_ptr.reset(
247 new cb::Ardrone3GPSStateHomeTypeAvailabilityChanged(
248 nh, priv_nh,
"states/ardrone3/GPSState/HomeTypeAvailabilityChanged"));
249 ardrone3_gpsstate_hometypechosenchanged_ptr.reset(
250 new cb::Ardrone3GPSStateHomeTypeChosenChanged(
251 nh, priv_nh,
"states/ardrone3/GPSState/HomeTypeChosenChanged"));
252 ardrone3_prostate_features_ptr.reset(
253 new cb::Ardrone3PROStateFeatures(
254 nh, priv_nh,
"states/ardrone3/PROState/Features"));
255 ardrone3_accessorystate_connectedaccessories_ptr.reset(
256 new cb::Ardrone3AccessoryStateConnectedAccessories(
257 nh, priv_nh,
"states/ardrone3/AccessoryState/ConnectedAccessories"));
261 ardrone3_mediarecordstate_picturestatechanged_ptr->GetCommandKey(),
262 ardrone3_mediarecordstate_picturestatechanged_ptr));
265 ardrone3_mediarecordstate_videostatechanged_ptr->GetCommandKey(),
266 ardrone3_mediarecordstate_videostatechanged_ptr));
269 ardrone3_mediarecordstate_picturestatechangedv2_ptr->GetCommandKey(),
270 ardrone3_mediarecordstate_picturestatechangedv2_ptr));
273 ardrone3_mediarecordstate_videostatechangedv2_ptr->GetCommandKey(),
274 ardrone3_mediarecordstate_videostatechangedv2_ptr));
277 ardrone3_mediarecordstate_videoresolutionstate_ptr->GetCommandKey(),
278 ardrone3_mediarecordstate_videoresolutionstate_ptr));
281 ardrone3_pilotingstate_flattrimchanged_ptr->GetCommandKey(),
282 ardrone3_pilotingstate_flattrimchanged_ptr));
285 ardrone3_pilotingstate_flyingstatechanged_ptr->GetCommandKey(),
286 ardrone3_pilotingstate_flyingstatechanged_ptr));
289 ardrone3_pilotingstate_alertstatechanged_ptr->GetCommandKey(),
290 ardrone3_pilotingstate_alertstatechanged_ptr));
293 ardrone3_pilotingstate_navigatehomestatechanged_ptr->GetCommandKey(),
294 ardrone3_pilotingstate_navigatehomestatechanged_ptr));
297 ardrone3_pilotingstate_positionchanged_ptr->GetCommandKey(),
298 ardrone3_pilotingstate_positionchanged_ptr));
301 ardrone3_pilotingstate_speedchanged_ptr->GetCommandKey(),
302 ardrone3_pilotingstate_speedchanged_ptr));
305 ardrone3_pilotingstate_attitudechanged_ptr->GetCommandKey(),
306 ardrone3_pilotingstate_attitudechanged_ptr));
309 ardrone3_pilotingstate_autotakeoffmodechanged_ptr->GetCommandKey(),
310 ardrone3_pilotingstate_autotakeoffmodechanged_ptr));
313 ardrone3_pilotingstate_altitudechanged_ptr->GetCommandKey(),
314 ardrone3_pilotingstate_altitudechanged_ptr));
317 ardrone3_pilotingstate_gpslocationchanged_ptr->GetCommandKey(),
318 ardrone3_pilotingstate_gpslocationchanged_ptr));
321 ardrone3_pilotingstate_landingstatechanged_ptr->GetCommandKey(),
322 ardrone3_pilotingstate_landingstatechanged_ptr));
325 ardrone3_pilotingstate_airspeedchanged_ptr->GetCommandKey(),
326 ardrone3_pilotingstate_airspeedchanged_ptr));
329 ardrone3_pilotingstate_movetochanged_ptr->GetCommandKey(),
330 ardrone3_pilotingstate_movetochanged_ptr));
333 ardrone3_networkstate_wifiscanlistchanged_ptr->GetCommandKey(),
334 ardrone3_networkstate_wifiscanlistchanged_ptr));
337 ardrone3_networkstate_allwifiscanchanged_ptr->GetCommandKey(),
338 ardrone3_networkstate_allwifiscanchanged_ptr));
341 ardrone3_networkstate_wifiauthchannellistchanged_ptr->GetCommandKey(),
342 ardrone3_networkstate_wifiauthchannellistchanged_ptr));
345 ardrone3_networkstate_allwifiauthchannelchanged_ptr->GetCommandKey(),
346 ardrone3_networkstate_allwifiauthchannelchanged_ptr));
349 ardrone3_mediastreamingstate_videoenablechanged_ptr->GetCommandKey(),
350 ardrone3_mediastreamingstate_videoenablechanged_ptr));
353 ardrone3_mediastreamingstate_videostreammodechanged_ptr->GetCommandKey(),
354 ardrone3_mediastreamingstate_videostreammodechanged_ptr));
357 ardrone3_camerastate_orientation_ptr->GetCommandKey(),
358 ardrone3_camerastate_orientation_ptr));
361 ardrone3_camerastate_defaultcameraorientation_ptr->GetCommandKey(),
362 ardrone3_camerastate_defaultcameraorientation_ptr));
365 ardrone3_camerastate_orientationv2_ptr->GetCommandKey(),
366 ardrone3_camerastate_orientationv2_ptr));
369 ardrone3_camerastate_defaultcameraorientationv2_ptr->GetCommandKey(),
370 ardrone3_camerastate_defaultcameraorientationv2_ptr));
373 ardrone3_camerastate_velocityrange_ptr->GetCommandKey(),
374 ardrone3_camerastate_velocityrange_ptr));
377 ardrone3_antiflickeringstate_electricfrequencychanged_ptr->GetCommandKey(),
378 ardrone3_antiflickeringstate_electricfrequencychanged_ptr));
381 ardrone3_antiflickeringstate_modechanged_ptr->GetCommandKey(),
382 ardrone3_antiflickeringstate_modechanged_ptr));
385 ardrone3_gpsstate_numberofsatellitechanged_ptr->GetCommandKey(),
386 ardrone3_gpsstate_numberofsatellitechanged_ptr));
389 ardrone3_gpsstate_hometypeavailabilitychanged_ptr->GetCommandKey(),
390 ardrone3_gpsstate_hometypeavailabilitychanged_ptr));
393 ardrone3_gpsstate_hometypechosenchanged_ptr->GetCommandKey(),
394 ardrone3_gpsstate_hometypechosenchanged_ptr));
397 ardrone3_prostate_features_ptr->GetCommandKey(),
398 ardrone3_prostate_features_ptr));
401 ardrone3_accessorystate_connectedaccessories_ptr->GetCommandKey(),
402 ardrone3_accessorystate_connectedaccessories_ptr));
403 #endif // UPDTAE_CALLBACK_MAP