NVIDIA DriveOS Linux NSR SDK API Reference
7.0.3.0 Release
DataPlugin.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3
* SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4
*
5
* NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6
* property and proprietary rights in and to this material, related
7
* documentation and any modifications thereto. Any use, reproduction,
8
* disclosure or distribution of this material and related documentation
9
* without an express license agreement from NVIDIA CORPORATION or
10
* its affiliates is strictly prohibited.
11
*/
12
20
#ifndef DW_SENSORS_DATA_PLUGIN_H
21
#define DW_SENSORS_DATA_PLUGIN_H
22
23
#include <dw/sensors/legacy/plugins/SensorCommonPlugin.h>
24
#include <dw/sensors/sensorlive/plugins/data/DataSensorPlugin.h>
25
34
#ifdef __cplusplus
35
extern
"C"
{
36
#endif
37
39
typedef
struct
40
{
41
dwSensorCommonPluginFunctions
common
;
42
dwSensorDataPlugin_sendPacket
sendPacket
;
43
}
dwSensorDataPluginFunctionTable
;
44
58
dwStatus
dwSensorDataPlugin_getFunctionTable
(
dwSensorDataPluginFunctionTable
* functions);
59
62
#ifdef __cplusplus
63
}
64
#endif
65
66
#endif
dwSensorDataPlugin_sendPacket
dwStatus(* dwSensorDataPlugin_sendPacket)(dwDataPacket *packet, dwSensorPluginSensorHandle_t sensor)
Send a packet via data sensor plugin.
Definition:
DataSensorPlugin.h:43
dwSensorDataPluginFunctionTable::sendPacket
dwSensorDataPlugin_sendPacket sendPacket
Definition:
DataPlugin.h:42
dwSensorDataPluginFunctionTable
Function Table exposing data plugin functions.
Definition:
DataPlugin.h:39
dwSensorCommonPluginFunctions
Function Table exposing common plugin functions.
Definition:
SensorCommonPlugin.h:244
dwSensorDataPluginFunctionTable::common
dwSensorCommonPluginFunctions common
Definition:
DataPlugin.h:41
dwStatus
dwStatus
Status definition.
Definition:
ErrorDefs.h:27
dwSensorDataPlugin_getFunctionTable
dwStatus dwSensorDataPlugin_getFunctionTable(dwSensorDataPluginFunctionTable *functions)
Gets the handle to functions defined in 'dwSensorDataPluginFunctionTable' structure.
Privacy Policy
|
Manage My Privacy
|
Do Not Sell or Share My Data
|
Terms of Service
|
Accessibility
|
Corporate Policies
|
Product Security
|
Contact
© 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
Subject to Change | For test and development only.
Thu May 8 2025 00:05:06 | PR-10721-6.0