ardupilot/libraries
Lucas De Marchi da821e69eb AP_HAL_Linux: Thread: allow to use Thread from stack
Up until now we rely on Thread objects and variants thereof to be allocated
on heap or embedded in another object that's zero'ed on initialization.
However sometimes it's convenient to be able to use them on stack as
will be the case when writting unit tests.

Initialize all relevant fields to allow them to be used on stack. While
at it, prefer C++11 initialization on Poller since it's only setting the
default (invalid) value.
2016-11-02 16:28:20 -02:00
..
AC_AttitudeControl AC_AttitudeControl: add missing parameter metadata 2016-10-27 09:15:03 -07:00
AC_Avoidance Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AC_Fence Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AC_InputManager Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AC_PID Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AC_PrecLand Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AC_Sprayer AC_Sprayer: disentangle ENABLED from permission-to-run 2016-10-29 15:02:52 +09:00
AC_WPNav Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_AccelCal Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_ADC Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_ADSB AP_ADSB: Set in the sprintf method. 2016-11-01 08:36:52 -07:00
AP_AdvancedFailsafe Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_AHRS Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_Airspeed Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_Arming Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_Avoidance Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_Baro Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_BattMonitor Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_BoardConfig Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_Buffer Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_Button Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_Camera Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_Common Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_Compass Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_Declination Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_EPM Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_Frsky_Telem Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_GPS Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_HAL Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_HAL_AVR AP_HAL_AVR: remove examples 2016-05-23 21:49:45 -03:00
AP_HAL_Empty Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_HAL_FLYMAPLE AP_HAL_FLYMAPLE: remove hal 2016-05-23 21:49:45 -03:00
AP_HAL_Linux AP_HAL_Linux: Thread: allow to use Thread from stack 2016-11-02 16:28:20 -02:00
AP_HAL_PX4 Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_HAL_QURT Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_HAL_SITL Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_HAL_VRBRAIN Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_ICEngine Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_InertialNav Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_InertialSensor Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_IRLock SITL: implement Gazebo SITL for IRLock tracking. 2016-10-13 12:03:20 +11:00
AP_L1_Control AP_L1_Control: add missing parameter metadata 2016-10-27 09:15:03 -07:00
AP_LandingGear Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_Math Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_Menu Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_Mission AP_Mission: add missing parameter metadata 2016-10-27 09:15:03 -07:00
AP_Module Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_Motors AP_Motors: add missing parameter metadata 2016-10-27 09:15:03 -07:00
AP_Mount Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_NavEKF AP_NavEKF: make posOffset const ref for optflow 2016-10-27 15:45:40 +11:00
AP_NavEKF2 Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_Navigation Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_Notify Disco: add LED support 2016-10-26 11:56:11 -03:00
AP_OpticalFlow Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_Parachute Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_Param Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_Proximity Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_Rally Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_RangeFinder Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_RCMapper Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_Relay Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_RPM Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_RSSI Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_Scheduler Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_SerialManager Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_ServoRelayEvents Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_SpdHgtControl Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_Stats AP_Stats: ability to reset statistics 2016-10-29 14:53:25 +09:00
AP_TECS AP_TECS: correct parameter metadata 2016-10-27 09:15:03 -07:00
AP_Terrain Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
AP_Tuning Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_Vehicle Revert "AP_Vehicle: Removed unused airspeed_min and airspeed_max as now part of AP_Airspeed." 2016-08-07 17:54:24 -07:00
APM_Control APM_Control: add missing parameter metadata 2016-10-27 09:15:03 -07:00
DataFlash Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
doc doc: Fix typos 2016-05-13 19:20:06 -03:00
Filter Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
GCS_Console Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
GCS_MAVLink Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
PID Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
RC_Channel Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
SITL Global: To nullptr from NULL. 2016-11-02 16:04:47 -02:00
StorageManager Global: remove mode line from headers 2016-10-24 09:42:01 -02:00