NVIDIA DriveOS Linux NSR SDK API Reference

7.0.3.0 Release
DataSensorPlugin.h File Reference

Detailed Description

NVIDIA DriveWorks: Data Sensor Plugin Interface to interact with live sensors

Description: This file defines the interfaces to be implemented for Data sensor plugins.

Definition in file DataSensorPlugin.h.

Go to the source code of this file.

Data Structures

struct  dwDataSensorPluginFunction
 Function Table exposing data sensor plugin functions. More...
 

Typedefs

typedef dwStatus(* dwSensorDataPlugin_sendPacket) (dwDataPacket *packet, dwSensorPluginSensorHandle_t sensor)
 Send a packet via data sensor plugin. More...
 
typedef struct dwDataSensorPluginFunction dwDataSensorPluginFunction
 Function Table exposing data sensor plugin functions. More...
 

Typedef Documentation

◆ dwDataSensorPluginFunction

Function Table exposing data sensor plugin functions.

◆ 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 43 of file DataSensorPlugin.h.