source: Sophya/trunk/SophyaPI/PIext/servnobjm.h@ 293

Last change on this file since 293 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.9 KB
RevLine 
[165]1// This may look like C code, but it is really -*- C++ -*-
2// Classe de services destinee a NamedObjMgr pour piapp
3// Reza Aout 98
4// CEA-DAPNIA LAL-IN2P3/CNRS
5
6#ifndef SERVNOBJM_H_SEEN
7#define SERVNOBJM_H_SEEN
8
[293]9#include "machdefs.h"
[165]10#include <string>
11
12#include "ctimer.h"
13
[171]14#include "pdlmgr.h"
[165]15#include "dlftypes.h"
16
17class NTuple;
18class Histo;
19class Histo2D;
20class HProf;
21class PIStdImgApp;
22
23class Services2NObjMgr {
24public:
25 Services2NObjMgr(PIStdImgApp* app, string& tmpdir);
26 ~Services2NObjMgr();
27
28 inline void SetImgApp(PIStdImgApp* app) {mImgapp = app; }
29
30 void Nobj_ComputeExpressions(PPersist* obj, string& expx, string& expy, string& expz,
31 string& expwt, string& expcut,
32 NTuple* nt=NULL, Histo* h1=NULL,
33 Histo2D* h2=NULL, HProf* hp=NULL);
34 PlotExprFunc LinkExprFunc(string& vardec, string& expx, string& expy, string& expz,
35 string& wt, string& cut);
36 DlFunction LinkFunctionFromFile(string& fnamer, char* funcname);
37 void CloseDLL();
38
39 char* PClassIdToClassName(int cid);
40 char* PClassIdToShortClassName(int cid);
41 string FileName2Name(string const & fn);
42 int DecodeDispOption(string& dopt, bool& fgsrgr);
43
44 void InitGrAttNames();
45
46// Variables membre , en public pour le moment
47 struct gratt_item {
48 int a1, a2;
49 };
50 typedef map<string, gratt_item, less<string> > GrAttNames;
51
52// Pour les changements d'attributs graphiques / de visualisation
53 GrAttNames GrAcolors;
54 GrAttNames GrAlines;
55 GrAttNames GrAmarkers;
56 GrAttNames GrAfonts;
57 GrAttNames GrAcmap;
58 GrAttNames GrAzoom;
[203]59 GrAttNames GrAaxes;
[165]60
[171]61 PDynLinkMgr * dynlink; // shared-lib lib.so
62 string TmpDir; // Pour fichiers temporaires
[165]63
64 PIStdImgApp* mImgapp;
65
66};
67
68
69#endif
Note: See TracBrowser for help on using the repository browser.