2 //----------------------------------------------------------------------------------------------------------------
3 // Class definition include
4 //----------------------------------------------------------------------------------------------------------------
5 #include "PerformingOperation.h"
7 //----------------------------------------------------------------------------------------------------------------
8 // Class implementation
9 //----------------------------------------------------------------------------------------------------------------
10 /** @file PerformingOperation.cxx */
13 //------------------------------------------------------------------------------------------------------------
15 //------------------------------------------------------------------------------------------------------------
17 //------------------------------------------------------------------------------------------------------------
18 // Generated events declaration and definition
19 //------------------------------------------------------------------------------------------------------------
21 //DEFINE_EVENT_TYPE( wxEVT_CONCEPT_RELEASE )
24 //------------------------------------------------------------------------------------------------------------
25 // Constructors & Destructors
26 //------------------------------------------------------------------------------------------------------------
27 PerformingOperation :: PerformingOperation()
33 PerformingOperation :: ~PerformingOperation()
39 //------------------------------------------------------------------------------------------------------------
40 // Attributes PerformingOperation :: getters and PerformingOperation :: setters
41 //------------------------------------------------------------------------------------------------------------
43 void PerformingOperation :: setStartOperationInstantVector( std::vector<int> instantData )
45 for (int i =0; i< instantData.size(); i++)
47 _startOperationInstantVector.push_back( instantData[i] );
50 //------------------------------------------------------------------------------------------------------------
51 std::vector<int> PerformingOperation :: getStartOperationInstantVector( )
53 return _startOperationInstantVector;
55 //------------------------------------------------------------------------------------------------------------
56 void PerformingOperation :: setEndOperationInstantVector( std::vector<int> instantData )
58 for (int i =0; i< instantData.size(); i++)
60 _endOperationInstantVector.push_back( instantData[i] );
63 //------------------------------------------------------------------------------------------------------------
64 std::vector<int> PerformingOperation :: getEndOperationInstantVector( )
66 return _endOperationInstantVector;
68 //------------------------------------------------------------------------------------------------------------
69 char PerformingOperation :: getStartCommand()
73 //------------------------------------------------------------------------------------------------------------
74 void PerformingOperation :: setStartCommand( char theCommand )
76 _startCommand = theCommand;
78 //------------------------------------------------------------------------------------------------------------
79 char PerformingOperation :: getEndCommand()
84 //------------------------------------------------------------------------------------------------------------
85 void PerformingOperation :: setEndCommand( char theCommand )
87 _endCommand = theCommand;
90 //------------------------------------------------------------------------------------------------------------
91 std::vector<std::string> PerformingOperation:: getKeyNamesOperationElems( )
93 return _keyNamesOperationElems;
95 //------------------------------------------------------------------------------------------------------------
96 void PerformingOperation:: setKeyNamesOperationElems( std::vector<std::string> dataVector)
98 _keyNamesOperationElems = dataVector;
101 //------------------------------------------------------------------------------------------------------------
102 // Other functional methods
103 //------------------------------------------------------------------------------------------------------------
105 void PerformingOperation :: reset()
107 _startCommand = '\0';
109 _startOperationInstantVector.clear();
110 _endOperationInstantVector.clear();
111 _keyNamesOperationElems.clear();
114 //------------------------------------------------------------------------------------------------------------
116 //------------------------------------------------------------------------------------------------------------
118 //------------------------------------------------------------------------------------------------------------
119 // Creational and initialization methods
120 //------------------------------------------------------------------------------------------------------------