|
gfactory
|
#include "Car.h"

Go to the source code of this file.
Data Structures | |
| class | Tesla |
Example dynamically-loadable Car implementation. More... | |
Functions | |
| Car * | CarFactory (const std::shared_ptr< GOptions > &g) |
| Exported factory function for dynamic loading. | |
This must match the lookup performed by Car::instantiate().
| g | Options/configuration to pass into the derived constructor. |
Car*. Ownership is transferred to the caller. Definition at line 50 of file TeslaFactory.h.