Compute Graph Framework SDK Reference  5.8
PortCollectionDescriptor.hpp File Reference

Go to the source code of this file.

Classes

class  dw::framework::PortCollectionDescriptor
 
class  dw::framework::PortDescriptor
 

Namespaces

namespace  dw
 
namespace  dw::framework
 

Macros

#define NODE_GET_INPUT_PORT_INDEX_EXTERNAL(NodeT, identifier)   dw::framework::portIndex<NodeT, dw::framework::PortDirection::INPUT>(identifier)
 External, get the index of an input port from the string identifier. More...
 
#define NODE_GET_OUTPUT_PORT_INDEX_EXTERNAL(NodeT, identifier)   dw::framework::portIndex<NodeT, dw::framework::PortDirection::OUTPUT>(identifier)
 External, get the index of an output port from the string identifier. More...
 

Functions

template<typename NodeT , PortDirection Direction, typename std::enable_if_t< Direction==PortDirection::INPUT, void > * = nullptr>
static PortCollectionDescriptor dw::framework::createPortCollectionDescriptor ()
 

Variables

static constexpr size_t dw::framework::MAX_PORT_DESCRIPTOR_PER_COLLECTION {256U}
 

Macro Definition Documentation

◆ NODE_GET_INPUT_PORT_INDEX_EXTERNAL

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

External, get the index of an input port from the string identifier.

Definition at line 46 of file PortCollectionDescriptor.hpp.

◆ NODE_GET_OUTPUT_PORT_INDEX_EXTERNAL

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

External, get the index of an output port from the string identifier.

Definition at line 48 of file PortCollectionDescriptor.hpp.