NUGU SDK Linux
1.7.6
|
#include <nugu.h>
Go to the source code of this file.
Typedefs | |
typedef void(* | NuguTimeoutCallback) (void *userdata) |
Callback prototype for timeout. | |
typedef struct _nugu_timer | NuguTimer |
Timer object. | |
Functions | |
NUGU_API void | nugu_timer_delete (NuguTimer *timer) |
Destroy the timer object. More... | |
NUGU_API long | nugu_timer_get_interval (NuguTimer *timer) |
Get interval. More... | |
NUGU_API int | nugu_timer_get_singleshot (NuguTimer *timer) |
Get timer single shot property. More... | |
NUGU_API NuguTimer * | nugu_timer_new (long interval) |
Create new timer object. More... | |
NUGU_API void | nugu_timer_set_callback (NuguTimer *timer, NuguTimeoutCallback callback, void *userdata) |
Set timeout callback. More... | |
NUGU_API void | nugu_timer_set_interval (NuguTimer *timer, long interval) |
Set interval. More... | |
NUGU_API void | nugu_timer_set_singleshot (NuguTimer *timer, int singleshot) |
Set timer running single shot. More... | |
NUGU_API void | nugu_timer_start (NuguTimer *timer) |
Start the timer. More... | |
NUGU_API void | nugu_timer_stop (NuguTimer *timer) |
Stop the timer. More... | |