Changeset 493 in PSPA for Interface_Web/trunk/pspaWT/sources/controler/include/sector.h
- Timestamp:
- Mar 11, 2014, 11:21:43 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/sources/controler/include/sector.h
r483 r493 10 10 11 11 12 class sectionToExecute;12 //class sectionToExecute; 13 13 class abstractElement; 14 14 class dataManager; … … 60 60 Return the vector of sectionToExecute of this 61 61 */ 62 inline std::vector <sectionToExecute*> getSectionsToExecute() { return sectionToExecute_;};63 62 // inline std::vector <sectionToExecute*> getSectionsToExecute() { return sectionToExecute_;}; 63 inline std::vector <abstractElement*>& getElements() { return elements_;}; 64 64 /** 65 65 Add a sectionToExecute 66 66 */ 67 inline void addSectionToExecute(sectionToExecute* s) {68 if (s) sectionToExecute_.push_back(s);69 };67 // inline void addSectionToExecute(sectionToExecute* s) { 68 // if (s) sectionToExecute_.push_back(s); 69 // }; 70 70 71 71 /** Add an element after another one. Will put it in the same sectionToExecuteList. If the element after is NULL … … 85 85 set the specific software for the given sectionToExecute number 86 86 */ 87 bool setSoftware(nomDeLogiciel, unsigned int sectionToExecuteNumber);87 // bool setSoftware(nomDeLogiciel, unsigned int sectionToExecuteNumber); 88 88 89 void clearSectionToExecute();89 // void clearSectionToExecute(); 90 90 /** Clear a specific jobList */ 91 void clearSectionToExecute(int a);91 //void clearSectionToExecute(int a); 92 92 93 93 void removeElement(abstractElement* currentElement); … … 105 105 } 106 106 107 108 bool isInside(abstractElement* previousElement); 109 107 110 private: 108 111 109 std::vector <sectionToExecute*> sectionToExecute_; 112 bool insertAfter(abstractElement* previousElement,abstractElement* currentElement); 113 114 115 116 117 std::vector<abstractElement*> elements_; 118 // std::vector <sectionToExecute*> sectionToExecute_; 119 110 120 particleBeam* currentBeam_; 111 121
Note: See TracChangeset
for help on using the changeset viewer.