Changeset 295 in Sophya for trunk/SophyaPI/PIext/servnobjm.h
- Timestamp:
- May 13, 1999, 12:12:51 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/servnobjm.h
r293 r295 9 9 #include "machdefs.h" 10 10 #include <string> 11 12 #include "ctimer.h" 11 #include <list> 12 #include <map> 13 #if defined(__KCC__) 14 using std::string ; 15 #include <list.h> 16 #include <map.h> 17 #endif 13 18 14 19 #include "pdlmgr.h" 15 20 #include "dlftypes.h" 21 #include "nomgadapter.h" 16 22 17 23 class NTuple; … … 26 32 ~Services2NObjMgr(); 27 33 34 // Pour enregistrer les objets de donnees et leurs adaptateurs 35 void RegisterClass(AnyDataObj* o, NObjMgrAdapter* oa); 36 // Pour recuperer l'adaptateur pour un objet o 37 NObjMgrAdapter* GetAdapter(AnyDataObj* o); 38 28 39 inline void SetImgApp(PIStdImgApp* app) {mImgapp = app; } 29 40 30 void Nobj_ComputeExpressions( PPersist* obj, string& expx, string& expy, string& expz,41 void Nobj_ComputeExpressions(NObjMgrAdapter* obja, string& expx, string& expy, string& expz, 31 42 string& expwt, string& expcut, 32 43 NTuple* nt=NULL, Histo* h1=NULL, … … 37 48 void CloseDLL(); 38 49 39 char* PClassIdToClassName(int cid);40 char* PClassIdToShortClassName(int cid);41 50 string FileName2Name(string const & fn); 42 51 int DecodeDispOption(string& dopt, bool& fgsrgr); 43 52 53 protected: 44 54 void InitGrAttNames(); 55 56 // Pour enregister les objets et leurs adaptateurs pour NamedObjMgr 57 struct dataobj_adapter { 58 AnyDataObj* obj; NObjMgrAdapter* obja; 59 }; 60 typedef list<dataobj_adapter> ObjAdaptList; 61 ObjAdaptList objadaplist; 45 62 46 63 // Variables membre , en public pour le moment … … 49 66 }; 50 67 typedef map<string, gratt_item, less<string> > GrAttNames; 51 68 52 69 // Pour les changements d'attributs graphiques / de visualisation 53 70 GrAttNames GrAcolors;
Note:
See TracChangeset
for help on using the changeset viewer.