WimaMeasurementAreaData.h 859 Bytes
Newer Older
Valentin Platzgummer's avatar
Valentin Platzgummer committed
1 2 3
#pragma once

#include <QObject>
4
#include <QGeoCoordinate>
5

Valentin Platzgummer's avatar
Valentin Platzgummer committed
6 7

#include "WimaAreaData.h"
8 9 10
#include "WimaMeasurementArea.h"


Valentin Platzgummer's avatar
Valentin Platzgummer committed
11 12 13 14 15 16

class WimaMeasurementAreaData : public WimaAreaData
{
    Q_OBJECT

public:
17 18 19 20 21
    WimaMeasurementAreaData(QObject *parent = nullptr);
    WimaMeasurementAreaData(const WimaMeasurementAreaData &other, QObject *parent = nullptr);
    WimaMeasurementAreaData(const WimaMeasurementArea &other, QObject *parent = nullptr);
    WimaMeasurementAreaData& operator=(const WimaMeasurementAreaData &other);
    WimaMeasurementAreaData& operator=(const WimaMeasurementArea &other);
Valentin Platzgummer's avatar
Valentin Platzgummer committed
22

23 24
    QString type() const;

25
    static const char* typeString;
Valentin Platzgummer's avatar
Valentin Platzgummer committed
26 27 28 29 30

signals:

public slots:

31 32 33 34
protected:
    void assign(const WimaMeasurementAreaData &other);
    void assign(const WimaMeasurementArea &other);

Valentin Platzgummer's avatar
Valentin Platzgummer committed
35
private:
36
    // see WimaMeasurementArea.h for explanation
Valentin Platzgummer's avatar
Valentin Platzgummer committed
37
};