AzimuthPitchRollService.hpp Example File
bpstoqml/src/AzimuthPitchRollService.hpp
#ifndef AZIMUTHPITCHROLLSERVICE_H_
#define AZIMUTHPITCHROLLSERVICE_H_
#include "AbstractSensorService.hpp"
namespace bb {
namespace cascades {
namespace bps {
class AzimuthPitchRollService: public AbstractSensorService {
Q_OBJECT
public:
AzimuthPitchRollService(QObject *parent = 0);
virtual ~AzimuthPitchRollService();
virtual void handleEvent(bps_event_t *event);
Q_SIGNALS:
void azimuthPitchRollData(float azimuth, float pitch, float roll, unsigned long long timestamp, SensorAccuracy accuracy);
};
}
}
}
QML_DECLARE_TYPE(bb::cascades::bps::AzimuthPitchRollService)
#endif /* AZIMUTHPITCHROLLSERVICE_H_ */