NVIDIA DriveWorks: Sensor Plugin Interface to interact with live sensors
Description: This file defines the interfaces to be implemented for live sensor plugins.
Definition in file SensorPlugin.h.
Go to the source code of this file.
Data Structures | |
struct | dwSensorPluginFunctions |
Function Table exposing sensor plugin functions. More... | |
Macros | |
#define | SENSOR_PLUGIN_COMMON_FUNCTIONS |
Typedefs | |
typedef dwStatus(* | dwSensorPlugin_initializeHandle) (dwSensorPluginSensorHandle_t *handle, char const *params, dwContextHandle_t ctx) |
Initialize a new handle to the sensor managed by the plugin module. More... | |
Functions | |
DW_API_PUBLIC dwStatus | dwSAL_registerSensorPlugin (dwSensorType sensorType, char const *codecMimeType, void const *funcTable, dwSALHandle_t const sal) |
Register sensor plugin which works with live sensors. More... | |
#define SENSOR_PLUGIN_COMMON_FUNCTIONS |
Definition at line 65 of file SensorPlugin.h.
typedef dwStatus(* dwSensorPlugin_initializeHandle) (dwSensorPluginSensorHandle_t *handle, char const *params, dwContextHandle_t ctx) |
Initialize a new handle to the sensor managed by the plugin module.
[out] | handle | A pointer to sensor handle. |
[in] | params | Specifies the parameters for the sensor. |
[in] | ctx | context handle. |
Definition at line 62 of file SensorPlugin.h.
DW_API_PUBLIC dwStatus dwSAL_registerSensorPlugin | ( | dwSensorType | sensorType, |
char const * | codecMimeType, | ||
void const * | funcTable, | ||
dwSALHandle_t const | sal | ||
) |
Register sensor plugin which works with live sensors.
[in] | sensorType | the sensor type of registered sensor plugin |
[in] | codecMimeType | the codec type of registered CodecHeader plugin |
[in] | funcTable | pointer to sensor plugin function pointer table |
[in] | sal | Specifies the SAL handle to register sensor plugin. |