Changeset 2672 in Sophya for trunk/SophyaPI/PIext
- Timestamp:
- Apr 18, 2005, 5:39:39 PM (20 years ago)
- Location:
- trunk/SophyaPI/PIext
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/nobjmgr.cc
r2669 r2672 1280 1280 obja = GetObjAdapter(nom); 1281 1281 if (obja == NULL) return; 1282 cout << " SaveFits: Object" << nom << " to FITS file " << flnm << endl; 1282 1283 obja->SaveFits(flnm); 1283 1284 return; -
trunk/SophyaPI/PIext/piacmd.cc
r2615 r2672 155 155 helpwin_initdone = false; 156 156 157 string kw = "exitpiapp";158 157 string grp = "PIACmd"; 159 158 string gdesc = "piapp interpreter (class PIACmd) additional builtin commands"; 160 159 AddHelpGroup(grp, gdesc); 161 160 161 string kw = "exitpiapp"; 162 162 string usage = "To end the piapp session "; 163 163 RegisterCommand(kw, usage, NULL, grp); 164 164 kw = "helpwindow"; 165 165 usage = "To display the Help window "; 166 RegisterCommand(kw, usage, NULL, grp); 167 kw = "breakexe"; 168 usage = "To break (stop) interpreter (PIACmd/Commander) execution"; 166 169 RegisterCommand(kw, usage, NULL, grp); 167 170 … … 203 206 void PIACmd::AddInputLine(string const & line) 204 207 { 208 if (line == "breakexe") { 209 StopExecution(); 210 return; 211 } 205 212 mutx_inps.lock(); 206 213 inputlines.push(line); // Ajout d'un element en fin de queue
Note:
See TracChangeset
for help on using the changeset viewer.