LCOV - code coverage report
Current view: top level - home/pbarker/rc/ardupilot/Rover - GCS_Rover.h (source / functions) Hit Total Coverage
Test: lcov.info Lines: 3 3 100.0 %
Date: 2026-09-09 11:02:08 Functions: 2 3 66.7 %

          Line data    Source code
       1             : #pragma once
       2             : 
       3             : #include <GCS_MAVLink/GCS.h>
       4             : #include "GCS_MAVLink_Rover.h"
       5             : 
       6             : class GCS_Rover : public GCS
       7             : {
       8             :     friend class Rover; // for access to _chan in parameter declarations
       9             : 
      10             : public:
      11             : 
      12             :     // the following define expands to a pair of methods to retrieve a
      13             :     // pointer to an object of the correct subclass for the link at
      14             :     // offset ofs.  These are of the form:
      15             :     // GCS_MAVLINK_XXXX *chan(const uint8_t ofs) override;
      16             :     // const GCS_MAVLINK_XXXX *chan(const uint8_t ofs) override const;
      17    36642434 :     GCS_MAVLINK_CHAN_METHOD_DEFINITIONS(GCS_MAVLINK_Rover);
      18             : 
      19             :     uint32_t custom_mode() const override;
      20             :     MAV_TYPE frame_type() const override;
      21             : 
      22             :     bool vehicle_initialised() const override;
      23             : 
      24             :     void update_vehicle_sensor_status_flags(void) override;
      25             : 
      26             :     bool simple_input_active() const override;
      27             :     bool supersimple_input_active() const override;
      28             : 
      29             : protected:
      30             : 
      31         864 :     GCS_MAVLINK_Rover *new_gcs_mavlink_backend(AP_HAL::UARTDriver &uart) override {
      32         864 :         return NEW_NOTHROW GCS_MAVLINK_Rover(uart);
      33             :     }
      34             : 
      35             : };

Generated by: LCOV version 1.14