// EXTERNAL INCLUDES
#include <deque>
#include <dali/public-api/object/base-object.h>
-#include <timer.h>
// INTERNAL INCLUDES
#include <tilt-sensor.h>
+#include <timer.h>
namespace Dali
{
{
public:
- typedef Dali::TiltSensor::TiltedSignalV2 TiltedSignalV2;
+ typedef Dali::TiltSensor::TiltedSignalType TiltedSignalType;
/**
* Create a TiltSensor.
static Dali::TiltSensor Get();
/**
- * @copydoc Dali::TiltSensor::Enable()
+ * @copydoc Dali::TiltSensor::Start()
*/
- bool Enable();
+ bool Start();
/**
- * @copydoc Dali::TiltSensor::Disable()
+ * @copydoc Dali::TiltSensor::Stop()
*/
- void Disable();
+ void Stop();
/**
- * @copydoc Dali::TiltSensor::IsEnabled()
+ * @copydoc Dali::TiltSensor::IsStarted()
*/
- bool IsEnabled() const;
+ bool IsStarted() const;
/**
* @copydoc Dali::TiltSensor::GetRoll()
/**
* @copydoc Dali::TiltSensor::TiltedSignal()
*/
- TiltedSignalV2& TiltedSignal();
+ TiltedSignalType& TiltedSignal();
/**
* @copydoc Dali::TiltSensor::SetUpdateFrequency()
std::deque<float> mRollValues;
std::deque<float> mPitchValues;
- TiltedSignalV2 mTiltedSignalV2;
+ TiltedSignalType mTiltedSignal;
};
} // namespace Adaptor