Browse Source

SITL: add missing override keywords

mission-4.1.18
Peter Barker 6 years ago committed by Francisco Ferreira
parent
commit
166291cfef
  1. 2
      libraries/SITL/SIM_BalanceBot.h
  2. 2
      libraries/SITL/SIM_Balloon.h
  3. 2
      libraries/SITL/SIM_CRRCSim.h
  4. 2
      libraries/SITL/SIM_Calibration.h
  5. 2
      libraries/SITL/SIM_FlightAxis.h
  6. 4
      libraries/SITL/SIM_Gazebo.h
  7. 2
      libraries/SITL/SIM_Helicopter.h
  8. 2
      libraries/SITL/SIM_JSBSim.h
  9. 2
      libraries/SITL/SIM_Morse.h
  10. 2
      libraries/SITL/SIM_Multicopter.h
  11. 2
      libraries/SITL/SIM_Plane.h
  12. 2
      libraries/SITL/SIM_Rover.h
  13. 2
      libraries/SITL/SIM_Sailboat.h
  14. 2
      libraries/SITL/SIM_SingleCopter.h
  15. 2
      libraries/SITL/SIM_Tracker.h
  16. 2
      libraries/SITL/SIM_XPlane.h
  17. 2
      libraries/SITL/SIM_last_letter.h

2
libraries/SITL/SIM_BalanceBot.h

@ -27,7 +27,7 @@ public: @@ -27,7 +27,7 @@ public:
BalanceBot(const char *home_str, const char *frame_str);
/* update model by one time step */
void update(const struct sitl_input &input);
void update(const struct sitl_input &input) override;
/* static object creator */
static Aircraft *create(const char *home_str, const char *frame_str) {

2
libraries/SITL/SIM_Balloon.h

@ -30,7 +30,7 @@ public: @@ -30,7 +30,7 @@ public:
Balloon(const char *home_str, const char *frame_str);
/* update model by one time step */
void update(const struct sitl_input &input);
void update(const struct sitl_input &input) override;
/* static object creator */
static Aircraft *create(const char *home_str, const char *frame_str) {

2
libraries/SITL/SIM_CRRCSim.h

@ -32,7 +32,7 @@ public: @@ -32,7 +32,7 @@ public:
CRRCSim(const char *home_str, const char *frame_str);
/* update model by one time step */
void update(const struct sitl_input &input);
void update(const struct sitl_input &input) override;
/* static object creator */
static Aircraft *create(const char *home_str, const char *frame_str) {

2
libraries/SITL/SIM_Calibration.h

@ -66,7 +66,7 @@ class Calibration : public Aircraft { @@ -66,7 +66,7 @@ class Calibration : public Aircraft {
public:
Calibration(const char *home_str, const char *frame_str);
void update(const struct sitl_input &input);
void update(const struct sitl_input &input) override;
static Aircraft *create(const char *home_str, const char *frame_str) {
return new Calibration(home_str, frame_str);

2
libraries/SITL/SIM_FlightAxis.h

@ -32,7 +32,7 @@ public: @@ -32,7 +32,7 @@ public:
FlightAxis(const char *home_str, const char *frame_str);
/* update model by one time step */
void update(const struct sitl_input &input);
void update(const struct sitl_input &input) override;
/* static object creator */
static Aircraft *create(const char *home_str, const char *frame_str) {

4
libraries/SITL/SIM_Gazebo.h

@ -31,7 +31,7 @@ public: @@ -31,7 +31,7 @@ public:
Gazebo(const char *home_str, const char *frame_str);
/* update model by one time step */
void update(const struct sitl_input &input);
void update(const struct sitl_input &input) override;
/* static object creator */
static Aircraft *create(const char *home_str, const char *frame_str) {
@ -39,7 +39,7 @@ public: @@ -39,7 +39,7 @@ public:
}
/* Create and set in/out socket for Gazebo simulator */
void set_interface_ports(const char* address, const int port_in, const int port_out);
void set_interface_ports(const char* address, const int port_in, const int port_out) override;
private:
/*

2
libraries/SITL/SIM_Helicopter.h

@ -30,7 +30,7 @@ public: @@ -30,7 +30,7 @@ public:
Helicopter(const char *home_str, const char *frame_str);
/* update model by one time step */
void update(const struct sitl_input &input);
void update(const struct sitl_input &input) override;
/* static object creator */
static Aircraft *create(const char *home_str, const char *frame_str) {

2
libraries/SITL/SIM_JSBSim.h

@ -32,7 +32,7 @@ public: @@ -32,7 +32,7 @@ public:
JSBSim(const char *home_str, const char *frame_str);
/* update model by one time step */
void update(const struct sitl_input &input);
void update(const struct sitl_input &input) override;
/* static object creator */
static Aircraft *create(const char *home_str, const char *frame_str) {

2
libraries/SITL/SIM_Morse.h

@ -31,7 +31,7 @@ public: @@ -31,7 +31,7 @@ public:
Morse(const char *home_str, const char *frame_str);
/* update model by one time step */
void update(const struct sitl_input &input);
void update(const struct sitl_input &input) override;
/* static object creator */
static Aircraft *create(const char *home_str, const char *frame_str) {

2
libraries/SITL/SIM_Multicopter.h

@ -32,7 +32,7 @@ public: @@ -32,7 +32,7 @@ public:
MultiCopter(const char *home_str, const char *frame_str);
/* update model by one time step */
void update(const struct sitl_input &input);
void update(const struct sitl_input &input) override;
/* static object creator */
static Aircraft *create(const char *home_str, const char *frame_str) {

2
libraries/SITL/SIM_Plane.h

@ -32,7 +32,7 @@ public: @@ -32,7 +32,7 @@ public:
Plane(const char *home_str, const char *frame_str);
/* update model by one time step */
virtual void update(const struct sitl_input &input);
virtual void update(const struct sitl_input &input) override;
/* static object creator */
static Aircraft *create(const char *home_str, const char *frame_str) {

2
libraries/SITL/SIM_Rover.h

@ -30,7 +30,7 @@ public: @@ -30,7 +30,7 @@ public:
SimRover(const char *home_str, const char *frame_str);
/* update model by one time step */
void update(const struct sitl_input &input);
void update(const struct sitl_input &input) override;
/* static object creator */
static Aircraft *create(const char *home_str, const char *frame_str) {

2
libraries/SITL/SIM_Sailboat.h

@ -30,7 +30,7 @@ public: @@ -30,7 +30,7 @@ public:
Sailboat(const char *home_str, const char *frame_str);
/* update model by one time step */
void update(const struct sitl_input &input);
void update(const struct sitl_input &input) override;
/* static object creator */
static Aircraft *create(const char *home_str, const char *frame_str) {

2
libraries/SITL/SIM_SingleCopter.h

@ -31,7 +31,7 @@ public: @@ -31,7 +31,7 @@ public:
SingleCopter(const char *home_str, const char *frame_str);
/* update model by one time step */
void update(const struct sitl_input &input);
void update(const struct sitl_input &input) override;
/* static object creator */
static Aircraft *create(const char *home_str, const char *frame_str) {

2
libraries/SITL/SIM_Tracker.h

@ -28,7 +28,7 @@ namespace SITL { @@ -28,7 +28,7 @@ namespace SITL {
class Tracker : public Aircraft {
public:
Tracker(const char *home_str, const char *frame_str);
void update(const struct sitl_input &input);
void update(const struct sitl_input &input) override;
/* static object creator */
static Aircraft *create(const char *home_str, const char *frame_str) {

2
libraries/SITL/SIM_XPlane.h

@ -32,7 +32,7 @@ public: @@ -32,7 +32,7 @@ public:
XPlane(const char *home_str, const char *frame_str);
/* update model by one time step */
void update(const struct sitl_input &input);
void update(const struct sitl_input &input) override;
/* static object creator */
static Aircraft *create(const char *home_str, const char *frame_str) {

2
libraries/SITL/SIM_last_letter.h

@ -32,7 +32,7 @@ public: @@ -32,7 +32,7 @@ public:
last_letter(const char *home_str, const char *frame_str);
/* update model by one time step */
void update(const struct sitl_input &input);
void update(const struct sitl_input &input) override;
/* static object creator */
static Aircraft *create(const char *home_str, const char *frame_str) {

Loading…
Cancel
Save