Compute Graph Framework SDK Reference
5.8
dwSensorNode.hpp
Go to the documentation of this file.
1
2
//
3
// Notice
4
// ALL NVIDIA DESIGN SPECIFICATIONS AND CODE ("MATERIALS") ARE PROVIDED "AS IS" NVIDIA MAKES
5
// NO REPRESENTATIONS, WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
6
// THE MATERIALS, AND EXPRESSLY DISCLAIMS ANY IMPLIED WARRANTIES OF NONINFRINGEMENT,
7
// MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
8
//
9
// NVIDIA CORPORATION & AFFILIATES assumes no responsibility for the consequences of use of such
10
// information or for any infringement of patents or other rights of third parties that may
11
// result from its use. No license is granted by implication or otherwise under any patent
12
// or patent rights of NVIDIA CORPORATION & AFFILIATES. No third party distribution is allowed unless
13
// expressly authorized by NVIDIA. Details are subject to change without notice.
14
// This code supersedes and replaces all information previously supplied.
15
// NVIDIA CORPORATION & AFFILIATES products are not authorized for use as critical
16
// components in life support devices or systems without express written approval of
17
// NVIDIA CORPORATION & AFFILIATES.
18
//
19
// SPDX-FileCopyrightText: Copyright (c) 2019-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
20
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
21
//
22
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
23
// property and proprietary rights in and to this material, related
24
// documentation and any modifications thereto. Any use, reproduction,
25
// disclosure or distribution of this material and related documentation
26
// without an express license agreement from NVIDIA CORPORATION or
27
// its affiliates is strictly prohibited.
28
//
30
31
#ifndef DW_FRAMEWORK_SENSOR_NODE_HPP_
32
#define DW_FRAMEWORK_SENSOR_NODE_HPP_
33
34
#include <
dwcgf/node/Node.hpp
>
35
#include <
dwcgf/port/Port.hpp
>
36
#include <
dwcgf/pass/Pass.hpp
>
37
38
#include <dw/sensors/Sensors.h>
39
#include <
dwframework/dwnodes/common/SensorCommonTypes.hpp
>
40
/* Need to include the appropriate ChannelPacketTypes.hpp since port initialization requires
41
the parameter_trait overrides. Otherwise, it will be considered as a packet of generic type. */
42
#include <
dwframework/dwnodes/common/ChannelPacketTypes.hpp
>
43
44
namespace
dw
45
{
46
namespace
framework
47
{
48
49
class
dwSensorNode
50
{
51
public
:
52
static
std::unique_ptr<Node>
create
(
const
dwSensorParams& params,
53
const
dwSALHandle_t sal,
54
const
dwContextHandle_t ctx);
55
static
std::unique_ptr<Node>
create
(
const
char
* sensorName,
56
dwConstRigHandle_t
rigHandle
,
57
const
dwSALHandle_t sal,
58
const
dwContextHandle_t ctx);
59
};
60
}
61
}
62
#endif
// DW_FRAMEWORK_SENSOR_NODE_HPP_
Node.hpp
Pass.hpp
Port.hpp
SensorCommonTypes.hpp
dw::framework::dwSensorNode
Definition:
dwSensorNode.hpp:50
dw::framework::dwSensorNode::create
static std::unique_ptr< Node > create(const char *sensorName, dwConstRigHandle_t rigHandle, const dwSALHandle_t sal, const dwContextHandle_t ctx)
dw::framework::dwSensorNode::create
static std::unique_ptr< Node > create(const dwSensorParams ¶ms, const dwSALHandle_t sal, const dwContextHandle_t ctx)
ChannelPacketTypes.hpp
dw::framework::rigHandle
dwRigHandle_t rigHandle
Definition:
dwRigNode.hpp:63
dw
Definition:
Exception.hpp:47
src
dwframework
dwnodes
sensors
common
dwSensorNode.hpp
Generated by
1.9.4