Changeset 455 in PSPA for Interface_Web/trunk/pspaWT/sources/controler/include/sector.h
- Timestamp:
- Dec 16, 2013, 5:16:54 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/sources/controler/include/sector.h
r449 r455 3 3 4 4 #include <vector> 5 #include "sectionToExecute.h" 5 #include <string> 6 7 #include "nomDeLogiciel.h" 8 #include "sectorParameters.h" 9 10 class sectionToExecute; 11 class abstractElement; 12 class dataManager; 6 13 7 14 class sector … … 9 16 public : 10 17 11 sector( std::string name = "sector default name");18 sector(dataManager*, std::string name = "sector default name"); 12 19 virtual ~sector(); 13 20 /** … … 47 54 */ 48 55 inline std::string getName() { return name_;}; 49 50 /**51 Return the vector of sectors inside this sector52 */53 inline std::vector <sector*> getInnerSectors() { return sectors_;};54 55 /**56 Add an inner sector57 */58 inline void addInnerSector(sector* s) {59 if (s) sectors_.push_back(s);60 };61 56 62 57 /** … … 72 67 }; 73 68 69 /** Add an element after another one. Will put it in the same sectionToExecuteList. If the element after is NULL 70 it will create a new sectionToExecute and put it inside. 71 */ 72 void addElementAfter(abstractElement*,abstractElement*); 73 74 /** 75 set the specific software for the given sectionToExecute number 76 */ 77 bool setSoftware(nomDeLogiciel, unsigned int sectionToExecuteNumber); 78 79 void clearSectionToExecute(); 80 /** Clear a specific jobList */ 81 void clearSectionToExecute(int a); 82 83 inline sectorParameters getSectorParameters() { 84 return sectorParam_; 85 } 86 74 87 private: 75 std::vector <sector*> sectors_; 88 76 89 std::vector <sectionToExecute*> sectionToExecute_; 77 90 … … 80 93 sector* duplicatedFrom_; 81 94 unsigned int repetitionNumber_; 95 dataManager* dataManager_; 96 sectorParameters sectorParam_; //xx 82 97 }; 83 98 #endif
Note: See TracChangeset
for help on using the changeset viewer.