Gobelijn API documentation
- generated for commit a0cbea7
|
A LandVehicle drives on land. More...
#include <LandVehicle.h>
Public Member Functions | |
LandVehicle () | |
default constructor. More... | |
LandVehicle (const LandVehicle &ori) | |
Copy constructor. More... | |
LandVehicle (LandVehicle &&ori) noexcept | |
Move constructor. More... | |
LandVehicle & | operator= (const LandVehicle &rhs) |
Copy assignment. More... | |
LandVehicle & | operator= (LandVehicle &&rhs) noexcept |
Move assignment. More... | |
~LandVehicle () override | |
Destructor. More... | |
void | info () const override |
Return identification info. More... | |
void | move (double speed, std::vector< double > direction) override=0 |
Pure virtual function: motion for the LandVehicle. More... | |
![]() | |
virtual | ~Vehicle ()=default |
Destructor. More... | |
A LandVehicle drives on land.
Definition at line 14 of file LandVehicle.h.
ODemo::LandVehicle::LandVehicle | ( | ) |
default constructor.
Definition at line 14 of file LandVehicle.cpp.
References COMP_MISC_MEMBER_TRACER.
ODemo::LandVehicle::LandVehicle | ( | const LandVehicle & | ori | ) |
Copy constructor.
Definition at line 16 of file LandVehicle.cpp.
References COMP_MISC_MEMBER_TRACER.
|
noexcept |
Move constructor.
Definition at line 18 of file LandVehicle.cpp.
References COMP_MISC_MEMBER_TRACER.
|
override |
LandVehicle & ODemo::LandVehicle::operator= | ( | const LandVehicle & | rhs | ) |
Copy assignment.
Definition at line 20 of file LandVehicle.cpp.
References COMP_MISC_MEMBER_TRACER.
Referenced by ODemo::RoadVehicle::operator=().
|
noexcept |
|
overridevirtual |
Return identification info.
Implements ODemo::Vehicle.
Reimplemented in ODemo::PassengerRoadVehicle, and ODemo::RoadVehicle.
Definition at line 40 of file LandVehicle.cpp.
References COMP_MISC_LOG_TRACER, and COMP_MISC_MEMBER_TRACER.
|
overridepure virtual |
Pure virtual function: motion for the LandVehicle.
Implements ODemo::Vehicle.
Implemented in ODemo::RoadVehicle.