1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-23 08:52:10 +01:00

36 lines
744 B
C
Raw Normal View History

#ifndef UAVOBJECTSTEST_H
#define UAVOBJECTSTEST_H
#include "..\uavobjectmanager.h"
#include "..\exampleobject.h"
#include <QTimer>
#include <QTextStream>
class UAVObjectsTest: QObject
{
Q_OBJECT
public:
UAVObjectsTest();
private slots:
void objectUpdated(UAVObject* obj);
void objectUpdatedAuto(UAVObject* obj);
void objectUpdatedManual(UAVObject* obj);
void objectUnpacked(UAVObject* obj);
void updateRequested(UAVObject* obj);
void runTest();
void newObject(UAVObject* obj);
void newInstance(UAVObject* obj);
private:
UAVObjectManager* objMngr;
ExampleObject* obj1;
QTimer* timer;
QTextStream sout;
bool done;
};
#endif // UAVOBJECTSTEST_H