Changeset 2671 in Sophya for trunk/SophyaLib/SysTools/commander.h
- Timestamp:
- Apr 18, 2005, 5:34:31 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/SysTools/commander.h
r2598 r2671 59 59 class CommanderBloc; // Bloc de type foreach / for de l'interpreteur Commander 60 60 class CommanderScript; // Script de commandes defini ds l'interpreteur Commander 61 62 //! A simple command interpreter with c-shell like syntax with dynamic load capability. 61 class CommandExeThr; // Thread d'execution de commande 62 63 //! A simple command interpreter with c-shell like syntax and dynamic load capability. 63 64 64 65 class Commander : public CmdInterpreter { … … 85 86 86 87 virtual int Interpret(string& line); 88 virtual void StopExecution(); 87 89 88 90 virtual int ExecuteCommand(string& keyw, vector<string>& args, string& toks); … … 162 164 void PopStack(bool psta=true); 163 165 166 // Gestion des threads d'execution de commandes 167 void ListThreads(); 168 void CancelThr(uint_8 thrid); 169 void CleanThrList(); 170 void WaitThreads(); 171 172 // ------ Attributs et variables ------ 164 173 CmdInterpreter* curcmdi; 165 174 … … 180 189 CmdExmap helpexmap; // Pour les helps sans commande 181 190 191 // Pour garder la liste des threads d'execution de commande 192 list<CommandExeThr *> CmdThrExeList; 193 uint_8 ThrId; 194 182 195 // Pour garder la liste des modules 183 196 typedef map<string, PDynLinkMgr* , less<string> > Modmap;
Note:
See TracChangeset
for help on using the changeset viewer.