]> Creatis software - creaContours.git/blob - lib/Interface_ManagerContour_NDimensions/PerformingOperation.h
ee5e3313e40e939a2eb3865d44abb6c57702bd81
[creaContours.git] / lib / Interface_ManagerContour_NDimensions / PerformingOperation.h
1 #ifndef __PerformingOperation_h_INCLUDED_H__
2 #define __PerformingOperation_h_INCLUDED_H__
3
4
5 //------------------------------------------------------------------------------------------------------------
6 // Includes
7 //------------------------------------------------------------------------------------------------------------
8 #include <iostream>
9 #include <vector>
10
11
12 /** file PerformingOperation.h */
13
14
15 //------------------------------------------------------------------------------------------------------------
16 // Class definition
17 //------------------------------------------------------------------------------------------------------------
18 class PerformingOperation {
19
20         public:
21
22         //------------------------------------------------------------------------------------------------------------
23         // Constructors & Destructors
24         //------------------------------------------------------------------------------------------------------------
25
26         PerformingOperation();
27
28         ~PerformingOperation();
29
30         
31         //------------------------------------------------------------------------------------------------------------
32         //  Attributes getters and setters
33         //------------------------------------------------------------------------------------------------------------
34         
35         void setStartOperationInstantVector( std::vector<int> instantData );
36
37         std::vector<int> getStartOperationInstantVector( );
38
39         void setEndOperationInstantVector( std::vector<int> instantData );
40
41         std::vector<int> getEndOperationInstantVector( );
42
43         char getStartCommand();
44
45         void setStartCommand( char theCommand );
46
47         char getEndCommand();
48
49         void setEndCommand( char theCommand );
50
51         std::vector<std::string> getKeyNamesOperationElems( );
52
53         void setKeyNamesOperationElems( std::vector<std::string> dataVector);
54
55         //------------------------------------------------------------------------------------------------------------
56         //  Other functional methods
57         //------------------------------------------------------------------------------------------------------------
58
59         void reset();
60
61 private:
62         //------------------------------------------------------------------------------------------------------------
63         //  Private methods
64         //------------------------------------------------------------------------------------------------------------
65
66         //------------------------------------------------------------------------------------------------------------
67         // Creational and initialization methods
68         //------------------------------------------------------------------------------------------------------------
69
70                 
71         //------------------------------------------------------------------------------------------------------------
72         // Attributtes
73         //------------------------------------------------------------------------------------------------------------
74         
75         std::vector<int>  _startOperationInstantVector;
76
77         std::vector<int>  _endOperationInstantVector;
78
79         std::vector<std::string> _keyNamesOperationElems;
80
81         char _startCommand;
82
83         char _endCommand;
84
85 };
86 #endif // __PerformingOperation_HEADER_FILE__
87
88
89