Changeset 114 in PSPA for Interface_Web/trunk/pspaWT/include
- Timestamp:
- Nov 29, 2012, 9:39:16 AM (12 years ago)
- Location:
- Interface_Web/trunk/pspaWT/include
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/include/GWt_pspaApplication.h
r113 r114 36 36 WWidget* globalParam_; 37 37 WWidget* beamLine_; 38 W ContainerWidget* leDessin_;38 WWidget* leDessin_; 39 39 WPushButton *exec_go_; 40 40 WText* probleme_; … … 48 48 WWidget* createGlobalParamWidget(); 49 49 WWidget* createExecuteWidget(); 50 WWidget* createDrawingWidget(); 50 51 51 52 void createDragImage(const char *url,const char *smallurl,const char *mimeType,WContainerWidget *p,WString name); -
Interface_Web/trunk/pspaWT/include/abstractElement.h
r109 r114 25 25 string label_; 26 26 nomdElement elementName_; 27 // string transportElementName_; 27 28 double lenghtElem_; // cm 28 29 double aperture_; // cm … … 44 45 string getLabel() const; 45 46 nomdElement getName() const; 46 std::string getNameOfElement(); 47 std::string getNameString() const; 47 string getNameOfElement(); 48 string getNameString() const; 49 // string getTransportName() const; 48 50 double getLenghtOfElement() const; 49 51 int getNbParams() const; -
Interface_Web/trunk/pspaWT/include/dataManager.h
r111 r114 15 15 elementsCollection elementsGallery_; 16 16 globalParameters globParam_; 17 particleBeam currentBeam_; 17 particleBeam* currentBeam_; 18 19 vector<particleBeam> diagnosticBeam_; 18 20 19 21 vector<sectionToExecute*> jobList_; … … 26 28 public: 27 29 28 dataManager() { ;}30 dataManager() {currentBeam_ = NULL;} 29 31 ~dataManager() { 30 32 unsigned k; … … 32 34 if ( jobList_[k] != NULL ) delete jobList_[k]; 33 35 } 36 if ( currentBeam_ == NULL ) delete currentBeam_; 34 37 } 35 38 … … 37 40 inline globalParameters* getGlobalParameters() {return &globParam_;} 38 41 inline elementsCollection* getCollection() {return &elementsGallery_;} 39 inline particleBeam &getCurrentBeam() {return currentBeam_;}42 inline particleBeam* getCurrentBeam() {return currentBeam_;} 40 43 void addSectionToExecute(int debut, int fin, nomDeLogiciel prog); 41 44 -
Interface_Web/trunk/pspaWT/include/particleBeam.h
r111 r114 49 49 50 50 51 void readTransportMoments(ifstream& inp); 51 52 52 53 … … 70 71 ~particleBeam() {;} 71 72 72 bool setFromParmela( double referencefrequency);73 bool setFromParmela(unsigned numeroElement,double referencefrequency); 73 74 void buildMomentRepresentation(); 74 75
Note: See TracChangeset
for help on using the changeset viewer.