- Welcome
- Getting Started With the NVIDIA DriveWorks SDK
- Modules
- Samples
- Tools
- Tutorials
- SDK Porting Guide
- DriveWorks API
- More
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 *ptr) |
Functions | |
DW_API_PUBLIC dwStatus | dwTimer_cancelAsync (dwTimerHandle_t const timer) |
Asynchronously cancels all scheduled work associated with this timer. More... | |
DW_API_PUBLIC dwStatus | dwTimer_cancelSync (dwTimerHandle_t const timer) |
Synchronously cancels all scheduled work associated with this timer. More... | |
DW_API_PUBLIC dwStatus | dwTimer_initialize (dwTimerHandle_t *const timer, char8_t const *const timerName, dwContextHandle_t const context) |
Creates and initializes a DW Timer. More... | |
DW_API_PUBLIC dwStatus | dwTimer_release (dwTimerHandle_t const timer) |
Release the timer instance. More... | |
DW_API_PUBLIC dwStatus | dwTimer_scheduleTaskOneShot (dwTimerWork const task, void *const clientData, dwTime_t const startTime, dwTimerHandle_t const timer) |
Scheduled a task to be run at a future time (non-recurring) More... | |
DW_API_PUBLIC dwStatus | dwTimer_scheduleTaskRecurring (dwTimerWork const task, void *const clientData, dwTime_t const startTime, dwTime_t const period, dwTimerHandle_t const timer) |
Scheduled a task to be run at a future time (recurring) More... | |