OpenIndy-Core  0.2.0.43
networkadjustment.h
Go to the documentation of this file.
1 #ifndef PI_NETWORKADJUSTMENT_H
2 #define PI_NETWORKADJUSTMENT_H
3 
4 #include <QObject>
5 #include <QString>
6 
7 #include "pluginmetadata.h"
8 
9 #include "types.h"
10 
11 namespace oi{
12 
13 class CoordinateSystem;
14 class Statistic;
15 
20 class OI_CORE_EXPORT NetworkAdjustment : public QObject
21 {
22  Q_OBJECT
23 
24 public:
25  NetworkAdjustment(QObject *parent = 0) : QObject(parent){}
26 
27  virtual ~NetworkAdjustment(){}
28 
29  QList<CoordinateSystem*> coordSys;
31 
32  virtual PluginMetaData* getMetaData(){ return NULL; }
33 
34  virtual void recalc(){}
35 
36 };
37 
38 }
39 
40 #ifndef STR
41 #define STR(x) #x
42 #endif
43 #ifndef STR2
44 #define STR2(x) STR(x)
45 #endif
46 
47 #ifndef CONCAT
48 #define CONCAT(a, b) a ## b
49 #endif
50 #ifndef CONCAT2
51 #define CONCAT2(a, b) CONCAT(a, b)
52 #endif
53 
54 #define NETWORKADJUSTMENT_PREFIX de.openIndy.plugin.networkAdjustment.v
55 #define NetworkAdjustment_iidd STR2(CONCAT2(NETWORKADJUSTMENT_PREFIX, PLUGIN_INTERFACE_VERSION))
56 
57 #endif // PI_NETWORKADJUSTMENT_H
Definition: pluginmetadata.h:10
The NetworkAdjustment class Interface for implementing network adjustment plugins.
Definition: networkadjustment.h:20
Definition: coordinatesystem.h:15
virtual ~NetworkAdjustment()
Definition: networkadjustment.h:27
QList< CoordinateSystem * > coordSys
Definition: networkadjustment.h:29
Statistic * stats
Definition: networkadjustment.h:30
The Statistic class.
Definition: statistic.h:29
virtual void recalc()
Definition: networkadjustment.h:34
virtual PluginMetaData * getMetaData()
Definition: networkadjustment.h:32
NetworkAdjustment(QObject *parent=0)
Definition: networkadjustment.h:25
#define OI_CORE_EXPORT
Definition: types.h:11