Gobelijn API documentation  - generated for commit a0cbea7
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
ODemo::LandVehicle Class Referenceabstract

A LandVehicle drives on land. More...

#include <LandVehicle.h>

Inheritance diagram for ODemo::LandVehicle:
Inheritance graph
Collaboration diagram for ODemo::LandVehicle:
Collaboration graph

Public Member Functions

 LandVehicle ()
 default constructor. More...
 
 LandVehicle (const LandVehicle &ori)
 Copy constructor. More...
 
 LandVehicle (LandVehicle &&ori) noexcept
 Move constructor. More...
 
LandVehicleoperator= (const LandVehicle &rhs)
 Copy assignment. More...
 
LandVehicleoperator= (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...
 
- Public Member Functions inherited from ODemo::Vehicle
virtual ~Vehicle ()=default
 Destructor. More...
 

Detailed Description

A LandVehicle drives on land.

Definition at line 14 of file LandVehicle.h.

Constructor & Destructor Documentation

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.

ODemo::LandVehicle::LandVehicle ( LandVehicle &&  ori)
noexcept

Move constructor.

Definition at line 18 of file LandVehicle.cpp.

References COMP_MISC_MEMBER_TRACER.

ODemo::LandVehicle::~LandVehicle ( )
override

Destructor.

Definition at line 38 of file LandVehicle.cpp.

References COMP_MISC_MEMBER_TRACER.

Member Function Documentation

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=().

Here is the caller graph for this function:

LandVehicle & ODemo::LandVehicle::operator= ( LandVehicle &&  rhs)
noexcept

Move assignment.

Definition at line 29 of file LandVehicle.cpp.

References COMP_MISC_MEMBER_TRACER.

void ODemo::LandVehicle::info ( ) const
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.

void ODemo::LandVehicle::move ( double  speed,
std::vector< double direction 
)
overridepure virtual

Pure virtual function: motion for the LandVehicle.

Implements ODemo::Vehicle.

Implemented in ODemo::RoadVehicle.


The documentation for this class was generated from the following files: