Changeset 2486 in Sophya for trunk/SophyaPI/PIext/piacmd.h
- Timestamp:
- Dec 26, 2003, 12:17:41 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/piacmd.h
r2474 r2486 11 11 #include <string> 12 12 #include <vector> 13 #include <stack> 14 #include "zthread.h" 13 15 14 16 #include "dlftypes.h" … … 29 31 30 32 31 class PIACmd : public Commander {33 class PIACmd : public Commander, public ZThread { 32 34 public: 33 35 // static PIACmd* GetInterpreter(); … … 36 38 virtual ~PIACmd(); 37 39 40 // Thread execution <ZThread> 41 virtual void run(); 42 void AddInputLine(string const & line); 43 void StopThread(); 44 inline bool isRunning(int& ninp) 45 { ninp = inputlines.size(); return fg_threxe; } 46 // ---- FIN ---- Thread execution <ZThread> 38 47 39 48 void ShowHelpWindow(); … … 77 86 CxxExecWind* cxxexwin; 78 87 CxxOptionWind* cxxoptwin; 88 89 // Stack d'entree et controle de thread 90 stack<string> inputlines; 91 bool fg_thrstop; 92 ZMutex mutx_inps; 93 bool fg_threxe; 94 79 95 }; 80 96
Note:
See TracChangeset
for help on using the changeset viewer.