ardrone3_setting_callback_includes.h
Go to the documentation of this file.
00001 
00030 #ifdef FORWARD_DECLARATIONS
00031 namespace cb
00032 {
00033   class PilotingSettingsMaxAltitude;
00034   class PilotingSettingsMaxTilt;
00035   class PilotingSettingsAbsolutControl;
00036   class PilotingSettingsMaxDistance;
00037   class PilotingSettingsNoFlyOverMaxDistance;
00038   class PilotingSettingsBankedTurn;
00039   class PilotingSettingsMinAltitude;
00040   class PilotingSettingsCirclingDirection;
00041   class PilotingSettingsCirclingRadius;
00042   class PilotingSettingsCirclingAltitude;
00043   class PilotingSettingsPitchMode;
00044   class SpeedSettingsMaxVerticalSpeed;
00045   class SpeedSettingsMaxRotationSpeed;
00046   class SpeedSettingsHullProtection;
00047   class SpeedSettingsOutdoor;
00048   class SpeedSettingsMaxPitchRollRotationSpeed;
00049   class NetworkSettingsWifiSelection;
00050   class PictureSettingsVideoStabilizationMode;
00051   class PictureSettingsVideoRecordingMode;
00052   class PictureSettingsVideoFramerate;
00053   class PictureSettingsVideoResolutions;
00054   class GPSSettingsHomeType;
00055   class GPSSettingsReturnHomeDelay;
00056 }  // namespace cb
00057 #endif  // FORWARD_DECLARATIONS
00058 
00059 #ifdef DEFINE_SHARED_PTRS
00060 // Define all callback wrappers
00061 boost::shared_ptr<cb::PilotingSettingsMaxAltitude> ardrone3_pilotingsettings_maxaltitude_ptr;
00062 boost::shared_ptr<cb::PilotingSettingsMaxTilt> ardrone3_pilotingsettings_maxtilt_ptr;
00063 boost::shared_ptr<cb::PilotingSettingsAbsolutControl> ardrone3_pilotingsettings_absolutcontrol_ptr;
00064 boost::shared_ptr<cb::PilotingSettingsMaxDistance> ardrone3_pilotingsettings_maxdistance_ptr;
00065 boost::shared_ptr<cb::PilotingSettingsNoFlyOverMaxDistance> ardrone3_pilotingsettings_noflyovermaxdistance_ptr;
00066 boost::shared_ptr<cb::PilotingSettingsBankedTurn> ardrone3_pilotingsettings_bankedturn_ptr;
00067 boost::shared_ptr<cb::PilotingSettingsMinAltitude> ardrone3_pilotingsettings_minaltitude_ptr;
00068 boost::shared_ptr<cb::PilotingSettingsCirclingDirection> ardrone3_pilotingsettings_circlingdirection_ptr;
00069 boost::shared_ptr<cb::PilotingSettingsCirclingRadius> ardrone3_pilotingsettings_circlingradius_ptr;
00070 boost::shared_ptr<cb::PilotingSettingsCirclingAltitude> ardrone3_pilotingsettings_circlingaltitude_ptr;
00071 boost::shared_ptr<cb::PilotingSettingsPitchMode> ardrone3_pilotingsettings_pitchmode_ptr;
00072 boost::shared_ptr<cb::SpeedSettingsMaxVerticalSpeed> ardrone3_speedsettings_maxverticalspeed_ptr;
00073 boost::shared_ptr<cb::SpeedSettingsMaxRotationSpeed> ardrone3_speedsettings_maxrotationspeed_ptr;
00074 boost::shared_ptr<cb::SpeedSettingsHullProtection> ardrone3_speedsettings_hullprotection_ptr;
00075 boost::shared_ptr<cb::SpeedSettingsOutdoor> ardrone3_speedsettings_outdoor_ptr;
00076 boost::shared_ptr<cb::SpeedSettingsMaxPitchRollRotationSpeed> ardrone3_speedsettings_maxpitchrollrotationspeed_ptr;
00077 boost::shared_ptr<cb::NetworkSettingsWifiSelection> ardrone3_networksettings_wifiselection_ptr;
00078 boost::shared_ptr<cb::PictureSettingsVideoStabilizationMode> ardrone3_picturesettings_videostabilizationmode_ptr;
00079 boost::shared_ptr<cb::PictureSettingsVideoRecordingMode> ardrone3_picturesettings_videorecordingmode_ptr;
00080 boost::shared_ptr<cb::PictureSettingsVideoFramerate> ardrone3_picturesettings_videoframerate_ptr;
00081 boost::shared_ptr<cb::PictureSettingsVideoResolutions> ardrone3_picturesettings_videoresolutions_ptr;
00082 boost::shared_ptr<cb::GPSSettingsHomeType> ardrone3_gpssettings_hometype_ptr;
00083 boost::shared_ptr<cb::GPSSettingsReturnHomeDelay> ardrone3_gpssettings_returnhomedelay_ptr;
00084 #endif  // DEFINE_SHARED_PTRS
00085 
00086 #ifdef UPDTAE_CALLBACK_MAP
00087 // Instantiate state callback wrappers
00088 ardrone3_pilotingsettings_maxaltitude_ptr.reset(new cb::PilotingSettingsMaxAltitude(priv_nh));
00089 ardrone3_pilotingsettings_maxtilt_ptr.reset(new cb::PilotingSettingsMaxTilt(priv_nh));
00090 ardrone3_pilotingsettings_absolutcontrol_ptr.reset(new cb::PilotingSettingsAbsolutControl(priv_nh));
00091 ardrone3_pilotingsettings_maxdistance_ptr.reset(new cb::PilotingSettingsMaxDistance(priv_nh));
00092 ardrone3_pilotingsettings_noflyovermaxdistance_ptr.reset(new cb::PilotingSettingsNoFlyOverMaxDistance(priv_nh));
00093 ardrone3_pilotingsettings_bankedturn_ptr.reset(new cb::PilotingSettingsBankedTurn(priv_nh));
00094 ardrone3_pilotingsettings_minaltitude_ptr.reset(new cb::PilotingSettingsMinAltitude(priv_nh));
00095 ardrone3_pilotingsettings_circlingdirection_ptr.reset(new cb::PilotingSettingsCirclingDirection(priv_nh));
00096 ardrone3_pilotingsettings_circlingradius_ptr.reset(new cb::PilotingSettingsCirclingRadius(priv_nh));
00097 ardrone3_pilotingsettings_circlingaltitude_ptr.reset(new cb::PilotingSettingsCirclingAltitude(priv_nh));
00098 ardrone3_pilotingsettings_pitchmode_ptr.reset(new cb::PilotingSettingsPitchMode(priv_nh));
00099 ardrone3_speedsettings_maxverticalspeed_ptr.reset(new cb::SpeedSettingsMaxVerticalSpeed(priv_nh));
00100 ardrone3_speedsettings_maxrotationspeed_ptr.reset(new cb::SpeedSettingsMaxRotationSpeed(priv_nh));
00101 ardrone3_speedsettings_hullprotection_ptr.reset(new cb::SpeedSettingsHullProtection(priv_nh));
00102 ardrone3_speedsettings_outdoor_ptr.reset(new cb::SpeedSettingsOutdoor(priv_nh));
00103 ardrone3_speedsettings_maxpitchrollrotationspeed_ptr.reset(new cb::SpeedSettingsMaxPitchRollRotationSpeed(priv_nh));
00104 ardrone3_networksettings_wifiselection_ptr.reset(new cb::NetworkSettingsWifiSelection(priv_nh));
00105 ardrone3_picturesettings_videostabilizationmode_ptr.reset(new cb::PictureSettingsVideoStabilizationMode(priv_nh));
00106 ardrone3_picturesettings_videorecordingmode_ptr.reset(new cb::PictureSettingsVideoRecordingMode(priv_nh));
00107 ardrone3_picturesettings_videoframerate_ptr.reset(new cb::PictureSettingsVideoFramerate(priv_nh));
00108 ardrone3_picturesettings_videoresolutions_ptr.reset(new cb::PictureSettingsVideoResolutions(priv_nh));
00109 ardrone3_gpssettings_hometype_ptr.reset(new cb::GPSSettingsHomeType(priv_nh));
00110 ardrone3_gpssettings_returnhomedelay_ptr.reset(new cb::GPSSettingsReturnHomeDelay(priv_nh));
00111 
00112 // Add all wrappers to the callback map (AbstractCommand* part of each object)
00113 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
00114                       ardrone3_pilotingsettings_maxaltitude_ptr->GetCommandKey(),
00115                       ardrone3_pilotingsettings_maxaltitude_ptr));
00116 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
00117                       ardrone3_pilotingsettings_maxtilt_ptr->GetCommandKey(),
00118                       ardrone3_pilotingsettings_maxtilt_ptr));
00119 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
00120                       ardrone3_pilotingsettings_absolutcontrol_ptr->GetCommandKey(),
00121                       ardrone3_pilotingsettings_absolutcontrol_ptr));
00122 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
00123                       ardrone3_pilotingsettings_maxdistance_ptr->GetCommandKey(),
00124                       ardrone3_pilotingsettings_maxdistance_ptr));
00125 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
00126                       ardrone3_pilotingsettings_noflyovermaxdistance_ptr->GetCommandKey(),
00127                       ardrone3_pilotingsettings_noflyovermaxdistance_ptr));
00128 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
00129                       ardrone3_pilotingsettings_bankedturn_ptr->GetCommandKey(),
00130                       ardrone3_pilotingsettings_bankedturn_ptr));
00131 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
00132                       ardrone3_pilotingsettings_minaltitude_ptr->GetCommandKey(),
00133                       ardrone3_pilotingsettings_minaltitude_ptr));
00134 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
00135                       ardrone3_pilotingsettings_circlingdirection_ptr->GetCommandKey(),
00136                       ardrone3_pilotingsettings_circlingdirection_ptr));
00137 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
00138                       ardrone3_pilotingsettings_circlingradius_ptr->GetCommandKey(),
00139                       ardrone3_pilotingsettings_circlingradius_ptr));
00140 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
00141                       ardrone3_pilotingsettings_circlingaltitude_ptr->GetCommandKey(),
00142                       ardrone3_pilotingsettings_circlingaltitude_ptr));
00143 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
00144                       ardrone3_pilotingsettings_pitchmode_ptr->GetCommandKey(),
00145                       ardrone3_pilotingsettings_pitchmode_ptr));
00146 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
00147                       ardrone3_speedsettings_maxverticalspeed_ptr->GetCommandKey(),
00148                       ardrone3_speedsettings_maxverticalspeed_ptr));
00149 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
00150                       ardrone3_speedsettings_maxrotationspeed_ptr->GetCommandKey(),
00151                       ardrone3_speedsettings_maxrotationspeed_ptr));
00152 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
00153                       ardrone3_speedsettings_hullprotection_ptr->GetCommandKey(),
00154                       ardrone3_speedsettings_hullprotection_ptr));
00155 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
00156                       ardrone3_speedsettings_outdoor_ptr->GetCommandKey(),
00157                       ardrone3_speedsettings_outdoor_ptr));
00158 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
00159                       ardrone3_speedsettings_maxpitchrollrotationspeed_ptr->GetCommandKey(),
00160                       ardrone3_speedsettings_maxpitchrollrotationspeed_ptr));
00161 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
00162                       ardrone3_networksettings_wifiselection_ptr->GetCommandKey(),
00163                       ardrone3_networksettings_wifiselection_ptr));
00164 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
00165                       ardrone3_picturesettings_videostabilizationmode_ptr->GetCommandKey(),
00166                       ardrone3_picturesettings_videostabilizationmode_ptr));
00167 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
00168                       ardrone3_picturesettings_videorecordingmode_ptr->GetCommandKey(),
00169                       ardrone3_picturesettings_videorecordingmode_ptr));
00170 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
00171                       ardrone3_picturesettings_videoframerate_ptr->GetCommandKey(),
00172                       ardrone3_picturesettings_videoframerate_ptr));
00173 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
00174                       ardrone3_picturesettings_videoresolutions_ptr->GetCommandKey(),
00175                       ardrone3_picturesettings_videoresolutions_ptr));
00176 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
00177                       ardrone3_gpssettings_hometype_ptr->GetCommandKey(),
00178                       ardrone3_gpssettings_hometype_ptr));
00179 callback_map_.insert(std::pair<eARCONTROLLER_DICTIONARY_KEY, boost::shared_ptr<cb::AbstractCommand> >(
00180                       ardrone3_gpssettings_returnhomedelay_ptr->GetCommandKey(),
00181                       ardrone3_gpssettings_returnhomedelay_ptr));
00182 #endif  // UPDTAE_CALLBACK_MAP


bebop_driver
Author(s): Mani Monajjemi
autogenerated on Sat Jun 8 2019 20:37:45