Compute Graph Framework SDK Reference  5.16
SimpleNodeT.hpp File Reference

Go to the source code of this file.

Classes

class  dw::framework::SimpleNodeT< 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, arrayIndex, ...)    this->template initInputArrayPort<NodeT, dw::framework::portIndex<NodeT, dw::framework::PortDirection::INPUT>(identifier)>(arrayIndex, ##__VA_ARGS__)
 Initialize one port of an array input port with the node base class. More...
 
#define NODE_INIT_INPUT_ARRAY_PORTS(identifier, ...)    this->template initInputArrayPorts<NodeT, dw::framework::portIndex<NodeT, dw::framework::PortDirection::INPUT>(identifier)>(__VA_ARGS__)
 Initialize all ports of 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, arrayIndex, ...)    this->template initOutputArrayPort<NodeT, dw::framework::portIndex<NodeT, dw::framework::PortDirection::OUTPUT>(identifier)>(arrayIndex, ##__VA_ARGS__)
 Initialize one port of an array output port with the node base class. More...
 
#define NODE_INIT_OUTPUT_ARRAY_PORTS(identifier, ...)    this->template initOutputArrayPorts<NodeT, dw::framework::portIndex<NodeT, dw::framework::PortDirection::OUTPUT>(identifier)>(__VA_ARGS__)
 Initialize all ports of 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 107 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 102 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 117 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 112 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,
  arrayIndex,
  ... 
)     this->template initInputArrayPort<NodeT, dw::framework::portIndex<NodeT, dw::framework::PortDirection::INPUT>(identifier)>(arrayIndex, ##__VA_ARGS__)

Initialize one port of an array input port with the node base class.

The macro should be called instead of NODE_INIT_INPUT_ARRAY_PORTS, if ports of the array need to be initialized with different args.

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

Definition at line 72 of file SimpleNodeT.hpp.

◆ NODE_INIT_INPUT_ARRAY_PORTS

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

Initialize all ports of an array input port with the node base class.

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

See also
dw::framework::SimpleNode::initInputArrayPorts

If ports of the array need to be initialized with different args, use NODE_INIT_INPUT_ARRAY_PORT instead.

Definition at line 65 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,
  arrayIndex,
  ... 
)     this->template initOutputArrayPort<NodeT, dw::framework::portIndex<NodeT, dw::framework::PortDirection::OUTPUT>(identifier)>(arrayIndex, ##__VA_ARGS__)

Initialize one port of an array output port with the node base class.

The macro should be called instead of NODE_INIT_OUTPUT_ARRAY_PORTS, if ports of the array need to be initialized with different args.

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

Definition at line 95 of file SimpleNodeT.hpp.

◆ NODE_INIT_OUTPUT_ARRAY_PORTS

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

Initialize all ports of an array output port with the node base class.

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

See also
dw::framework::SimpleNode::initOutputArrayPorts

If ports of the array need to be initialized with different args, use NODE_INIT_OUTPUT_ARRAY_PORT instead.

Definition at line 88 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 79 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.