Dali 3D User Interface Engine
Classes | Namespaces | Functions | Variables
utc-Dali-TiltSensor.cpp File Reference
#include <iostream>
#include <stdlib.h>
#include <stdint.h>
#include <Ecore.h>
#include <dali/dali.h>
#include <dali-test-suite-utils.h>
#include <tilt-sensor-impl.h>
Include dependency graph for utc-Dali-TiltSensor.cpp:

Go to the source code of this file.

Classes

struct  anonymous_namespace{utc-Dali-TiltSensor.cpp}::SignalHelper
 Helper to test whether timeout or tilt signal is received first. More...
 

Namespaces

namespace  anonymous_namespace{utc-Dali-TiltSensor.cpp}
 

Functions

TiltSensor anonymous_namespace{utc-Dali-TiltSensor.cpp}::GetTiltSensor ()
 
Ecore_Timer * ecore_timer_add (double in, Ecore_Task_Cb func, const void *data)
 
void * ecore_timer_del (Ecore_Timer *timer)
 
void tilt_sensor_startup (void)
 
void tilt_sensor_cleanup (void)
 
int UtcDaliTiltSensorEnable (void)
 
int UtcDaliTiltSensorDisable (void)
 
int UtcDaliTiltSensorIsEnabled (void)
 
int UtcDaliTiltSensorGetRoll (void)
 
int UtcDaliTiltSensorGetPitch (void)
 
int UtcDaliTiltSensorGetRotation (void)
 
int UtcDaliTiltSensorSignalTilted (void)
 
int UtcDaliTiltSensorSetUpdateFrequency (void)
 
int UtcDaliTiltSensorSetRotationThreshold01 (void)
 

Variables

static const float anonymous_namespace{utc-Dali-TiltSensor.cpp}::ROTATION_EPSILON = 0.0001f
 
bool anonymous_namespace{utc-Dali-TiltSensor.cpp}::ecore_timer_running = false
 
Ecore_Task_Cb anonymous_namespace{utc-Dali-TiltSensor.cpp}::timer_callback_func =NULL
 
const void * anonymous_namespace{utc-Dali-TiltSensor.cpp}::timer_callback_data =NULL
 
intptr_t anonymous_namespace{utc-Dali-TiltSensor.cpp}::timerId = 8
 

Function Documentation

Ecore_Timer* ecore_timer_add ( double  in,
Ecore_Task_Cb  func,
const void *  data 
)
void* ecore_timer_del ( Ecore_Timer *  timer)
void tilt_sensor_cleanup ( void  )

Definition at line 108 of file utc-Dali-TiltSensor.cpp.

void tilt_sensor_startup ( void  )

Definition at line 104 of file utc-Dali-TiltSensor.cpp.

int UtcDaliTiltSensorDisable ( void  )

Definition at line 128 of file utc-Dali-TiltSensor.cpp.

References DALI_TEST_CHECK, END_TEST, anonymous_namespace{utc-Dali-TiltSensor.cpp}::GetTiltSensor(), and tet_infoline().

Here is the call graph for this function:

int UtcDaliTiltSensorEnable ( void  )

Definition at line 113 of file utc-Dali-TiltSensor.cpp.

References DALI_TEST_CHECK, END_TEST, anonymous_namespace{utc-Dali-TiltSensor.cpp}::GetTiltSensor(), and tet_infoline().

Here is the call graph for this function:

int UtcDaliTiltSensorGetPitch ( void  )

Definition at line 173 of file utc-Dali-TiltSensor.cpp.

References DALI_TEST_CHECK, END_TEST, anonymous_namespace{utc-Dali-TiltSensor.cpp}::GetTiltSensor(), and tet_infoline().

Here is the call graph for this function:

int UtcDaliTiltSensorGetRoll ( void  )

Definition at line 159 of file utc-Dali-TiltSensor.cpp.

References DALI_TEST_CHECK, END_TEST, anonymous_namespace{utc-Dali-TiltSensor.cpp}::GetTiltSensor(), and tet_infoline().

Here is the call graph for this function:

int UtcDaliTiltSensorGetRotation ( void  )
int UtcDaliTiltSensorIsEnabled ( void  )

Definition at line 145 of file utc-Dali-TiltSensor.cpp.

References DALI_TEST_CHECK, END_TEST, anonymous_namespace{utc-Dali-TiltSensor.cpp}::GetTiltSensor(), and tet_infoline().

Here is the call graph for this function:

int UtcDaliTiltSensorSetRotationThreshold01 ( void  )
int UtcDaliTiltSensorSetUpdateFrequency ( void  )
int UtcDaliTiltSensorSignalTilted ( void  )

Definition at line 209 of file utc-Dali-TiltSensor.cpp.

References DALI_TEST_CHECK, END_TEST, anonymous_namespace{utc-Dali-TiltSensor.cpp}::GetTiltSensor(), and tet_infoline().

Here is the call graph for this function:

Dali Docs Home
Read more about Dali