Gobelijn API documentation
- generated for commit a0cbea7
|
A RoadVehicle is any kind of vehicle that moves on the road. More...
#include <RoadVehicle.h>
Public Member Functions | |
RoadVehicle () | |
Default constructor. More... | |
RoadVehicle (const RoadVehicle &ori) | |
Copy constructor. More... | |
RoadVehicle (RoadVehicle &&ori) noexcept | |
Move constructor. More... | |
RoadVehicle & | operator= (const RoadVehicle &rhs) |
Copy assignment operator. More... | |
RoadVehicle & | operator= (RoadVehicle &&rhs) noexcept |
Move assignment operator. More... | |
~RoadVehicle () override | |
Destructor. More... | |
void | info () const override |
Return identification info. More... | |
void | move (double speed, std::vector< double > direction) override |
Motion of the vehicle. More... | |
![]() | |
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... | |
![]() | |
virtual | ~Vehicle ()=default |
Destructor. More... | |
A RoadVehicle is any kind of vehicle that moves on the road.
Definition at line 16 of file RoadVehicle.h.
ODemo::RoadVehicle::RoadVehicle | ( | ) |
Default constructor.
Definition at line 14 of file RoadVehicle.cpp.
References COMP_MISC_MEMBER_TRACER.
ODemo::RoadVehicle::RoadVehicle | ( | const RoadVehicle & | ori | ) |
Copy constructor.
Definition at line 16 of file RoadVehicle.cpp.
References COMP_MISC_MEMBER_TRACER.
|
noexcept |
Move constructor.
Definition at line 18 of file RoadVehicle.cpp.
References COMP_MISC_MEMBER_TRACER.
|
override |
RoadVehicle & ODemo::RoadVehicle::operator= | ( | const RoadVehicle & | rhs | ) |
Copy assignment operator.
Definition at line 20 of file RoadVehicle.cpp.
References COMP_MISC_MEMBER_TRACER, and ODemo::LandVehicle::operator=().
Referenced by ODemo::PassengerRoadVehicle::operator=().
|
noexcept |
Move assignment operator.
Definition at line 29 of file RoadVehicle.cpp.
References COMP_MISC_MEMBER_TRACER, and ODemo::LandVehicle::operator=().
|
overridevirtual |
Return identification info.
Reimplemented from ODemo::LandVehicle.
Definition at line 40 of file RoadVehicle.cpp.
References COMP_MISC_LOG_TRACER, and COMP_MISC_MEMBER_TRACER.
Motion of the vehicle.
Implements ODemo::LandVehicle.
Definition at line 47 of file RoadVehicle.cpp.
References COMP_MISC_MEMBER_TRACER.