Ignore:
Timestamp:
Mar 11, 2014, 11:21:43 AM (10 years ago)
Author:
lemeur
Message:

refection generale des secteurs et applications de softwares (suite)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Interface_Web/trunk/pspaWT/sources/controler/include/sector.h

    r483 r493  
    1010
    1111
    12 class sectionToExecute;
     12//class sectionToExecute;
    1313class abstractElement;
    1414class dataManager;
     
    6060   Return the vector of sectionToExecute of this
    6161   */
    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_;};
    6464  /**
    6565   Add a sectionToExecute
    6666   */
    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  //  };
    7070 
    7171  /** Add an element after another one. Will put it in the same sectionToExecuteList. If the element after is NULL
     
    8585 set the specific software for the given sectionToExecute number
    8686 */
    87   bool setSoftware(nomDeLogiciel, unsigned int sectionToExecuteNumber);
     87  //  bool setSoftware(nomDeLogiciel, unsigned int sectionToExecuteNumber);
    8888
    89   void clearSectionToExecute();
     89  //  void clearSectionToExecute();
    9090  /** Clear a specific jobList */
    91   void clearSectionToExecute(int a);
     91  //void clearSectionToExecute(int a);
    9292
    9393  void removeElement(abstractElement* currentElement);
     
    105105  }
    106106 
     107
     108  bool isInside(abstractElement* previousElement);
     109
    107110private:
    108111
    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
    110120  particleBeam* currentBeam_;
    111121
Note: See TracChangeset for help on using the changeset viewer.