embkernel
 All Classes Functions Variables Typedefs Groups Pages
RtosRunnable.hpp
1 //------------------------------------------------------------------------------
2 //This file is part of embKernel.
3 //See license.txt for the full license governing this code.
4 //------------------------------------------------------------------------------
8 #ifndef RTOS_RUNNABLE_HPP_
9 #define RTOS_RUNNABLE_HPP_
10 
16 class RtosRunnable {
17  friend class RtosTask;
18 
19 public:
23  virtual ~RtosRunnable() {
24  }
25 
26 protected:
30  virtual void run()=0;
31 };
32 
33 #endif /* RTOS_RUNNABLE_HPP_ */
34