Compute Graph Framework SDK Reference  5.10
SimpleNodeT.hpp File Reference

Go to the source code of this file.

Classes

class  dw::framework::SimpleNodeT< T >
 
class  dw::framework::SimpleProcessNodeT< T >
 
class  dw::framework::SimpleSensorNodeT< T >
 

Namespaces

namespace  dw
 
namespace  dw::framework
 

Macros

#define NODE_GET_INPUT_ARRAY_PORT(identifier, index)   this->template getInputPort<NodeT, NODE_GET_INPUT_PORT_INDEX(identifier)>(index)
 Get one specific input port of a previously initialized array input port. More...
 
#define NODE_GET_INPUT_PORT(identifier)   this->template getInputPort<NodeT, NODE_GET_INPUT_PORT_INDEX(identifier)>()
 Get a previously initialized non-array input port. More...
 
#define NODE_GET_INPUT_PORT_INDEX(identifier)   dw::framework::portIndex<NodeT, dw::framework::PortDirection::INPUT>(identifier)
 Get the index of an input port from the string identifier. More...
 
#define NODE_GET_OUTPUT_ARRAY_PORT(identifier, index)   this->template getOutputPort<NodeT, NODE_GET_OUTPUT_PORT_INDEX(identifier)>(index)
 Get one specific output port of a previously initialized array output port. More...
 
#define NODE_GET_OUTPUT_PORT(identifier)   this->template getOutputPort<NodeT, NODE_GET_OUTPUT_PORT_INDEX(identifier)>()
 Get a previously initialized non-array output port. More...
 
#define NODE_GET_OUTPUT_PORT_INDEX(identifier)   dw::framework::portIndex<NodeT, dw::framework::PortDirection::OUTPUT>(identifier)
 Get the index of an output port from the string identifier. More...
 
#define NODE_INIT_INPUT_ARRAY_PORT(identifier, ...)    this->template initInputArrayPort<NodeT, dw::framework::portIndex<NodeT, dw::framework::PortDirection::INPUT>(identifier)>(__VA_ARGS__)
 Initialize an array input port with the node base class. More...
 
#define NODE_INIT_INPUT_PORT(identifier, ...)    this->template initInputPort<NodeT, dw::framework::portIndex<NodeT, dw::framework::PortDirection::INPUT>(identifier)>(__VA_ARGS__)
 Initialize a non-array input port with the node base class. More...
 
#define NODE_INIT_OUTPUT_ARRAY_PORT(identifier, ...)    this->template initOutputArrayPort<NodeT, dw::framework::portIndex<NodeT, dw::framework::PortDirection::OUTPUT>(identifier)>(__VA_ARGS__)
 Initialize an array output port with the node base class. More...
 
#define NODE_INIT_OUTPUT_PORT(identifier, ...)    this->template initOutputPort<NodeT, dw::framework::portIndex<NodeT, dw::framework::PortDirection::OUTPUT>(identifier)>(__VA_ARGS__)
 Initialize a non-array output port with the node base class. More...
 
#define NODE_REGISTER_PASS(identifier, ...)   this->template registerPass<NodeT, dw::framework::passIndex<NodeT>(identifier)>(__VA_ARGS__)
 Register a pass function with the node base class. More...
 

Macro Definition Documentation

◆ NODE_GET_INPUT_ARRAY_PORT

#define NODE_GET_INPUT_ARRAY_PORT (   identifier,
  index 
)    this->template getInputPort<NodeT, NODE_GET_INPUT_PORT_INDEX(identifier)>(index)

Get one specific input port of a previously initialized array input port.

See also
dw::framework::SimpleNode::getInputPort(size_t)

Definition at line 89 of file SimpleNodeT.hpp.

◆ NODE_GET_INPUT_PORT

#define NODE_GET_INPUT_PORT (   identifier)    this->template getInputPort<NodeT, NODE_GET_INPUT_PORT_INDEX(identifier)>()

Get a previously initialized non-array input port.

See also
dw::framework::SimpleNode::getInputPort()

Definition at line 84 of file SimpleNodeT.hpp.

◆ NODE_GET_INPUT_PORT_INDEX

#define NODE_GET_INPUT_PORT_INDEX (   identifier)    dw::framework::portIndex<NodeT, dw::framework::PortDirection::INPUT>(identifier)

Get the index of an input port from the string identifier.

Definition at line 40 of file SimpleNodeT.hpp.

◆ NODE_GET_OUTPUT_ARRAY_PORT

#define NODE_GET_OUTPUT_ARRAY_PORT (   identifier,
  index 
)    this->template getOutputPort<NodeT, NODE_GET_OUTPUT_PORT_INDEX(identifier)>(index)

Get one specific output port of a previously initialized array output port.

See also
dw::framework::SimpleNode::getOutputPort(size_t)

Definition at line 99 of file SimpleNodeT.hpp.

◆ NODE_GET_OUTPUT_PORT

#define NODE_GET_OUTPUT_PORT (   identifier)    this->template getOutputPort<NodeT, NODE_GET_OUTPUT_PORT_INDEX(identifier)>()

Get a previously initialized non-array output port.

See also
dw::framework::SimpleNode::getOutputPort()

Definition at line 94 of file SimpleNodeT.hpp.

◆ NODE_GET_OUTPUT_PORT_INDEX

#define NODE_GET_OUTPUT_PORT_INDEX (   identifier)    dw::framework::portIndex<NodeT, dw::framework::PortDirection::OUTPUT>(identifier)

Get the index of an output port from the string identifier.

Definition at line 42 of file SimpleNodeT.hpp.

◆ NODE_INIT_INPUT_ARRAY_PORT

#define NODE_INIT_INPUT_ARRAY_PORT (   identifier,
  ... 
)     this->template initInputArrayPort<NodeT, dw::framework::portIndex<NodeT, dw::framework::PortDirection::INPUT>(identifier)>(__VA_ARGS__)

Initialize an array input port with the node base class.

The macro should be called for each input port in the constructor of a concrete node.

See also
dw::framework::SimpleNode::initInputArrayPort

Definition at line 63 of file SimpleNodeT.hpp.

◆ NODE_INIT_INPUT_PORT

#define NODE_INIT_INPUT_PORT (   identifier,
  ... 
)     this->template initInputPort<NodeT, dw::framework::portIndex<NodeT, dw::framework::PortDirection::INPUT>(identifier)>(__VA_ARGS__)

Initialize a non-array input port with the node base class.

The macro should be called for each input port in the constructor of a concrete node.

See also
dw::framework::SimpleNode::initInputPort

Definition at line 56 of file SimpleNodeT.hpp.

◆ NODE_INIT_OUTPUT_ARRAY_PORT

#define NODE_INIT_OUTPUT_ARRAY_PORT (   identifier,
  ... 
)     this->template initOutputArrayPort<NodeT, dw::framework::portIndex<NodeT, dw::framework::PortDirection::OUTPUT>(identifier)>(__VA_ARGS__)

Initialize an array output port with the node base class.

The macro should be called for each output port in the constructor of a concrete node.

See also
dw::framework::SimpleNode::initOutputArrayPort

Definition at line 77 of file SimpleNodeT.hpp.

◆ NODE_INIT_OUTPUT_PORT

#define NODE_INIT_OUTPUT_PORT (   identifier,
  ... 
)     this->template initOutputPort<NodeT, dw::framework::portIndex<NodeT, dw::framework::PortDirection::OUTPUT>(identifier)>(__VA_ARGS__)

Initialize a non-array output port with the node base class.

The macro should be called for each output port in the constructor of a concrete node.

See also
dw::framework::SimpleNode::initOutputPort

Definition at line 70 of file SimpleNodeT.hpp.

◆ NODE_REGISTER_PASS

#define NODE_REGISTER_PASS (   identifier,
  ... 
)    this->template registerPass<NodeT, dw::framework::passIndex<NodeT>(identifier)>(__VA_ARGS__)

Register a pass function with the node base class.

The macro should be called for each pass in the constructor of a concrete node.

See also
dw::framework::SimpleNode::registerPass

Definition at line 49 of file SimpleNodeT.hpp.