BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
StoppableRunnable.h
1 #pragma once
2 
3 #include <Poco/Runnable.h>
4 #include <Poco/SharedPtr.h>
5 
6 namespace BeeeOn {
7 
8 class StoppableRunnable : public Poco::Runnable {
9 public:
10  typedef Poco::SharedPtr<StoppableRunnable> Ptr;
11 
12  virtual ~StoppableRunnable();
13 
17  virtual void stop() = 0;
18 };
19 
20 }
virtual void stop()=0
Definition: StoppableRunnable.h:8