Last change
on this file since 3466 was 2945, checked in by ansari, 19 years ago |
1/ Ajout classe de lecture sur stdin (terminal) avec thread separe pour
piapp - incluant la possibilite d'utilisation de la librairie GNU readline
(fichiers piacmdrdr.cc piacmdrdr.h + fichier makfile specifique makefile_wgrdl
pour compil+link avec GNU readline)
2/ MAJ Makefile et modif programme principal piapp.cc avec flag -small
et activation thread de lecture sur terminal
Reza , 26/04/2006
|
File size:
520 bytes
|
Rev | Line | |
---|
[2945] | 1 | // This may look like C code, but it is really -*- C++ -*-
|
---|
| 2 | // piapp command reader using GNU readline library
|
---|
| 3 | // R. Ansari 2006
|
---|
| 4 | // (C) LAL (Orsay) / IN2P3-CNRS DAPNIA/SPP (Saclay) / CEA
|
---|
| 5 |
|
---|
| 6 | #ifndef PIACMDRDR_H_SEEN
|
---|
| 7 | #define PIACMDRDR_H_SEEN
|
---|
| 8 |
|
---|
| 9 | #include "machdefs.h"
|
---|
| 10 | #include "zthread.h"
|
---|
| 11 | #include "pistdimgapp.h"
|
---|
| 12 |
|
---|
| 13 | namespace SOPHYA {
|
---|
| 14 | class PIACmdReader : public ZThread {
|
---|
| 15 | public:
|
---|
| 16 | PIACmdReader(PIStdImgApp* imgapp);
|
---|
| 17 | virtual void run();
|
---|
| 18 | protected:
|
---|
| 19 | PIStdImgApp* _imgapp;
|
---|
| 20 | };
|
---|
| 21 | } // namespace SOPHYA
|
---|
| 22 |
|
---|
| 23 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.