Last change
on this file since 4047 was 2755, checked in by ansari, 20 years ago |
1/ Correction bug trace des lignes ds PINTuple
2/ 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
|
Rev | Line | |
---|
[293] | 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();
|
---|
[1268] | 15 | virtual int Execute(string& keyw, vector<string>& args, string& toks);
|
---|
[2755] | 16 | virtual bool IsThreadable(string const & keyw);
|
---|
[293] | 17 |
|
---|
| 18 | protected :
|
---|
| 19 | void RegisterCommands();
|
---|
| 20 | // Link dynamique de fonction user
|
---|
| 21 | int LinkUserFuncs(string& fnameso, string& func1, string& func2, string& func3);
|
---|
[1276] | 22 | int LinkUserFuncs2(string& fnameso, string& func1, string& func2, string& func3);
|
---|
[293] | 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;
|
---|
[1276] | 32 | PDynLinkMgr* dynlink2;
|
---|
| 33 | UsFmap usfmap2;
|
---|
[293] | 34 |
|
---|
| 35 | };
|
---|
| 36 |
|
---|
| 37 |
|
---|
| 38 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.