A Component
is the fundamental data processing element. It can have a number of
Ports,
and can also be Invocable.
The traits of a component are held in a ComponentTraits
type. There are multiple ways of registering the ComponentTraits
for a Component
(see examples below).
Notation
- C
-
A
Componenttype. - CT
-
The
ComponentTraitstype ofC. - c
-
An object of type C.
-
S -
A
Sidetype. -
M -
A
Mechanismtype.
Refines
Component Requirements
|
Name |
Expression |
Result Type |
Semantics |
|---|---|---|---|
|
Component Traits |
|
|
The |
|
IsComponent Trait |
|
Boolean metafunction that evaluates to true |
A trait encapsulating adherence to the Component concept. |
|
Has Default Port |
|
Boolean MPL Metafunction |
Specifies whether the component has a default port for the provided
|
|
Get Default Port |
|
A |
Returns the component's default port for the provided |
ComponentTraits Requirements
|
Name |
Expression |
Result Type |
Semantics |
|---|---|---|---|
|
Port Traits |
|
MPL Sequence of |
An enumeration of the |
Header
#include <boost/dataflow/support/component.hpp> // or #include <boost/dataflow/support.hpp>
Notes
Examples
... to come ...