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

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

3ieme argument string& toks pour Execute et ExecuteCommand
preparation gestion TmpDir dans cxxexecutor
suppression de ExecuteCXX ds cxxexecutor et appels
possibilite d'ajouter des userfct.cc ds cxxexecutor

cmv 1/11/00

File size: 1.1 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// string& func4, string& func5); compil avec g++ 2.7.2
22 PIACmd* mpiac;
23 NamedObjMgr* mObjMgr;
24 PIStdImgApp* mImgApp;
25// g++ n'arrive pas a avaler ca (lignes trop longues) on utilise donc des DlFunction (Reza 20/08/98)
26// typedef map<string, DlUserProcFunction, less<string> > UsFmap;
27 typedef map<string, DlFunction, less<string> > UsFmap;
28 PDynLinkMgr* dynlink;
29 UsFmap usfmap;
30
31};
32
33
34#endif
Note: See TracBrowser for help on using the repository browser.