Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / ground / gcs / src / plugins / uavobjects / tests / uavobjectstest.h
blob63ae2e7d13b31141c8251f74e1e610c4640072e7
1 #ifndef UAVOBJECTSTEST_H
2 #define UAVOBJECTSTEST_H
4 #include "..\uavobjectmanager.h"
5 #include "..\exampleobject1.h"
6 #include <QTimer>
7 #include <QTextStream>
9 class UAVObjectsTest : QObject {
10 Q_OBJECT
13 public:
14 UAVObjectsTest();
16 private slots:
17 void objectUpdated(UAVObject *obj);
18 void objectUpdatedAuto(UAVObject *obj);
19 void objectUpdatedManual(UAVObject *obj);
20 void objectUpdatedPeriodic(UAVObject *obj);
21 void objectUnpacked(UAVObject *obj);
22 void updateRequested(UAVObject *obj);
23 void runTest();
24 void newObject(UAVObject *obj);
25 void newInstance(UAVObject *obj);
27 private:
28 UAVObjectManager *objMngr;
29 ExampleObject1 *obj1;
30 QTimer *timer;
31 QTextStream sout;
32 bool done;
35 #endif // UAVOBJECTSTEST_H