Skip to content

Commit c7e7728

Browse files
Added new driver
1 parent aa2aa4b commit c7e7728

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

native/include/m_driver.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#pragma once
2+
#include<iostream>
3+
#include "c_micro_sim.h"
4+
5+
// Base class for the drivers
6+
class Driver {
7+
public:
8+
Driver() {};
9+
virtual ~Driver() {std::cout << "Killing base Driver\n";};
10+
// Will get the parameters from a simulation class
11+
void _setup(MicroSim * sim);
12+
};

0 commit comments

Comments
 (0)