OpenIndy-Core  0.2.0.43
objecttransformation.h
Go to the documentation of this file.
1 #ifndef OBJECTTRANSFORMATION_H
2 #define OBJECTTRANSFORMATION_H
3 
4 #include "function.h"
5 
6 namespace oi{
7 
13 {
14  Q_OBJECT
15 
16 public:
17  ObjectTransformation(QObject *parent = 0) : Function(parent){}
18 
20 
21 protected:
22 
23  //####################################
24  //methods that cannot be reimplemented
25  //####################################
26 
27  bool exec(Station &station){ return Function::exec(station); }
28  bool exec(CoordinateSystem &coordinateSystem){ return Function::exec(coordinateSystem); }
29 
30 };
31 
32 }
33 
34 #ifndef STR
35 #define STR(x) #x
36 #endif
37 #ifndef STR2
38 #define STR2(x) STR(x)
39 #endif
40 
41 #ifndef CONCAT
42 #define CONCAT(a, b) a ## b
43 #endif
44 #ifndef CONCAT2
45 #define CONCAT2(a, b) CONCAT(a, b)
46 #endif
47 
48 #define OBJECTTRANSFORMATIONFUNCTION_PREFIX de.openIndy.plugin.function.objectTransformation.v
49 #define ObjectTransformation_iidd STR2(CONCAT2(OBJECTTRANSFORMATIONFUNCTION_PREFIX, PLUGIN_INTERFACE_VERSION))
50 
51 #endif // OBJECTTRANSFORMATION_H
virtual ~ObjectTransformation()
Definition: objecttransformation.h:19
bool exec(Station &station)
Function::exec.
Definition: objecttransformation.h:27
Definition: coordinatesystem.h:15
The Station class.
Definition: station.h:23
bool exec(const QPointer< FeatureWrapper > &feature)
Function::exec.
Definition: function.cpp:25
The ObjectTransformation class Function that changes a previously solved feature by using other eleme...
Definition: objecttransformation.h:12
The Function class.
Definition: function.h:170
The CoordinateSystem class.
Definition: coordinatesystem.h:25
bool exec(CoordinateSystem &coordinateSystem)
Function::exec.
Definition: objecttransformation.h:28
ObjectTransformation(QObject *parent=0)
Definition: objecttransformation.h:17
#define OI_CORE_EXPORT
Definition: types.h:11