Line | |
---|
1 | #ifndef GWTMACHINE_SEEN |
---|
2 | #define GWTMACHINE_SEEN |
---|
3 | |
---|
4 | #include <iostream> |
---|
5 | |
---|
6 | #include <Wt/WContainerWidget> |
---|
7 | #include "expandedMachine.h" |
---|
8 | #include "GWt_accelerator.h" |
---|
9 | #include "GWt_ligneFaisceau.h" |
---|
10 | #include "GWt_softwarePanel.h" |
---|
11 | |
---|
12 | using namespace Wt; |
---|
13 | |
---|
14 | using namespace std; |
---|
15 | |
---|
16 | class GWt_machine : public WObject |
---|
17 | { |
---|
18 | |
---|
19 | GWt_machine() {;} |
---|
20 | |
---|
21 | public: |
---|
22 | |
---|
23 | GWt_machine(GWt_accelerator*,expandedMachine*); |
---|
24 | virtual ~GWt_machine(); |
---|
25 | void createWidgetComputing(WContainerWidget* parent); |
---|
26 | void displayWidgetComputing(); |
---|
27 | |
---|
28 | // Get the accelerator for this sector |
---|
29 | inline GWt_accelerator* getAccelerator() { |
---|
30 | return UI_Accelerator_; |
---|
31 | } |
---|
32 | |
---|
33 | inline expandedMachine* getMachineControler() {return machineControler_;}; |
---|
34 | private: |
---|
35 | |
---|
36 | void expandMachine(); |
---|
37 | |
---|
38 | |
---|
39 | |
---|
40 | // GWt_ligneFaisceau* UI_beamLine_; |
---|
41 | GWt_accelerator* UI_Accelerator_; |
---|
42 | expandedMachine* machineControler_; |
---|
43 | |
---|
44 | }; |
---|
45 | |
---|
46 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.