Gobelijn API documentation  - generated for commit a0cbea7
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
LandVehicle.h
Go to the documentation of this file.
1 #pragma once
2 
8 #include "objtracer/Vehicle.h"
9 
10 namespace ODemo {
14 class LandVehicle : public Vehicle
15 {
16 public:
18  LandVehicle();
19 
21  LandVehicle(const LandVehicle& ori);
22 
24  LandVehicle(LandVehicle&& ori) noexcept;
25 
27  LandVehicle& operator=(const LandVehicle& rhs);
28 
30  LandVehicle& operator=(LandVehicle&& rhs) noexcept;
31 
33  ~LandVehicle() override;
34 
36  void info() const override;
37 
39  void move(double speed, std::vector<double> direction) override = 0;
40 };
41 
42 } // namespace ODemo
LandVehicle & operator=(const LandVehicle &rhs)
Copy assignment.
Definition: LandVehicle.cpp:20
A LandVehicle drives on land.
Definition: LandVehicle.h:14
Header for the Vehicle class.
This Vehicle interface class.
Definition: Vehicle.h:16
LandVehicle()
default constructor.
Definition: LandVehicle.cpp:14
void move(double speed, std::vector< double > direction) override=0
Pure virtual function: motion for the LandVehicle.
void info() const override
Return identification info.
Definition: LandVehicle.cpp:40
~LandVehicle() override
Destructor.
Definition: LandVehicle.cpp:38