ardrone3_state_callback_includes.h
Go to the documentation of this file.
1 
30 #ifdef FORWARD_DECLARATIONS
31 namespace cb
32 {
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;
69 } // namespace cb
70 #endif // FORWARD_DECLARATIONS
71 
72 #ifdef DEFINE_SHARED_PTRS
73 // Define all callback wrappers
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
147 
148 #ifdef UPDTAE_CALLBACK_MAP
149 // Instantiate state callback wrappers
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"));
258 
259 // Add all wrappers to the callback map
260 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
261  ardrone3_mediarecordstate_picturestatechanged_ptr->GetCommandKey(),
262  ardrone3_mediarecordstate_picturestatechanged_ptr));
263 // Add all wrappers to the callback map
264 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
265  ardrone3_mediarecordstate_videostatechanged_ptr->GetCommandKey(),
266  ardrone3_mediarecordstate_videostatechanged_ptr));
267 // Add all wrappers to the callback map
268 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
269  ardrone3_mediarecordstate_picturestatechangedv2_ptr->GetCommandKey(),
270  ardrone3_mediarecordstate_picturestatechangedv2_ptr));
271 // Add all wrappers to the callback map
272 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
273  ardrone3_mediarecordstate_videostatechangedv2_ptr->GetCommandKey(),
274  ardrone3_mediarecordstate_videostatechangedv2_ptr));
275 // Add all wrappers to the callback map
276 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
277  ardrone3_mediarecordstate_videoresolutionstate_ptr->GetCommandKey(),
278  ardrone3_mediarecordstate_videoresolutionstate_ptr));
279 // Add all wrappers to the callback map
280 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
281  ardrone3_pilotingstate_flattrimchanged_ptr->GetCommandKey(),
282  ardrone3_pilotingstate_flattrimchanged_ptr));
283 // Add all wrappers to the callback map
284 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
285  ardrone3_pilotingstate_flyingstatechanged_ptr->GetCommandKey(),
286  ardrone3_pilotingstate_flyingstatechanged_ptr));
287 // Add all wrappers to the callback map
288 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
289  ardrone3_pilotingstate_alertstatechanged_ptr->GetCommandKey(),
290  ardrone3_pilotingstate_alertstatechanged_ptr));
291 // Add all wrappers to the callback map
292 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
293  ardrone3_pilotingstate_navigatehomestatechanged_ptr->GetCommandKey(),
294  ardrone3_pilotingstate_navigatehomestatechanged_ptr));
295 // Add all wrappers to the callback map
296 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
297  ardrone3_pilotingstate_positionchanged_ptr->GetCommandKey(),
298  ardrone3_pilotingstate_positionchanged_ptr));
299 // Add all wrappers to the callback map
300 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
301  ardrone3_pilotingstate_speedchanged_ptr->GetCommandKey(),
302  ardrone3_pilotingstate_speedchanged_ptr));
303 // Add all wrappers to the callback map
304 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
305  ardrone3_pilotingstate_attitudechanged_ptr->GetCommandKey(),
306  ardrone3_pilotingstate_attitudechanged_ptr));
307 // Add all wrappers to the callback map
308 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
309  ardrone3_pilotingstate_autotakeoffmodechanged_ptr->GetCommandKey(),
310  ardrone3_pilotingstate_autotakeoffmodechanged_ptr));
311 // Add all wrappers to the callback map
312 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
313  ardrone3_pilotingstate_altitudechanged_ptr->GetCommandKey(),
314  ardrone3_pilotingstate_altitudechanged_ptr));
315 // Add all wrappers to the callback map
316 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
317  ardrone3_pilotingstate_gpslocationchanged_ptr->GetCommandKey(),
318  ardrone3_pilotingstate_gpslocationchanged_ptr));
319 // Add all wrappers to the callback map
320 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
321  ardrone3_pilotingstate_landingstatechanged_ptr->GetCommandKey(),
322  ardrone3_pilotingstate_landingstatechanged_ptr));
323 // Add all wrappers to the callback map
324 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
325  ardrone3_pilotingstate_airspeedchanged_ptr->GetCommandKey(),
326  ardrone3_pilotingstate_airspeedchanged_ptr));
327 // Add all wrappers to the callback map
328 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
329  ardrone3_pilotingstate_movetochanged_ptr->GetCommandKey(),
330  ardrone3_pilotingstate_movetochanged_ptr));
331 // Add all wrappers to the callback map
332 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
333  ardrone3_networkstate_wifiscanlistchanged_ptr->GetCommandKey(),
334  ardrone3_networkstate_wifiscanlistchanged_ptr));
335 // Add all wrappers to the callback map
336 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
337  ardrone3_networkstate_allwifiscanchanged_ptr->GetCommandKey(),
338  ardrone3_networkstate_allwifiscanchanged_ptr));
339 // Add all wrappers to the callback map
340 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
341  ardrone3_networkstate_wifiauthchannellistchanged_ptr->GetCommandKey(),
342  ardrone3_networkstate_wifiauthchannellistchanged_ptr));
343 // Add all wrappers to the callback map
344 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
345  ardrone3_networkstate_allwifiauthchannelchanged_ptr->GetCommandKey(),
346  ardrone3_networkstate_allwifiauthchannelchanged_ptr));
347 // Add all wrappers to the callback map
348 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
349  ardrone3_mediastreamingstate_videoenablechanged_ptr->GetCommandKey(),
350  ardrone3_mediastreamingstate_videoenablechanged_ptr));
351 // Add all wrappers to the callback map
352 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
353  ardrone3_mediastreamingstate_videostreammodechanged_ptr->GetCommandKey(),
354  ardrone3_mediastreamingstate_videostreammodechanged_ptr));
355 // Add all wrappers to the callback map
356 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
357  ardrone3_camerastate_orientation_ptr->GetCommandKey(),
358  ardrone3_camerastate_orientation_ptr));
359 // Add all wrappers to the callback map
360 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
361  ardrone3_camerastate_defaultcameraorientation_ptr->GetCommandKey(),
362  ardrone3_camerastate_defaultcameraorientation_ptr));
363 // Add all wrappers to the callback map
364 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
365  ardrone3_camerastate_orientationv2_ptr->GetCommandKey(),
366  ardrone3_camerastate_orientationv2_ptr));
367 // Add all wrappers to the callback map
368 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
369  ardrone3_camerastate_defaultcameraorientationv2_ptr->GetCommandKey(),
370  ardrone3_camerastate_defaultcameraorientationv2_ptr));
371 // Add all wrappers to the callback map
372 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
373  ardrone3_camerastate_velocityrange_ptr->GetCommandKey(),
374  ardrone3_camerastate_velocityrange_ptr));
375 // Add all wrappers to the callback map
376 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
377  ardrone3_antiflickeringstate_electricfrequencychanged_ptr->GetCommandKey(),
378  ardrone3_antiflickeringstate_electricfrequencychanged_ptr));
379 // Add all wrappers to the callback map
380 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
381  ardrone3_antiflickeringstate_modechanged_ptr->GetCommandKey(),
382  ardrone3_antiflickeringstate_modechanged_ptr));
383 // Add all wrappers to the callback map
384 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
385  ardrone3_gpsstate_numberofsatellitechanged_ptr->GetCommandKey(),
386  ardrone3_gpsstate_numberofsatellitechanged_ptr));
387 // Add all wrappers to the callback map
388 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
389  ardrone3_gpsstate_hometypeavailabilitychanged_ptr->GetCommandKey(),
390  ardrone3_gpsstate_hometypeavailabilitychanged_ptr));
391 // Add all wrappers to the callback map
392 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
393  ardrone3_gpsstate_hometypechosenchanged_ptr->GetCommandKey(),
394  ardrone3_gpsstate_hometypechosenchanged_ptr));
395 // Add all wrappers to the callback map
396 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
397  ardrone3_prostate_features_ptr->GetCommandKey(),
398  ardrone3_prostate_features_ptr));
399 // Add all wrappers to the callback map
400 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
401  ardrone3_accessorystate_connectedaccessories_ptr->GetCommandKey(),
402  ardrone3_accessorystate_connectedaccessories_ptr));
403 #endif // UPDTAE_CALLBACK_MAP


bebop_driver
Author(s): Mani Monajjemi
autogenerated on Mon Jun 10 2019 12:58:55