1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-06 17:46:07 +01:00
LibrePilot/ground/src/plugins/uavobjects/tests/uavobjectstest.h
vassilis 0faaa1e158 OP-33 GCS/UAVObjects: Update example objects
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@419 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-02 03:17:51 +00:00

36 lines
746 B
C++

#ifndef UAVOBJECTSTEST_H
#define UAVOBJECTSTEST_H
#include "..\uavobjectmanager.h"
#include "..\exampleobject1.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;
ExampleObject1* obj1;
QTimer* timer;
QTextStream sout;
bool done;
};
#endif // UAVOBJECTSTEST_H