ardupilot/libraries/AP_HAL_SITL
Lucas De Marchi 0ed7f94bfc AP_HAL_SITL: use method for downcast
Instead of just doing a static cast to the desired class, use a method
named "from". Pros:

  - When we have data shared on the parent class, the code is cleaner in
    child class when it needs to access this data. Almost all the data
    we use in AP_HAL benefits from this

  - There's a minimal type checking because now we are using a method
    that can only receive the type of the parent class
2015-09-23 09:01:29 +10:00
..
AP_HAL_SITL.h AP_HAL_SITL: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
AP_HAL_SITL_Main.h HAL_SITL: rename HAL_AVR_SITL to HAL_SITL 2015-05-05 09:45:54 +10:00
AP_HAL_SITL_Namespace.h HAL_SITL: reformat HAL_SITL with astyle 2015-05-05 10:59:07 +10:00
AP_HAL_SITL_Private.h HAL_SITL: rename HAL_AVR_SITL to HAL_SITL 2015-05-05 09:45:54 +10:00
AnalogIn.cpp AP_HAL_SITL: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
AnalogIn.h AP_HAL_SITL: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
HAL_SITL_Class.cpp AP_HAL_SITL: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
HAL_SITL_Class.h AP_HAL_SITL: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
RCInput.cpp AP_HAL_SITL: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
RCInput.h AP_HAL_SITL: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
RCOutput.cpp AP_HAL_SITL: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
RCOutput.h AP_HAL_SITL: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
SITL_State.cpp AP_HAL_SITL: use method for downcast 2015-09-23 09:01:29 +10:00
SITL_State.h AP_HAL_SITL: add file based gps 2015-09-03 19:43:31 +10:00
SITL_cmdline.cpp SITL: Add HELI_DUAL_FRAME and HELI_COMPOUND_FRAME. 2015-08-13 18:23:30 +10:00
Scheduler.cpp AP_HAL_SITL: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
Scheduler.h AP_HAL_SITL: use method for downcast 2015-09-23 09:01:29 +10:00
Storage.cpp AP_HAL_SITL: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
Storage.h AP_HAL_SITL: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
UARTDriver.cpp AP_HAL_SITL: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
UARTDriver.h AP_HAL_SITL: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
Util.h AP_HAL_SITL: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
fenv_polyfill.h HAL_SITL: Adds polyfill for feenableexcept on OS X. 2015-07-01 11:32:01 +10:00
sitl_barometer.cpp AP_HAL_SITL: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
sitl_compass.cpp AP_HAL_SITL: standardize inclusion of libaries headers 2015-08-18 17:12:52 +10:00
sitl_gps.cpp AP_HAL_SITL: add file based gps 2015-09-03 19:43:31 +10:00
sitl_ins.cpp AP_HAL_SITL: standardize inclusion of libaries headers 2015-08-18 17:12:52 +10:00
sitl_optical_flow.cpp AP_HAL_SITL: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00