NVIDIA DriveWorks API: Timer
Description: This file defines the timer interface.
Definition in file Timer.h.
Go to the source code of this file.
Typedefs | |
typedef struct dwTimerObject const * | dwConstTimerHandle_t |
typedef struct dwTimerObject * | dwTimerHandle_t |
typedef void(* | dwTimerWork) (void *) |
Functions | |
DW_API_PUBLIC dwStatus | dwTimer_cancelAsync (dwTimerHandle_t timer) |
Asynchronously cancels all scheduled work associated with this timer. More... | |
DW_API_PUBLIC dwStatus | dwTimer_cancelSync (dwTimerHandle_t timer) |
Synchronously cancels all scheduled work associated with this timer. More... | |
DW_API_PUBLIC dwStatus | dwTimer_initialize (dwTimerHandle_t *timer, const char *timerName, dwContextHandle_t context) |
Creates and initializes a DW Timer. More... | |
DW_API_PUBLIC dwStatus | dwTimer_release (dwTimerHandle_t timer) |
Release the timer instance. More... | |
DW_API_PUBLIC dwStatus | dwTimer_scheduleTaskOneShot (const dwTimerWork task, void *clientData, const dwTime_t startTime, dwTimerHandle_t timer) |
Scheduled a task to be run at a future time (non-recurring) More... | |
DW_API_PUBLIC dwStatus | dwTimer_scheduleTaskRecurring (const dwTimerWork task, void *clientData, const dwTime_t startTime, const dwTime_t period, dwTimerHandle_t timer) |
Scheduled a task to be run at a future time (recurring) More... | |