common_state_callback_includes.h
Go to the documentation of this file.
1 
30 #ifdef FORWARD_DECLARATIONS
31 namespace cb
32 {
33  class CommonCommonStateAllStatesChanged;
34  class CommonCommonStateBatteryStateChanged;
35  class CommonCommonStateMassStorageStateListChanged;
36  class CommonCommonStateMassStorageInfoStateListChanged;
37  class CommonCommonStateCurrentDateChanged;
38  class CommonCommonStateCurrentTimeChanged;
39  class CommonCommonStateMassStorageInfoRemainingListChanged;
40  class CommonCommonStateWifiSignalChanged;
41  class CommonCommonStateSensorsStatesListChanged;
42  class CommonCommonStateProductModel;
43  class CommonCommonStateCountryListKnown;
44  class CommonCommonStateDeprecatedMassStorageContentChanged;
45  class CommonCommonStateMassStorageContent;
46  class CommonCommonStateMassStorageContentForCurrentRun;
47  class CommonCommonStateVideoRecordingTimestamp;
48  class CommonOverHeatStateOverHeatChanged;
49  class CommonOverHeatStateOverHeatRegulationChanged;
50  class CommonMavlinkStateMavlinkFilePlayingStateChanged;
51  class CommonMavlinkStateMavlinkPlayErrorStateChanged;
52  class CommonMavlinkStateMissionItemExecuted;
53  class CommonCalibrationStateMagnetoCalibrationStateChanged;
54  class CommonCalibrationStateMagnetoCalibrationRequiredState;
55  class CommonCalibrationStateMagnetoCalibrationAxisToCalibrateChanged;
56  class CommonCalibrationStateMagnetoCalibrationStartedChanged;
57  class CommonCalibrationStatePitotCalibrationStateChanged;
58  class CommonFlightPlanStateAvailabilityStateChanged;
59  class CommonFlightPlanStateComponentStateListChanged;
60  class CommonFlightPlanStateLockStateChanged;
61  class CommonARLibsVersionsStateControllerLibARCommandsVersion;
62  class CommonARLibsVersionsStateSkyControllerLibARCommandsVersion;
63  class CommonARLibsVersionsStateDeviceLibARCommandsVersion;
64  class CommonAudioStateAudioStreamingRunning;
65  class CommonHeadlightsStateintensityChanged;
66  class CommonAnimationsStateList;
67  class CommonAccessoryStateSupportedAccessoriesListChanged;
68  class CommonAccessoryStateAccessoryConfigChanged;
69  class CommonAccessoryStateAccessoryConfigModificationEnabled;
70  class CommonChargerStateMaxChargeRateChanged;
71  class CommonChargerStateCurrentChargeStateChanged;
72  class CommonChargerStateLastChargeRateChanged;
73  class CommonChargerStateChargingInfo;
74  class CommonRunStateRunIdChanged;
75 } // namespace cb
76 #endif // FORWARD_DECLARATIONS
77 
78 #ifdef DEFINE_SHARED_PTRS
79 // Define all callback wrappers
81  common_commonstate_allstateschanged_ptr;
83  common_commonstate_batterystatechanged_ptr;
85  common_commonstate_massstoragestatelistchanged_ptr;
87  common_commonstate_massstorageinfostatelistchanged_ptr;
89  common_commonstate_currentdatechanged_ptr;
91  common_commonstate_currenttimechanged_ptr;
93  common_commonstate_massstorageinforemaininglistchanged_ptr;
95  common_commonstate_wifisignalchanged_ptr;
97  common_commonstate_sensorsstateslistchanged_ptr;
99  common_commonstate_productmodel_ptr;
101  common_commonstate_countrylistknown_ptr;
103  common_commonstate_deprecatedmassstoragecontentchanged_ptr;
105  common_commonstate_massstoragecontent_ptr;
107  common_commonstate_massstoragecontentforcurrentrun_ptr;
109  common_commonstate_videorecordingtimestamp_ptr;
111  common_overheatstate_overheatchanged_ptr;
113  common_overheatstate_overheatregulationchanged_ptr;
115  common_mavlinkstate_mavlinkfileplayingstatechanged_ptr;
117  common_mavlinkstate_mavlinkplayerrorstatechanged_ptr;
119  common_mavlinkstate_missionitemexecuted_ptr;
121  common_calibrationstate_magnetocalibrationstatechanged_ptr;
123  common_calibrationstate_magnetocalibrationrequiredstate_ptr;
125  common_calibrationstate_magnetocalibrationaxistocalibratechanged_ptr;
127  common_calibrationstate_magnetocalibrationstartedchanged_ptr;
129  common_calibrationstate_pitotcalibrationstatechanged_ptr;
131  common_flightplanstate_availabilitystatechanged_ptr;
133  common_flightplanstate_componentstatelistchanged_ptr;
135  common_flightplanstate_lockstatechanged_ptr;
137  common_arlibsversionsstate_controllerlibarcommandsversion_ptr;
139  common_arlibsversionsstate_skycontrollerlibarcommandsversion_ptr;
141  common_arlibsversionsstate_devicelibarcommandsversion_ptr;
143  common_audiostate_audiostreamingrunning_ptr;
145  common_headlightsstate_intensitychanged_ptr;
147  common_animationsstate_list_ptr;
149  common_accessorystate_supportedaccessorieslistchanged_ptr;
151  common_accessorystate_accessoryconfigchanged_ptr;
153  common_accessorystate_accessoryconfigmodificationenabled_ptr;
155  common_chargerstate_maxchargeratechanged_ptr;
157  common_chargerstate_currentchargestatechanged_ptr;
159  common_chargerstate_lastchargeratechanged_ptr;
161  common_chargerstate_charginginfo_ptr;
163  common_runstate_runidchanged_ptr;
164 #endif // DEFINE_SHARED_PTRS
165 
166 #ifdef UPDTAE_CALLBACK_MAP
167 // Instantiate state callback wrappers
168 common_commonstate_allstateschanged_ptr.reset(
169  new cb::CommonCommonStateAllStatesChanged(
170  nh, priv_nh, "states/common/CommonState/AllStatesChanged"));
171 common_commonstate_batterystatechanged_ptr.reset(
172  new cb::CommonCommonStateBatteryStateChanged(
173  nh, priv_nh, "states/common/CommonState/BatteryStateChanged"));
174 common_commonstate_massstoragestatelistchanged_ptr.reset(
175  new cb::CommonCommonStateMassStorageStateListChanged(
176  nh, priv_nh, "states/common/CommonState/MassStorageStateListChanged"));
177 common_commonstate_massstorageinfostatelistchanged_ptr.reset(
178  new cb::CommonCommonStateMassStorageInfoStateListChanged(
179  nh, priv_nh, "states/common/CommonState/MassStorageInfoStateListChanged"));
180 common_commonstate_currentdatechanged_ptr.reset(
181  new cb::CommonCommonStateCurrentDateChanged(
182  nh, priv_nh, "states/common/CommonState/CurrentDateChanged"));
183 common_commonstate_currenttimechanged_ptr.reset(
184  new cb::CommonCommonStateCurrentTimeChanged(
185  nh, priv_nh, "states/common/CommonState/CurrentTimeChanged"));
186 common_commonstate_massstorageinforemaininglistchanged_ptr.reset(
187  new cb::CommonCommonStateMassStorageInfoRemainingListChanged(
188  nh, priv_nh, "states/common/CommonState/MassStorageInfoRemainingListChanged"));
189 common_commonstate_wifisignalchanged_ptr.reset(
190  new cb::CommonCommonStateWifiSignalChanged(
191  nh, priv_nh, "states/common/CommonState/WifiSignalChanged"));
192 common_commonstate_sensorsstateslistchanged_ptr.reset(
193  new cb::CommonCommonStateSensorsStatesListChanged(
194  nh, priv_nh, "states/common/CommonState/SensorsStatesListChanged"));
195 common_commonstate_productmodel_ptr.reset(
196  new cb::CommonCommonStateProductModel(
197  nh, priv_nh, "states/common/CommonState/ProductModel"));
198 common_commonstate_countrylistknown_ptr.reset(
199  new cb::CommonCommonStateCountryListKnown(
200  nh, priv_nh, "states/common/CommonState/CountryListKnown"));
201 common_commonstate_deprecatedmassstoragecontentchanged_ptr.reset(
202  new cb::CommonCommonStateDeprecatedMassStorageContentChanged(
203  nh, priv_nh, "states/common/CommonState/DeprecatedMassStorageContentChanged"));
204 common_commonstate_massstoragecontent_ptr.reset(
205  new cb::CommonCommonStateMassStorageContent(
206  nh, priv_nh, "states/common/CommonState/MassStorageContent"));
207 common_commonstate_massstoragecontentforcurrentrun_ptr.reset(
208  new cb::CommonCommonStateMassStorageContentForCurrentRun(
209  nh, priv_nh, "states/common/CommonState/MassStorageContentForCurrentRun"));
210 common_commonstate_videorecordingtimestamp_ptr.reset(
211  new cb::CommonCommonStateVideoRecordingTimestamp(
212  nh, priv_nh, "states/common/CommonState/VideoRecordingTimestamp"));
213 common_overheatstate_overheatchanged_ptr.reset(
214  new cb::CommonOverHeatStateOverHeatChanged(
215  nh, priv_nh, "states/common/OverHeatState/OverHeatChanged"));
216 common_overheatstate_overheatregulationchanged_ptr.reset(
217  new cb::CommonOverHeatStateOverHeatRegulationChanged(
218  nh, priv_nh, "states/common/OverHeatState/OverHeatRegulationChanged"));
219 common_mavlinkstate_mavlinkfileplayingstatechanged_ptr.reset(
220  new cb::CommonMavlinkStateMavlinkFilePlayingStateChanged(
221  nh, priv_nh, "states/common/MavlinkState/MavlinkFilePlayingStateChanged"));
222 common_mavlinkstate_mavlinkplayerrorstatechanged_ptr.reset(
223  new cb::CommonMavlinkStateMavlinkPlayErrorStateChanged(
224  nh, priv_nh, "states/common/MavlinkState/MavlinkPlayErrorStateChanged"));
225 common_mavlinkstate_missionitemexecuted_ptr.reset(
226  new cb::CommonMavlinkStateMissionItemExecuted(
227  nh, priv_nh, "states/common/MavlinkState/MissionItemExecuted"));
228 common_calibrationstate_magnetocalibrationstatechanged_ptr.reset(
229  new cb::CommonCalibrationStateMagnetoCalibrationStateChanged(
230  nh, priv_nh, "states/common/CalibrationState/MagnetoCalibrationStateChanged"));
231 common_calibrationstate_magnetocalibrationrequiredstate_ptr.reset(
232  new cb::CommonCalibrationStateMagnetoCalibrationRequiredState(
233  nh, priv_nh, "states/common/CalibrationState/MagnetoCalibrationRequiredState"));
234 common_calibrationstate_magnetocalibrationaxistocalibratechanged_ptr.reset(
235  new cb::CommonCalibrationStateMagnetoCalibrationAxisToCalibrateChanged(
236  nh, priv_nh, "states/common/CalibrationState/MagnetoCalibrationAxisToCalibrateChanged"));
237 common_calibrationstate_magnetocalibrationstartedchanged_ptr.reset(
238  new cb::CommonCalibrationStateMagnetoCalibrationStartedChanged(
239  nh, priv_nh, "states/common/CalibrationState/MagnetoCalibrationStartedChanged"));
240 common_calibrationstate_pitotcalibrationstatechanged_ptr.reset(
241  new cb::CommonCalibrationStatePitotCalibrationStateChanged(
242  nh, priv_nh, "states/common/CalibrationState/PitotCalibrationStateChanged"));
243 common_flightplanstate_availabilitystatechanged_ptr.reset(
244  new cb::CommonFlightPlanStateAvailabilityStateChanged(
245  nh, priv_nh, "states/common/FlightPlanState/AvailabilityStateChanged"));
246 common_flightplanstate_componentstatelistchanged_ptr.reset(
247  new cb::CommonFlightPlanStateComponentStateListChanged(
248  nh, priv_nh, "states/common/FlightPlanState/ComponentStateListChanged"));
249 common_flightplanstate_lockstatechanged_ptr.reset(
250  new cb::CommonFlightPlanStateLockStateChanged(
251  nh, priv_nh, "states/common/FlightPlanState/LockStateChanged"));
252 common_arlibsversionsstate_controllerlibarcommandsversion_ptr.reset(
253  new cb::CommonARLibsVersionsStateControllerLibARCommandsVersion(
254  nh, priv_nh, "states/common/ARLibsVersionsState/ControllerLibARCommandsVersion"));
255 common_arlibsversionsstate_skycontrollerlibarcommandsversion_ptr.reset(
256  new cb::CommonARLibsVersionsStateSkyControllerLibARCommandsVersion(
257  nh, priv_nh, "states/common/ARLibsVersionsState/SkyControllerLibARCommandsVersion"));
258 common_arlibsversionsstate_devicelibarcommandsversion_ptr.reset(
259  new cb::CommonARLibsVersionsStateDeviceLibARCommandsVersion(
260  nh, priv_nh, "states/common/ARLibsVersionsState/DeviceLibARCommandsVersion"));
261 common_audiostate_audiostreamingrunning_ptr.reset(
262  new cb::CommonAudioStateAudioStreamingRunning(
263  nh, priv_nh, "states/common/AudioState/AudioStreamingRunning"));
264 common_headlightsstate_intensitychanged_ptr.reset(
265  new cb::CommonHeadlightsStateintensityChanged(
266  nh, priv_nh, "states/common/HeadlightsState/intensityChanged"));
267 common_animationsstate_list_ptr.reset(
268  new cb::CommonAnimationsStateList(
269  nh, priv_nh, "states/common/AnimationsState/List"));
270 common_accessorystate_supportedaccessorieslistchanged_ptr.reset(
271  new cb::CommonAccessoryStateSupportedAccessoriesListChanged(
272  nh, priv_nh, "states/common/AccessoryState/SupportedAccessoriesListChanged"));
273 common_accessorystate_accessoryconfigchanged_ptr.reset(
274  new cb::CommonAccessoryStateAccessoryConfigChanged(
275  nh, priv_nh, "states/common/AccessoryState/AccessoryConfigChanged"));
276 common_accessorystate_accessoryconfigmodificationenabled_ptr.reset(
277  new cb::CommonAccessoryStateAccessoryConfigModificationEnabled(
278  nh, priv_nh, "states/common/AccessoryState/AccessoryConfigModificationEnabled"));
279 common_chargerstate_maxchargeratechanged_ptr.reset(
280  new cb::CommonChargerStateMaxChargeRateChanged(
281  nh, priv_nh, "states/common/ChargerState/MaxChargeRateChanged"));
282 common_chargerstate_currentchargestatechanged_ptr.reset(
283  new cb::CommonChargerStateCurrentChargeStateChanged(
284  nh, priv_nh, "states/common/ChargerState/CurrentChargeStateChanged"));
285 common_chargerstate_lastchargeratechanged_ptr.reset(
286  new cb::CommonChargerStateLastChargeRateChanged(
287  nh, priv_nh, "states/common/ChargerState/LastChargeRateChanged"));
288 common_chargerstate_charginginfo_ptr.reset(
289  new cb::CommonChargerStateChargingInfo(
290  nh, priv_nh, "states/common/ChargerState/ChargingInfo"));
291 common_runstate_runidchanged_ptr.reset(
292  new cb::CommonRunStateRunIdChanged(
293  nh, priv_nh, "states/common/RunState/RunIdChanged"));
294 
295 // Add all wrappers to the callback map
296 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
297  common_commonstate_allstateschanged_ptr->GetCommandKey(),
298  common_commonstate_allstateschanged_ptr));
299 // Add all wrappers to the callback map
300 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
301  common_commonstate_batterystatechanged_ptr->GetCommandKey(),
302  common_commonstate_batterystatechanged_ptr));
303 // Add all wrappers to the callback map
304 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
305  common_commonstate_massstoragestatelistchanged_ptr->GetCommandKey(),
306  common_commonstate_massstoragestatelistchanged_ptr));
307 // Add all wrappers to the callback map
308 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
309  common_commonstate_massstorageinfostatelistchanged_ptr->GetCommandKey(),
310  common_commonstate_massstorageinfostatelistchanged_ptr));
311 // Add all wrappers to the callback map
312 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
313  common_commonstate_currentdatechanged_ptr->GetCommandKey(),
314  common_commonstate_currentdatechanged_ptr));
315 // Add all wrappers to the callback map
316 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
317  common_commonstate_currenttimechanged_ptr->GetCommandKey(),
318  common_commonstate_currenttimechanged_ptr));
319 // Add all wrappers to the callback map
320 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
321  common_commonstate_massstorageinforemaininglistchanged_ptr->GetCommandKey(),
322  common_commonstate_massstorageinforemaininglistchanged_ptr));
323 // Add all wrappers to the callback map
324 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
325  common_commonstate_wifisignalchanged_ptr->GetCommandKey(),
326  common_commonstate_wifisignalchanged_ptr));
327 // Add all wrappers to the callback map
328 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
329  common_commonstate_sensorsstateslistchanged_ptr->GetCommandKey(),
330  common_commonstate_sensorsstateslistchanged_ptr));
331 // Add all wrappers to the callback map
332 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
333  common_commonstate_productmodel_ptr->GetCommandKey(),
334  common_commonstate_productmodel_ptr));
335 // Add all wrappers to the callback map
336 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
337  common_commonstate_countrylistknown_ptr->GetCommandKey(),
338  common_commonstate_countrylistknown_ptr));
339 // Add all wrappers to the callback map
340 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
341  common_commonstate_deprecatedmassstoragecontentchanged_ptr->GetCommandKey(),
342  common_commonstate_deprecatedmassstoragecontentchanged_ptr));
343 // Add all wrappers to the callback map
344 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
345  common_commonstate_massstoragecontent_ptr->GetCommandKey(),
346  common_commonstate_massstoragecontent_ptr));
347 // Add all wrappers to the callback map
348 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
349  common_commonstate_massstoragecontentforcurrentrun_ptr->GetCommandKey(),
350  common_commonstate_massstoragecontentforcurrentrun_ptr));
351 // Add all wrappers to the callback map
352 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
353  common_commonstate_videorecordingtimestamp_ptr->GetCommandKey(),
354  common_commonstate_videorecordingtimestamp_ptr));
355 // Add all wrappers to the callback map
356 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
357  common_overheatstate_overheatchanged_ptr->GetCommandKey(),
358  common_overheatstate_overheatchanged_ptr));
359 // Add all wrappers to the callback map
360 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
361  common_overheatstate_overheatregulationchanged_ptr->GetCommandKey(),
362  common_overheatstate_overheatregulationchanged_ptr));
363 // Add all wrappers to the callback map
364 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
365  common_mavlinkstate_mavlinkfileplayingstatechanged_ptr->GetCommandKey(),
366  common_mavlinkstate_mavlinkfileplayingstatechanged_ptr));
367 // Add all wrappers to the callback map
368 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
369  common_mavlinkstate_mavlinkplayerrorstatechanged_ptr->GetCommandKey(),
370  common_mavlinkstate_mavlinkplayerrorstatechanged_ptr));
371 // Add all wrappers to the callback map
372 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
373  common_mavlinkstate_missionitemexecuted_ptr->GetCommandKey(),
374  common_mavlinkstate_missionitemexecuted_ptr));
375 // Add all wrappers to the callback map
376 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
377  common_calibrationstate_magnetocalibrationstatechanged_ptr->GetCommandKey(),
378  common_calibrationstate_magnetocalibrationstatechanged_ptr));
379 // Add all wrappers to the callback map
380 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
381  common_calibrationstate_magnetocalibrationrequiredstate_ptr->GetCommandKey(),
382  common_calibrationstate_magnetocalibrationrequiredstate_ptr));
383 // Add all wrappers to the callback map
384 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
385  common_calibrationstate_magnetocalibrationaxistocalibratechanged_ptr->GetCommandKey(),
386  common_calibrationstate_magnetocalibrationaxistocalibratechanged_ptr));
387 // Add all wrappers to the callback map
388 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
389  common_calibrationstate_magnetocalibrationstartedchanged_ptr->GetCommandKey(),
390  common_calibrationstate_magnetocalibrationstartedchanged_ptr));
391 // Add all wrappers to the callback map
392 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
393  common_calibrationstate_pitotcalibrationstatechanged_ptr->GetCommandKey(),
394  common_calibrationstate_pitotcalibrationstatechanged_ptr));
395 // Add all wrappers to the callback map
396 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
397  common_flightplanstate_availabilitystatechanged_ptr->GetCommandKey(),
398  common_flightplanstate_availabilitystatechanged_ptr));
399 // Add all wrappers to the callback map
400 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
401  common_flightplanstate_componentstatelistchanged_ptr->GetCommandKey(),
402  common_flightplanstate_componentstatelistchanged_ptr));
403 // Add all wrappers to the callback map
404 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
405  common_flightplanstate_lockstatechanged_ptr->GetCommandKey(),
406  common_flightplanstate_lockstatechanged_ptr));
407 // Add all wrappers to the callback map
408 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
409  common_arlibsversionsstate_controllerlibarcommandsversion_ptr->GetCommandKey(),
410  common_arlibsversionsstate_controllerlibarcommandsversion_ptr));
411 // Add all wrappers to the callback map
412 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
413  common_arlibsversionsstate_skycontrollerlibarcommandsversion_ptr->GetCommandKey(),
414  common_arlibsversionsstate_skycontrollerlibarcommandsversion_ptr));
415 // Add all wrappers to the callback map
416 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
417  common_arlibsversionsstate_devicelibarcommandsversion_ptr->GetCommandKey(),
418  common_arlibsversionsstate_devicelibarcommandsversion_ptr));
419 // Add all wrappers to the callback map
420 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
421  common_audiostate_audiostreamingrunning_ptr->GetCommandKey(),
422  common_audiostate_audiostreamingrunning_ptr));
423 // Add all wrappers to the callback map
424 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
425  common_headlightsstate_intensitychanged_ptr->GetCommandKey(),
426  common_headlightsstate_intensitychanged_ptr));
427 // Add all wrappers to the callback map
428 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
429  common_animationsstate_list_ptr->GetCommandKey(),
430  common_animationsstate_list_ptr));
431 // Add all wrappers to the callback map
432 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
433  common_accessorystate_supportedaccessorieslistchanged_ptr->GetCommandKey(),
434  common_accessorystate_supportedaccessorieslistchanged_ptr));
435 // Add all wrappers to the callback map
436 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
437  common_accessorystate_accessoryconfigchanged_ptr->GetCommandKey(),
438  common_accessorystate_accessoryconfigchanged_ptr));
439 // Add all wrappers to the callback map
440 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
441  common_accessorystate_accessoryconfigmodificationenabled_ptr->GetCommandKey(),
442  common_accessorystate_accessoryconfigmodificationenabled_ptr));
443 // Add all wrappers to the callback map
444 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
445  common_chargerstate_maxchargeratechanged_ptr->GetCommandKey(),
446  common_chargerstate_maxchargeratechanged_ptr));
447 // Add all wrappers to the callback map
448 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
449  common_chargerstate_currentchargestatechanged_ptr->GetCommandKey(),
450  common_chargerstate_currentchargestatechanged_ptr));
451 // Add all wrappers to the callback map
452 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
453  common_chargerstate_lastchargeratechanged_ptr->GetCommandKey(),
454  common_chargerstate_lastchargeratechanged_ptr));
455 // Add all wrappers to the callback map
456 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
457  common_chargerstate_charginginfo_ptr->GetCommandKey(),
458  common_chargerstate_charginginfo_ptr));
459 // Add all wrappers to the callback map
460 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
461  common_runstate_runidchanged_ptr->GetCommandKey(),
462  common_runstate_runidchanged_ptr));
463 #endif // UPDTAE_CALLBACK_MAP


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