source: PSPA/Interface_Web/trunk/pspaWT/sources/controler/include/sectionToExecute.h @ 455

Last change on this file since 455 was 455, checked in by garnier, 10 years ago

grosse modification pour intégrer les sections

File size: 1.0 KB
Line 
1#ifndef SECTIONTOEXECUTE_SEEN
2#define SECTIONTOEXECUTE_SEEN
3
4#include "nomDeLogiciel.h"
5#include "abstractElement.h"
6#include "abstractSoftware.h"
7
8class sectionToExecute
9{
10 public :
11  /** Create a new sectionToExecute and initialize it with the given element
12   */
13  sectionToExecute(abstractElement*);
14
15  /** Create a new sectionToExecute and initialize it with the given element and software
16   */
17  sectionToExecute(abstractElement*,abstractSoftware*);
18 
19  /** Deprecated : To be removed ! */
20  sectionToExecute(abstractElement*, int, abstractElement*, int, abstractSoftware*);
21
22  ~sectionToExecute() {;}
23
24  inline abstractSoftware* getSoftware() const {
25    return software_;
26  }
27 
28  inline abstractSoftware* setSoftware(abstractSoftware* soft) {
29    software_ = soft;
30  }
31 
32  /**
33   Get the vector of elements of this sector
34   */
35  inline std::vector< abstractElement* > getElements() {return elements_;};
36 
37  bool insertAfter(abstractElement*,abstractElement*);
38
39  private :
40
41  abstractSoftware* software_;
42
43  std::vector< abstractElement* > elements_;
44};
45#endif
Note: See TracBrowser for help on using the repository browser.