gfactory
Loading...
Searching...
No Matches
Car Class Referenceabstract

#include <Car.h>

Inheritance diagram for Car:
Inheritance graph
Collaboration diagram for Car:
Collaboration graph

Public Member Functions

 ~Car () override=default
 
 Car (const std::shared_ptr< GOptions > &g)
 
virtual void go ()=0
 
void set_loggers (const std::shared_ptr< GOptions > &g)
 

Static Public Member Functions

static Carinstantiate (const dlhandle h, std::shared_ptr< GOptions > g)
 

Data Fields

double generalCarVar = 44
 

Detailed Description

Definition at line 11 of file Car.h.

Constructor & Destructor Documentation

◆ ~Car()

Car::~Car ( )
overridedefault

◆ Car()

Car::Car ( const std::shared_ptr< GOptions > & g)
inlineexplicit

Definition at line 16 of file Car.h.

Member Function Documentation

◆ go()

virtual void Car::go ( )
pure virtual

Implemented in Ford, and Tesla.

◆ instantiate()

static Car * Car::instantiate ( const dlhandle h,
std::shared_ptr< GOptions > g )
inlinestatic

Definition at line 45 of file Car.h.

◆ set_loggers()

void Car::set_loggers ( const std::shared_ptr< GOptions > & g)
inline

Definition at line 21 of file Car.h.

Field Documentation

◆ generalCarVar

double Car::generalCarVar = 44

Definition at line 23 of file Car.h.


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