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

Last change on this file since 1134 was 293, checked in by ercodmgr, 26 years ago

Adaptation aux "normes DPC", introduction des classes CmdExecutor, ...
Fenetre d'aide en lignes, gestion de modules, ... Reza 11/05/99

File size: 1.0 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);
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.