9 cout <<
" Instantiating Tesla" << endl;
12 cout <<
" Factory car tesla autopilot[0][0] " <<
autopilot[0][0] << endl;
13 cout <<
" Factory car tesla autopilot[0][1] " <<
autopilot[0][1] << endl;
14 cout <<
" Factory car tesla autopilot[1][0] " <<
autopilot[1][0] << endl;
15 cout <<
" Factory car tesla autopilot[1][1] " <<
autopilot[1][1] << endl;
Example base class used to demonstrate dynamic factory loading.
double generalCarVar
Example data member shared by all derived cars.
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.