31#ifndef DWFRAMEWORK_DWNODES_SENSORS_DWVEHICLESTATENODE_DWVEHICLESTATECHANNELNEWNODE_HPP_
32#define DWFRAMEWORK_DWNODES_SENSORS_DWVEHICLESTATENODE_DWVEHICLESTATECHANNELNEWNODE_HPP_
34#include <dw/sensors/Sensors.h>
35#include <dw/sensors/canbus/CAN.h>
36#include <dw/sensors/data/Data.h>
75 static constexpr char LOG_TAG[] =
"dwVehicleStateChannelNewNode";
82 DW_DESCRIBE_PORT(dwVehicleIONonSafetyState,
"VEHICLE_IO_NON_SAFETY_STATE"_sv),
83 DW_DESCRIBE_PORT(dwVehicleIOActuationFeedback,
"VEHICLE_IO_ACTUATION_FEEDBACK"_sv));
92 DW_DESCRIBE_PORT(dwVehicleIONonSafetyState,
"VEHICLE_IO_NON_SAFETY_STATE"_sv),
93 DW_DESCRIBE_PORT(dwVehicleIOActuationFeedback,
"VEHICLE_IO_ACTUATION_FEEDBACK"_sv));
100 describePass(
"PROCESSED_OUTPUT"_sv, DW_PROCESSOR_TYPE_CPU),
108 return describeConstructorArguments<VehicleStateNodeNewParams, const char*, dwRigHandle_t, dwSALHandle_t, dwContextHandle_t>(
127 dwContextHandle_t)));
130 dwSALHandle_t sal, dwContextHandle_t ctx);
132 dwSALHandle_t sal, dwContextHandle_t ctx);
134 dwSALHandle_t sal, dwContextHandle_t ctx,
const FixedString<32>& frameSkipMask);
#define DW_DESCRIBE_UNNAMED_PARAMETER_WITH_SEMANTIC(TYPE_NAME, SEMANTIC_TYPE_NAME, args...)
#define DW_DESCRIBE_UNNAMED_PARAMETER(TYPE_NAME, args...)
#define DW_DESCRIBE_PARAMETER(TYPE_NAME, args...)
#define DW_DESCRIBE_PORT(TYPE_NAME, args...)
The interface to access parameter values identified by name and/or (semantic) type.
dwVehicleStateChannelNewNode(const char *sensorName, dwConstRigHandle_t rigHandle, dwSALHandle_t sal, dwContextHandle_t ctx, const FixedString< 32 > &frameSkipMask)
static constexpr auto describeOutputPorts()
static constexpr char LOG_TAG[]
static constexpr auto describePasses()
dwVehicleStateChannelNewNode(VehicleStateNodeNewParams const ¶ms, const char *sensorName, dwConstRigHandle_t rigHandle, dwSALHandle_t sal, dwContextHandle_t ctx)
static std::unique_ptr< dwVehicleStateChannelNewNode > create(ParameterProvider &provider)
dwVehicleStateChannelNewNode(const dwSensorParams ¶ms, dwSALHandle_t sal, dwContextHandle_t ctx)
static constexpr auto describeParameters()
static constexpr auto describeInputPorts()
dwConstRigHandle_t rigHandle
FixedString< 32 > frameSkipMask
constexpr auto describePortCollection(Args &&... args)
constexpr std::tuple< dw::core::StringView, dwProcessorType > describePass(dw::core::StringView const &&name, dwProcessorType processorType)
constexpr auto describeConstructorArgument(const Args &&... args)
constexpr auto describePassCollection(const Args &&... args)