Public Types | |
using | Name_t = FixedString< MAX_NAME_LEN > |
Public Member Functions | |
virtual dwStatus | getHealthSignals (dwGraphHealthSignalArray *&healthSignals)=0 |
Get the pointer to the health signal array for this node. More... | |
virtual dwStatus | getName (const char **name)=0 |
Get the name of the node. More... | |
virtual size_t | getPassCount () const noexcept=0 |
Get number of passes in the node. More... | |
virtual dwStatus | getPasses (VectorFixed< Pass *> &passList)=0 |
Get all the passes in the node. More... | |
virtual dwStatus | getPasses (VectorFixed< Pass *> &passList, dwProcessorType processorType, dwProcessType processType)=0 |
Get node passes filtered by processor type and process type. More... | |
virtual dwStatus | reset ()=0 |
Resets the state of the node. More... | |
virtual dwStatus | run ()=0 |
Runs all the passes in the node. More... | |
virtual dwStatus | runPass (size_t passIndex)=0 |
Run one pass by index as defined by the pass descriptors. More... | |
virtual dwStatus | runPassByID (uint8_t passID)=0 |
Run one pass by ID as defined by the PassList enum class. More... | |
virtual dwStatus | setInputChannel (ChannelObject *channel, uint8_t portID)=0 |
Sets an input channel for this node with an accompanying port. More... | |
virtual dwStatus | setInputChannel (ChannelObject *channel, uint8_t portID, dwSerializationType dataType)=0 |
Sets an input channel for this node with an accompanying port. More... | |
virtual dwStatus | setIterationCount (uint32_t iterationCount)=0 |
Sets the node's iteration count. More... | |
virtual dwStatus | setName (const char *name)=0 |
Set the name of the node. More... | |
virtual dwStatus | setOutputChannel (ChannelObject *channel, uint8_t portID)=0 |
Sets an output channel for this node with an accompanying port. More... | |
virtual dwStatus | validate ()=0 |
Checks that all mandatory ports are bound. More... | |
~ProcessNode () override=default | |
Static Public Attributes | |
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() |
|
inherited |
|
overridedefault |
|
pure virtualinherited |
Get the pointer to the health signal array for this node.
healthSignals | The health signal array. |
Implemented in dw::framework::SimpleProcessNode, dw::framework::SimpleSensorNode, dw::framework::ExceptionSafeSensorNode, dw::framework::ExceptionSafeProcessNode, and dw::framework::SimpleNode.
|
pure virtualinherited |
Get the name of the node.
name | The output name. |
Implemented in dw::framework::SimpleProcessNode, dw::framework::SimpleSensorNode, dw::framework::ExceptionSafeSensorNode, dw::framework::ExceptionSafeProcessNode, and dw::framework::SimpleNode.
|
pure virtualnoexceptinherited |
Get number of passes in the node.
Implemented in dw::framework::SimpleProcessNode, dw::framework::SimpleSensorNode, dw::framework::ExceptionSafeSensorNode, dw::framework::SimpleNode, and dw::framework::ExceptionSafeProcessNode.
|
pure virtualinherited |
Get all the passes in the node.
passList | The output list to populate. |
Implemented in dw::framework::SimpleProcessNode, dw::framework::SimpleSensorNode, dw::framework::ExceptionSafeSensorNode, dw::framework::SimpleNode, and dw::framework::ExceptionSafeProcessNode.
|
pure virtualinherited |
Get node passes filtered by processor type and process type.
passList | The output list to populate. |
processorType | Filter by this processor type. |
processType | Filter by this process type. |
Implemented in dw::framework::SimpleProcessNode, dw::framework::SimpleSensorNode, dw::framework::ExceptionSafeSensorNode, dw::framework::SimpleNode, and dw::framework::ExceptionSafeProcessNode.
|
pure virtualinherited |
Resets the state of the node.
Implemented in dw::framework::SimpleProcessNode, dw::framework::SimpleSensorNode, dw::framework::SimpleProcessNodeT< T >, dw::framework::ExceptionSafeSensorNode, dw::framework::SimpleSensorNodeT< T >, dw::framework::SimpleNode, and dw::framework::ExceptionSafeProcessNode.
|
pure virtualinherited |
Runs all the passes in the node.
Implemented in dw::framework::SimpleProcessNode, dw::framework::SimpleSensorNode, dw::framework::ExceptionSafeSensorNode, dw::framework::SimpleNode, and dw::framework::ExceptionSafeProcessNode.
|
pure virtualinherited |
Run one pass by index as defined by the pass descriptors.
passIndex | The index of the pass to run. |
Implemented in dw::framework::SimpleProcessNode, dw::framework::SimpleSensorNode, dw::framework::ExceptionSafeSensorNode, dw::framework::SimpleNode, and dw::framework::ExceptionSafeProcessNode.
|
pure virtualinherited |
Run one pass by ID as defined by the PassList enum class.
passID | The ID of the pass to run. |
Implemented in dw::framework::SimpleProcessNode, dw::framework::SimpleSensorNode, dw::framework::ExceptionSafeSensorNode, dw::framework::SimpleNode, and dw::framework::ExceptionSafeProcessNode.
|
pure virtualinherited |
Sets an input channel for this node with an accompanying port.
channel | The channel to bind to the portID. |
portID | The port to bind the channel with. |
Implemented in dw::framework::SimpleProcessNode, dw::framework::SimpleSensorNode, dw::framework::ExceptionSafeSensorNode, dw::framework::SimpleNode, and dw::framework::ExceptionSafeProcessNode.
|
pure virtualinherited |
Sets an input channel for this node with an accompanying port.
channel | The channel to bind to the portID. |
portID | The port to bind the channel with. |
dataType | The type of data received by this node from the channel |
Implemented in dw::framework::SimpleProcessNode, dw::framework::SimpleSensorNode, dw::framework::ExceptionSafeSensorNode, dw::framework::SimpleNode, and dw::framework::ExceptionSafeProcessNode.
|
pure virtualinherited |
Sets the node's iteration count.
iterationCount | The current iteration count |
Implemented in dw::framework::SimpleProcessNode, dw::framework::SimpleSensorNode, dw::framework::SimpleNode, dw::framework::ExceptionSafeSensorNode, and dw::framework::ExceptionSafeProcessNode.
|
pure virtualinherited |
Set the name of the node.
name | The name of the node. |
Implemented in dw::framework::SimpleProcessNode, dw::framework::SimpleSensorNode, dw::framework::ExceptionSafeSensorNode, dw::framework::SimpleNode, and dw::framework::ExceptionSafeProcessNode.
|
pure virtualinherited |
Sets an output channel for this node with an accompanying port.
channel | The channel to bind to the portID. |
portID | The port to bind the channel with. |
Implemented in dw::framework::SimpleProcessNode, dw::framework::SimpleSensorNode, dw::framework::ExceptionSafeSensorNode, dw::framework::SimpleNode, and dw::framework::ExceptionSafeProcessNode.
|
pure virtualinherited |
Checks that all mandatory ports are bound.
The implementation should validate that all the ports are bound to the appropriate channels (any required ports, that is). For example, a camera node may have processed output and raw output ports, but only one is required to be bound.
Implemented in dw::framework::SimpleProcessNode, dw::framework::SimpleSensorNode, dw::framework::SimpleProcessNodeT< T >, dw::framework::ExceptionSafeSensorNode, dw::framework::SimpleSensorNodeT< T >, dw::framework::SimpleNode, and dw::framework::ExceptionSafeProcessNode.
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |