HAL_Linux_Class.h 316 B

12345678910111213141516
  1. #pragma once
  2. #include <AP_HAL/AP_HAL.h>
  3. class HAL_Linux : public AP_HAL::HAL {
  4. public:
  5. HAL_Linux();
  6. void run(int argc, char* const* argv, Callbacks* callbacks) const override;
  7. void setup_signal_handlers() const;
  8. static void exit_signal_handler(int);
  9. protected:
  10. bool _should_exit = false;
  11. };