DriveWorks SDK Reference
5.16.65 Release
For Test and Development only

Detailed Description

Provides an interface for non-standard data sensors.

Data Structures

struct  dwSensorDataPluginFunctionTable
 Function Table exposing data plugin functions. More...
 

Typedefs

typedef dwStatus(* dwSensorDataPlugin_sendPacket) (dwDataPacket *packet, dwSensorPluginSensorHandle_t sensor)
 Send a packet via data sensor plugin. More...
 

Functions

dwStatus dwSensorDataPlugin_getFunctionTable (dwSensorDataPluginFunctionTable *functions)
 Gets the handle to functions defined in 'dwSensorDataPluginFunctionTable' structure. More...
 

Data Structure Documentation

◆ dwSensorDataPluginFunctionTable

struct dwSensorDataPluginFunctionTable

Typedef Documentation

◆ dwSensorDataPlugin_sendPacket

typedef dwStatus(* dwSensorDataPlugin_sendPacket) (dwDataPacket *packet, dwSensorPluginSensorHandle_t sensor)

Send a packet via data sensor plugin.

Parameters
[in]packetA pointer to the packet to be sent.
[in]sensorSpecifies the data sensor to send the message over.
Returns
DW_NOT_SUPPORTED - if the underlying sensor does not support send operation.
DW_INVALID_HANDLE - if given sensor handle is invalid.
DW_INVALID_ARGUMENT - if given arguments are invalid.
DW_NOT_AVAILABLE - if sensor has not been started.
DW_SUCCESS

Definition at line 69 of file DataPlugin.h.

Function Documentation

◆ dwSensorDataPlugin_getFunctionTable()

dwStatus dwSensorDataPlugin_getFunctionTable ( dwSensorDataPluginFunctionTable functions)

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

Parameters
[out]functionsA pointer to the function table
Returns
DW_INVALID_ARGUMENT - if pointer to the function table is NULL.
DW_SUCCESS