source: Sophya/trunk/SophyaPI/PIext/basexecut.h@ 2460

Last change on this file since 2460 was 1276, checked in by ercodmgr, 25 years ago

Amelioration de la syntaxe de l'interpreteur, gestion de quotes, ligne suite
Commande linkff2 (2eme groupe de link, pour utilisation par CxxExecutor
Amelioration de la gestion de TMPDIR

Reza 2/11/2000

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
11class PIABaseExecutor : public CmdExecutor {
12public :
13 PIABaseExecutor(PIACmd* piac, NamedObjMgr* omg, PIStdImgApp* app);
14 virtual ~PIABaseExecutor();
15 virtual int Execute(string& keyw, vector<string>& args, string& toks);
16
17protected :
18 void RegisterCommands();
19// Link dynamique de fonction user
20 int LinkUserFuncs(string& fnameso, string& func1, string& func2, string& func3);
21 int LinkUserFuncs2(string& fnameso, string& func1, string& func2, string& func3);
22// string& func4, string& func5); compil avec g++ 2.7.2
23 PIACmd* mpiac;
24 NamedObjMgr* mObjMgr;
25 PIStdImgApp* mImgApp;
26// g++ n'arrive pas a avaler ca (lignes trop longues) on utilise donc des DlFunction (Reza 20/08/98)
27// typedef map<string, DlUserProcFunction, less<string> > UsFmap;
28 typedef map<string, DlFunction, less<string> > UsFmap;
29 PDynLinkMgr* dynlink;
30 UsFmap usfmap;
31 PDynLinkMgr* dynlink2;
32 UsFmap usfmap2;
33
34};
35
36
37#endif
Note: See TracBrowser for help on using the repository browser.