| Last change
 on this file since 3891 was             2755, checked in by ansari, 20 years ago | 
        
          | 
1/ Correction bug trace des lignes ds PINTuple2/ Ajout methode IsThreadable() (declaration conformite thread separe pour certaines commandes) ds baseexecut.h .cc (plot2d plot3d ...) , ds pawexecut.cc (n/plot ...) et ds cxxexecutor.h .cc (c++exec c++execfrf ...)
 3/ Ajout de ZMutex (et ZSync) pour la gestion des commandes threadable - ds les
 executeurs et ds servnobjm.h .cc
 4/ bug d'execution en thread identifie et corrige ds nobjmgr.h .cc (ajout des
 methodes GetObj_P() GetObjAdapter_P() et ReadObj_P()
 5/ Ajout de l'appel a ZSync::NOp() pour eviter les warnings 'unused variable zs ...'
 
 
Reza 23 Mai 2005
 | 
        
          | File size:
            1.2 KB | 
      
      
| Line |  | 
|---|
| 1 | // This may look like C code, but it is really -*- C++ -*- | 
|---|
| 2 | // Classe executeur de commande de base pour piapp | 
|---|
| 3 | //                                   Reza 05/99 | 
|---|
| 4 | // LAL-IN2P3/CNRS | 
|---|
| 5 |  | 
|---|
| 6 | #ifndef PIABaseExecutor_H_SEEN | 
|---|
| 7 | #define PIABaseExecutor_H_SEEN | 
|---|
| 8 |  | 
|---|
| 9 | #include "piacmd.h" | 
|---|
| 10 |  | 
|---|
| 11 | class PIABaseExecutor : public CmdExecutor { | 
|---|
| 12 | public : | 
|---|
| 13 | PIABaseExecutor(PIACmd* piac, NamedObjMgr* omg, PIStdImgApp* app); | 
|---|
| 14 | virtual       ~PIABaseExecutor(); | 
|---|
| 15 | virtual int   Execute(string& keyw, vector<string>& args, string& toks); | 
|---|
| 16 | virtual bool  IsThreadable(string const & keyw); | 
|---|
| 17 |  | 
|---|
| 18 | protected : | 
|---|
| 19 | void          RegisterCommands(); | 
|---|
| 20 | //  Link dynamique de fonction user | 
|---|
| 21 | int           LinkUserFuncs(string& fnameso, string& func1, string& func2, string& func3); | 
|---|
| 22 | int           LinkUserFuncs2(string& fnameso, string& func1, string& func2, string& func3); | 
|---|
| 23 | //                            string& func4, string& func5);   compil avec g++ 2.7.2 | 
|---|
| 24 | PIACmd* mpiac; | 
|---|
| 25 | NamedObjMgr* mObjMgr; | 
|---|
| 26 | PIStdImgApp* mImgApp; | 
|---|
| 27 | // g++ n'arrive pas a avaler ca (lignes trop longues)  on utilise donc des DlFunction  (Reza 20/08/98) | 
|---|
| 28 | // typedef map<string, DlUserProcFunction, less<string> > UsFmap; | 
|---|
| 29 | typedef map<string, DlFunction, less<string> > UsFmap; | 
|---|
| 30 | PDynLinkMgr* dynlink; | 
|---|
| 31 | UsFmap usfmap; | 
|---|
| 32 | PDynLinkMgr* dynlink2; | 
|---|
| 33 | UsFmap usfmap2; | 
|---|
| 34 |  | 
|---|
| 35 | }; | 
|---|
| 36 |  | 
|---|
| 37 |  | 
|---|
| 38 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.