1 #ifndef _ots_WorkLoop_h
2 #define _ots_WorkLoop_h
4 #include <toolbox/task/WorkLoop.h>
5 #include "toolbox/lang/Class.h"
11 class WorkLoop :
public virtual toolbox::lang::Class
17 void startWorkLoop (
void);
18 bool stopWorkLoop (
void);
21 volatile bool continueWorkLoop_;
22 virtual bool workLoopThread(toolbox::task::WorkLoop* workLoop) = 0;
25 const std::string& getWorkLoopName(
void);
28 const std::string cWorkLoopName_;
29 const std::string cWorkLoopType_;
30 toolbox::task::WorkLoop* workLoop_;
31 toolbox::task::ActionSignature* job_;