25 Tesla(
const std::shared_ptr<GOptions>& gopts);
Car * CarFactory(const std::shared_ptr< GOptions > &g)
Exported factory function for dynamic loading.
Example base class used to demonstrate dynamic factory loading.
Car(const std::shared_ptr< GOptions > &g)
Construct the base with a shared options/configuration instance.
Example dynamically-loadable Car implementation.
Tesla(const std::shared_ptr< GOptions > &gopts)
Construct and initialize the Tesla plugin.
void go()
Example behavior for the Tesla plugin.
double autopilot[2][2]
Example Tesla-specific state.