A PortCategory designates a category of Port in the Dataflow library. The library currently defines three PortCategorys:

  • boost::dataflow::ports::producer,
  • boost::dataflow::ports::consumer, and
  • boost::dataflow::ports::producer_consumer, and
Notation

The following expressions are used in this document:

PC

A PortCategory type.

Requirements

Name

Expression

Result Type

Description

Complementing PortCategory

PC::complement

PortCategory type

The complementing PortCategory of PC, meaning that it is possible to make connections between Ports of PortCategory PC and Ports of PortCategory PC::complement.

PortCategory Concept Check

is_port_category<T>::type

Boolean MPL Metafunction that evaulates to true

Concept check for the PortCategory concept.

Header

The types, templates, and functions shown here are declared in the following files:

#include <boost/dataflow/support/port.hpp> // or
#include <boost/dataflow/support.hpp>