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

  • DriveWorks SDK Reference
    5.8.83 Release
    For Test and Development only

    All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages

    Detailed Description

    Provides an interface for non-standard GPS sensors.

    Data Structures

    struct  dwSensorGPSPluginFunctionTable
     Function Table exposing GPS plugin functions. More...
     

    Typedefs

    typedef dwStatus(* dwSensorGPSPlugin_parseDataBuffer) (dwGPSFrame *frame, size_t *consumed, dwSensorPluginSensorHandle_t sensor)
     Processes the data previously passed via the 'dwSensorPlugin_pushData' interface. More...
     

    Functions

    dwStatus dwSensorGPSPlugin_getFunctionTable (dwSensorGPSPluginFunctionTable *functions)
     Gets the handle to functions defined in 'dwSensorGPSPluginFunctionTable' structure. More...
     

    Data Structure Documentation

    ◆ dwSensorGPSPluginFunctionTable

    struct dwSensorGPSPluginFunctionTable

    Typedef Documentation

    ◆ dwSensorGPSPlugin_parseDataBuffer

    typedef dwStatus(* dwSensorGPSPlugin_parseDataBuffer) (dwGPSFrame *frame, size_t *consumed, dwSensorPluginSensorHandle_t sensor)

    Processes the data previously passed via the 'dwSensorPlugin_pushData' interface.

    Parameters
    [out]frameInterpreted GPS frame
    [out]consumedNumber of raw bytes (including header) consumed to successfully parse the frame
    [in]sensorSpecifies the sensor the data came from.
    Returns
    DW_INVALID_HANDLE - if the sensor handle is NULL or invalid
    DW_FAILURE - if no frame is ready for consumption DW_SUCCESS

    Definition at line 68 of file GPSPlugin.h.

    Function Documentation

    ◆ dwSensorGPSPlugin_getFunctionTable()

    dwStatus dwSensorGPSPlugin_getFunctionTable ( dwSensorGPSPluginFunctionTable functions)

    Gets the handle to functions defined in 'dwSensorGPSPluginFunctionTable' structure.

    Parameters
    [out]functionsA pointer to the function table
    Returns
    DW_INVALID_ARGUMENT - if pointer to the function table is NULL.
    DW_SUCCESS
    人人超碰97caoporen国产