Loading [MathJax]/extensions/tex2jax.js
  • <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>

  • DriveWorks SDK Reference
    5.20.37 Release
    For Test and Development only

    All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
    Timer.h File Reference

    Detailed Description

    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
     Handle represents a const Timer object. More...
     
    typedef struct dwTimeSourceObject const * dwConstTimeSourceHandle_t
     Handle represents a const TimeSource object. More...
     
    typedef struct dwTimerObject * dwTimerHandle_t
     Handle represents a Timer object. More...
     
    typedef void(* dwTimerWork) (void *ptr)
     dwTimerWork is a timer schedule task callback function, input void* ptr passes the extra data to the task More...
     
    typedef struct dwTimeSourceObject * dwTimeSourceHandle_t
     Handle represents a TimeSource object. More...
     

    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_initializeFromSource (dwTimerHandle_t *const timer, char8_t const *const timerName, dwTimeSourceHandle_t const source)
     Creates a new 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...
     
    人人超碰97caoporen国产