dubai: sensors: Make sensor run function virtual
Change-Id: Ie50900903bbf4a302baff084f229c37c5c324742
This commit is contained in:
parent
f8fdf66b35
commit
240a944d40
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ class Sensor {
|
||||||
Result injectEvent(const Event& event);
|
Result injectEvent(const Event& event);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void run();
|
virtual void run();
|
||||||
virtual std::vector<Event> readEvents();
|
virtual std::vector<Event> readEvents();
|
||||||
static void startThread(Sensor* sensor);
|
static void startThread(Sensor* sensor);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue