Definition at line 196 of file SimpleNodeT.hpp.
Public Types | |
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) |
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 |
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 | setupImpl () |
The default implementation calls SimpleNode::setup. More... | |
SimpleProcessNodeT () | |
Default constructor registering the setup and teardown passes. More... | |
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 [] = "SimpleProcessNode" |
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 |
using dw::framework::SimpleProcessNodeT< T >::NodeT = T |
Definition at line 199 of file SimpleNodeT.hpp.
|
inline |
Default constructor registering the setup and teardown passes.
Definition at line 202 of file SimpleNodeT.hpp.
References NODE_REGISTER_PASS.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
inlineoverridevirtual |
Reimplemented from dw::framework::SimpleProcessNode.
Definition at line 215 of file SimpleNodeT.hpp.
|
inlineoverridevirtual |
Reimplemented from dw::framework::SimpleProcessNode.
Definition at line 222 of file SimpleNodeT.hpp.
|
overridevirtualinherited |
Implements dw::framework::Node.
|
inlineinherited |
Definition at line 900 of file SimpleNode.hpp.
|
inlineinherited |
Definition at line 906 of file SimpleNode.hpp.
|
inlineinherited |
Definition at line 938 of file SimpleNode.hpp.
|
overridevirtualinherited |
Implements dw::framework::Node.
|
inlineinherited |
Definition at line 912 of file SimpleNode.hpp.
|
inlineinherited |
Definition at line 918 of file SimpleNode.hpp.
|
overridevirtualnoexceptinherited |
Implements dw::framework::Node.
|
overridevirtualinherited |
Implements dw::framework::Node.
|
overridevirtualinherited |
Implements dw::framework::Node.
|
inlineinherited |
Definition at line 923 of file SimpleNode.hpp.
|
inlineinherited |
Definition at line 928 of file SimpleNode.hpp.
|
inlineinherited |
Definition at line 882 of file SimpleNode.hpp.
|
inlineinherited |
Definition at line 876 of file SimpleNode.hpp.
|
inlineinherited |
Definition at line 894 of file SimpleNode.hpp.
|
inlineinherited |
Definition at line 888 of file SimpleNode.hpp.
|
inlineprotectedinherited |
Definition at line 845 of file SimpleNode.hpp.
|
inlineinherited |
Definition at line 870 of file SimpleNode.hpp.
|
inlineprotectedinherited |
Definition at line 852 of file SimpleNode.hpp.
|
inlineoverridevirtual |
The default implementation calls SimpleNode::resetPorts.
Reimplemented from dw::framework::SimpleProcessNode.
Definition at line 240 of file SimpleNodeT.hpp.
|
inlineprotectedinherited |
Definition at line 831 of file SimpleNode.hpp.
|
overridevirtualinherited |
Implements dw::framework::Node.
|
overridevirtualinherited |
Implements dw::framework::Node.
|
overridevirtualinherited |
Implements dw::framework::Node.
|
overridevirtualinherited |
Implements dw::framework::Node.
|
overridevirtualinherited |
Implements dw::framework::Node.
|
inlineoverridevirtualinherited |
Implements dw::framework::Node.
Definition at line 933 of file SimpleNode.hpp.
|
inlineprotectedinherited |
Definition at line 837 of file SimpleNode.hpp.
|
overridevirtualinherited |
Implements dw::framework::Node.
|
protectedinherited |
|
overridevirtualinherited |
Implements dw::framework::Node.
|
inlineprotectedinherited |
Definition at line 821 of file SimpleNode.hpp.
|
inlinevirtual |
The default implementation calls SimpleNode::setup.
Definition at line 228 of file SimpleNodeT.hpp.
|
inlineprotectedinherited |
Definition at line 826 of file SimpleNode.hpp.
|
inlinevirtual |
The default implementation calls SimpleNode::teardown.
Definition at line 234 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::SimpleProcessNode.
Definition at line 247 of file SimpleNodeT.hpp.
References dw::framework::PortCollectionDescriptor::getPortSize(), and dw::framework::SimpleProcessNode::validate().
|
inlineinherited |
Definition at line 805 of file SimpleNode.hpp.
|
staticinherited |
Definition at line 771 of file SimpleNode.hpp.
|
protectedinherited |
Definition at line 863 of file SimpleNode.hpp.
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |