30 #ifdef FORWARD_DECLARATIONS 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;
76 #endif // FORWARD_DECLARATIONS 78 #ifdef DEFINE_SHARED_PTRS 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 166 #ifdef UPDTAE_CALLBACK_MAP 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"));
297 common_commonstate_allstateschanged_ptr->GetCommandKey(),
298 common_commonstate_allstateschanged_ptr));
301 common_commonstate_batterystatechanged_ptr->GetCommandKey(),
302 common_commonstate_batterystatechanged_ptr));
305 common_commonstate_massstoragestatelistchanged_ptr->GetCommandKey(),
306 common_commonstate_massstoragestatelistchanged_ptr));
309 common_commonstate_massstorageinfostatelistchanged_ptr->GetCommandKey(),
310 common_commonstate_massstorageinfostatelistchanged_ptr));
313 common_commonstate_currentdatechanged_ptr->GetCommandKey(),
314 common_commonstate_currentdatechanged_ptr));
317 common_commonstate_currenttimechanged_ptr->GetCommandKey(),
318 common_commonstate_currenttimechanged_ptr));
321 common_commonstate_massstorageinforemaininglistchanged_ptr->GetCommandKey(),
322 common_commonstate_massstorageinforemaininglistchanged_ptr));
325 common_commonstate_wifisignalchanged_ptr->GetCommandKey(),
326 common_commonstate_wifisignalchanged_ptr));
329 common_commonstate_sensorsstateslistchanged_ptr->GetCommandKey(),
330 common_commonstate_sensorsstateslistchanged_ptr));
333 common_commonstate_productmodel_ptr->GetCommandKey(),
334 common_commonstate_productmodel_ptr));
337 common_commonstate_countrylistknown_ptr->GetCommandKey(),
338 common_commonstate_countrylistknown_ptr));
341 common_commonstate_deprecatedmassstoragecontentchanged_ptr->GetCommandKey(),
342 common_commonstate_deprecatedmassstoragecontentchanged_ptr));
345 common_commonstate_massstoragecontent_ptr->GetCommandKey(),
346 common_commonstate_massstoragecontent_ptr));
349 common_commonstate_massstoragecontentforcurrentrun_ptr->GetCommandKey(),
350 common_commonstate_massstoragecontentforcurrentrun_ptr));
353 common_commonstate_videorecordingtimestamp_ptr->GetCommandKey(),
354 common_commonstate_videorecordingtimestamp_ptr));
357 common_overheatstate_overheatchanged_ptr->GetCommandKey(),
358 common_overheatstate_overheatchanged_ptr));
361 common_overheatstate_overheatregulationchanged_ptr->GetCommandKey(),
362 common_overheatstate_overheatregulationchanged_ptr));
365 common_mavlinkstate_mavlinkfileplayingstatechanged_ptr->GetCommandKey(),
366 common_mavlinkstate_mavlinkfileplayingstatechanged_ptr));
369 common_mavlinkstate_mavlinkplayerrorstatechanged_ptr->GetCommandKey(),
370 common_mavlinkstate_mavlinkplayerrorstatechanged_ptr));
373 common_mavlinkstate_missionitemexecuted_ptr->GetCommandKey(),
374 common_mavlinkstate_missionitemexecuted_ptr));
377 common_calibrationstate_magnetocalibrationstatechanged_ptr->GetCommandKey(),
378 common_calibrationstate_magnetocalibrationstatechanged_ptr));
381 common_calibrationstate_magnetocalibrationrequiredstate_ptr->GetCommandKey(),
382 common_calibrationstate_magnetocalibrationrequiredstate_ptr));
385 common_calibrationstate_magnetocalibrationaxistocalibratechanged_ptr->GetCommandKey(),
386 common_calibrationstate_magnetocalibrationaxistocalibratechanged_ptr));
389 common_calibrationstate_magnetocalibrationstartedchanged_ptr->GetCommandKey(),
390 common_calibrationstate_magnetocalibrationstartedchanged_ptr));
393 common_calibrationstate_pitotcalibrationstatechanged_ptr->GetCommandKey(),
394 common_calibrationstate_pitotcalibrationstatechanged_ptr));
397 common_flightplanstate_availabilitystatechanged_ptr->GetCommandKey(),
398 common_flightplanstate_availabilitystatechanged_ptr));
401 common_flightplanstate_componentstatelistchanged_ptr->GetCommandKey(),
402 common_flightplanstate_componentstatelistchanged_ptr));
405 common_flightplanstate_lockstatechanged_ptr->GetCommandKey(),
406 common_flightplanstate_lockstatechanged_ptr));
409 common_arlibsversionsstate_controllerlibarcommandsversion_ptr->GetCommandKey(),
410 common_arlibsversionsstate_controllerlibarcommandsversion_ptr));
413 common_arlibsversionsstate_skycontrollerlibarcommandsversion_ptr->GetCommandKey(),
414 common_arlibsversionsstate_skycontrollerlibarcommandsversion_ptr));
417 common_arlibsversionsstate_devicelibarcommandsversion_ptr->GetCommandKey(),
418 common_arlibsversionsstate_devicelibarcommandsversion_ptr));
421 common_audiostate_audiostreamingrunning_ptr->GetCommandKey(),
422 common_audiostate_audiostreamingrunning_ptr));
425 common_headlightsstate_intensitychanged_ptr->GetCommandKey(),
426 common_headlightsstate_intensitychanged_ptr));
429 common_animationsstate_list_ptr->GetCommandKey(),
430 common_animationsstate_list_ptr));
433 common_accessorystate_supportedaccessorieslistchanged_ptr->GetCommandKey(),
434 common_accessorystate_supportedaccessorieslistchanged_ptr));
437 common_accessorystate_accessoryconfigchanged_ptr->GetCommandKey(),
438 common_accessorystate_accessoryconfigchanged_ptr));
441 common_accessorystate_accessoryconfigmodificationenabled_ptr->GetCommandKey(),
442 common_accessorystate_accessoryconfigmodificationenabled_ptr));
445 common_chargerstate_maxchargeratechanged_ptr->GetCommandKey(),
446 common_chargerstate_maxchargeratechanged_ptr));
449 common_chargerstate_currentchargestatechanged_ptr->GetCommandKey(),
450 common_chargerstate_currentchargestatechanged_ptr));
453 common_chargerstate_lastchargeratechanged_ptr->GetCommandKey(),
454 common_chargerstate_lastchargeratechanged_ptr));
457 common_chargerstate_charginginfo_ptr->GetCommandKey(),
458 common_chargerstate_charginginfo_ptr));
461 common_runstate_runidchanged_ptr->GetCommandKey(),
462 common_runstate_runidchanged_ptr));
463 #endif // UPDTAE_CALLBACK_MAP