Definition at line 114 of file SimpleNodeT.hpp.
Public Types | |
| using | DataEventReadCallback = dw::core::Function< bool(DataEvent &)> |
| enum | DataEventType { DataEventType::PRODUCE, DataEventType::DROP, DataEventType::NONE } |
| using | DataEventWriteCallback = dw::core::Function< void(DataEvent)> |
| using | Name_t = FixedString< MAX_NAME_LEN > |
| using | NodeT = T |
Public Member Functions | |
| std::unique_ptr< Pass > | createSetupPass () override |
| std::unique_ptr< Pass > | createTeardownPass () override |
| dwStatus | getHealthSignals (dwGraphHealthSignalArray *&healthSignals) override |
| template<typename NodeT , size_t PortIndex> | |
| auto & | getInputPort () |
| template<typename NodeT , size_t PortIndex> | |
| auto & | getInputPort (size_t arrayIndex) |
| uint32_t | getIterationCount () const |
| dwStatus | getName (const char **name) override |
| template<typename NodeT , size_t PortIndex> | |
| auto & | getOutputPort () |
| template<typename NodeT , size_t PortIndex> | |
| auto & | getOutputPort (size_t arrayIndex) |
| size_t | getPassCount () const noexcept override |
| dwStatus | getPasses (VectorFixed< Pass *> &passList) override |
| dwStatus | getPasses (VectorFixed< Pass *> &passList, dwProcessorType processorType, dwProcessType processType) override |
| const dw::core::HeapHashMap< size_t, std::shared_ptr< PortBase > > & | getRegisteredInputPorts () const |
| const dw::core::HeapHashMap< size_t, std::shared_ptr< PortBase > > & | getRegisteredOutputPorts () const |
| template<typename NodeT , size_t PortIndex, typename... Args> | |
| void | initInputArrayPort (Args &&... args) |
| template<typename NodeT , size_t PortIndex, typename... Args> | |
| void | initInputPort (Args &&... args) |
| template<typename NodeT , size_t PortIndex, typename... Args> | |
| void | initOutputArrayPort (Args &&... args) |
| template<typename NodeT , size_t PortIndex, typename... Args> | |
| void | initOutputPort (Args &&... args) |
| dwStatus | isVirtual (bool *) override |
| template<typename TPort , typename... Args> | |
| auto | make_port (Args &&... args) |
| dwStatus | reset () override |
| The default implementation calls SimpleNode::resetPorts. More... | |
| dwStatus | run () override |
| dwStatus | runPass (size_t passIndex) override |
| dwStatus | runPassByID (uint8_t passID) override |
| virtual dwStatus | setAffinityMask (uint)=0 |
| Sets the affinity mask of the sensor. More... | |
| dwStatus | setDataEventReadCallback (DataEventReadCallback) override |
| dwStatus | setDataEventWriteCallback (DataEventWriteCallback) override |
| virtual dwStatus | setEndTime (dwTime_t)=0 |
| Set end timestamp for dataset replay. More... | |
| dwStatus | setInputChannel (ChannelObject *channel, uint8_t portID) override |
| dwStatus | setInputChannel (ChannelObject *channel, uint8_t portID, dwSerializationType serialType) override |
| dwStatus | setIterationCount (uint32_t iterationCount) override |
| dwStatus | setName (const char *name) override |
| dwStatus | setOutputChannel (ChannelObject *channel, uint8_t portID) override |
| virtual dwStatus | setStartTime (dwTime_t)=0 |
| Set start timestamp for dataset replay. More... | |
| virtual dwStatus | setThreadPriority (int)=0 |
| Sets the thread priority of the sensor. More... | |
| virtual dwStatus | setupImpl () |
| The default implementation calls SimpleNode::setup. More... | |
| SimpleSensorNodeT () | |
| Default constructor registering the setup and teardown passes. More... | |
| SimpleSensorNodeT (NodeAllocationParams params) | |
| dwStatus | start () override |
| dwStatus | stop () override |
| virtual dwStatus | teardownImpl () |
| The default implementation calls SimpleNode::teardown. More... | |
| dwStatus | validate () override |
| Validate that all registered ports which have the flag binding-required are bound to a channel. More... | |
| dwStatus | validate (const char *direction, const PortCollectionDescriptor &collection, const dw::core::HeapHashMap< size_t, std::shared_ptr< PortBase >> &ports, size_t indexOffset=0) |
Static Public Attributes | |
| static constexpr char | LOG_TAG [] = "SimpleSensorNode" |
| static constexpr size_t | MAX_NAME_LEN = 128 |
| static constexpr uint32_t | MAX_PASS_COUNT = 256 |
| static constexpr uint32_t | MAX_PORT_COUNT = 256 |
| static constexpr uint8_t | PASS_SETUP = std::numeric_limits<uint8_t>::max() - 1 |
| static constexpr uint8_t | PASS_TEARDOWN = std::numeric_limits<uint8_t>::max() |
Protected Member Functions | |
| dwStatus | addHealthSignal (const dwGraphHealthSignal &signal) |
| void | addPass (Pass *pass) |
| dwStatus | clearHealthSignals () |
| template<typename PassFunctionT , typename... Args> | |
| std::unique_ptr< PassImpl< PassFunctionT > > | make_pass (PassFunctionT func, Args &&... args) |
| template<typename NodeT , size_t PassIndex, typename PassFunctionT > | |
| void | registerPass (PassFunctionT func, NvMediaDla *dlaEngine=nullptr) |
| void | resetPorts () |
| template<typename ModuleHandle_t > | |
| dwStatus | setModuleHandle (ModuleHandle_t handle, dwContextHandle_t context) |
| dwStatus | setObjectHandle (dwModuleHandle_t handle) |
| dwStatus | setup () |
| dwStatus | teardown () |
Protected Attributes | |
| std::atomic< bool > | m_asyncResetFlag |
|
inherited |
|
inherited |
|
inherited |
| using dw::framework::SimpleSensorNodeT< T >::NodeT = T |
Definition at line 117 of file SimpleNodeT.hpp.
|
stronginherited |
|
inline |
Default constructor registering the setup and teardown passes.
Definition at line 120 of file SimpleNodeT.hpp.
|
inline |
Definition at line 126 of file SimpleNodeT.hpp.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
inlineoverridevirtual |
Reimplemented from dw::framework::SimpleSensorNode.
Definition at line 134 of file SimpleNodeT.hpp.
|
inlineoverridevirtual |
Reimplemented from dw::framework::SimpleSensorNode.
Definition at line 141 of file SimpleNodeT.hpp.
|
overridevirtualinherited |
Implements dw::framework::Node.
|
inlineinherited |
Definition at line 724 of file SimpleNode.hpp.
|
inlineinherited |
Definition at line 730 of file SimpleNode.hpp.
|
inlineinherited |
Definition at line 762 of file SimpleNode.hpp.
|
overridevirtualinherited |
Implements dw::framework::Node.
|
inlineinherited |
Definition at line 736 of file SimpleNode.hpp.
|
inlineinherited |
Definition at line 742 of file SimpleNode.hpp.
|
overridevirtualnoexceptinherited |
Implements dw::framework::Node.
|
overridevirtualinherited |
Implements dw::framework::Node.
|
overridevirtualinherited |
Implements dw::framework::Node.
|
inlineinherited |
Definition at line 747 of file SimpleNode.hpp.
|
inlineinherited |
Definition at line 752 of file SimpleNode.hpp.
|
inlineinherited |
Definition at line 706 of file SimpleNode.hpp.
|
inlineinherited |
Definition at line 700 of file SimpleNode.hpp.
|
inlineinherited |
Definition at line 718 of file SimpleNode.hpp.
|
inlineinherited |
Definition at line 712 of file SimpleNode.hpp.
|
inlineoverridevirtualinherited |
Implements dw::framework::SensorNode.
Definition at line 603 of file SimpleNode.hpp.
|
inlineprotectedinherited |
Definition at line 669 of file SimpleNode.hpp.
|
inlineinherited |
Definition at line 694 of file SimpleNode.hpp.
|
inlineprotectedinherited |
Definition at line 676 of file SimpleNode.hpp.
|
inlineoverridevirtual |
The default implementation calls SimpleNode::resetPorts.
Reimplemented from dw::framework::SimpleSensorNode.
Definition at line 159 of file SimpleNodeT.hpp.
|
inlineprotectedinherited |
Definition at line 655 of file SimpleNode.hpp.
|
overridevirtualinherited |
Implements dw::framework::Node.
|
overridevirtualinherited |
Implements dw::framework::Node.
|
overridevirtualinherited |
Implements dw::framework::Node.
|
pure virtualinherited |
Sets the affinity mask of the sensor.
Implemented in dw::framework::ExceptionSafeSensorNode.
|
inlineoverridevirtualinherited |
Implements dw::framework::SensorNode.
Definition at line 608 of file SimpleNode.hpp.
|
inlineoverridevirtualinherited |
Implements dw::framework::SensorNode.
Definition at line 613 of file SimpleNode.hpp.
|
pure virtualinherited |
Set end timestamp for dataset replay.
Implemented in dw::framework::ExceptionSafeSensorNode.
|
overridevirtualinherited |
Implements dw::framework::Node.
|
overridevirtualinherited |
Implements dw::framework::Node.
|
inlineoverridevirtualinherited |
Implements dw::framework::Node.
Definition at line 757 of file SimpleNode.hpp.
|
inlineprotectedinherited |
Definition at line 661 of file SimpleNode.hpp.
|
overridevirtualinherited |
Implements dw::framework::Node.
|
protectedinherited |
|
overridevirtualinherited |
Implements dw::framework::Node.
|
pure virtualinherited |
Set start timestamp for dataset replay.
Implemented in dw::framework::ExceptionSafeSensorNode.
|
pure virtualinherited |
Sets the thread priority of the sensor.
Implemented in dw::framework::ExceptionSafeSensorNode.
|
inlineprotectedinherited |
Definition at line 645 of file SimpleNode.hpp.
|
inlinevirtual |
The default implementation calls SimpleNode::setup.
Definition at line 147 of file SimpleNodeT.hpp.
|
inlineoverridevirtualinherited |
Implements dw::framework::SensorNode.
Definition at line 588 of file SimpleNode.hpp.
|
inlineoverridevirtualinherited |
Implements dw::framework::SensorNode.
Definition at line 593 of file SimpleNode.hpp.
|
inlineprotectedinherited |
Definition at line 650 of file SimpleNode.hpp.
|
inlinevirtual |
The default implementation calls SimpleNode::teardown.
Definition at line 153 of file SimpleNodeT.hpp.
|
inlineoverridevirtual |
Validate that all registered ports which have the flag binding-required are bound to a channel.
Reimplemented from dw::framework::SimpleSensorNode.
Definition at line 166 of file SimpleNodeT.hpp.
References dw::framework::PortCollectionDescriptor::getPortSize(), NODE_REGISTER_PASS, and dw::framework::SimpleSensorNode::validate().
|
inlineinherited |
Definition at line 629 of file SimpleNode.hpp.
|
staticinherited |
Definition at line 570 of file SimpleNode.hpp.
|
protectedinherited |
Definition at line 687 of file SimpleNode.hpp.
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |