A Mechanism type is used together with a Side type to select a default port for an operation. Typically, each operation (e.g., connect or extract) will have a specific Mechanism associated with it. Multiple operations can share the same Mechanism, which implies they will access the same default ports. See the Port and Component documentation for more information.

Notation

M

A Mechanism type.

Requirements

Name

Expression

Result Type

Semantics

default_mechanism Inheritance

is_base<default_mechanism, M>::type

Boolean MPL Metafunction that evaulates to true

To allow concept checking on Mechanism types, all Mechanism types must be derived from default_mechanism.

Mechanism Concept Check

is_mechanism<T>::type

Boolean MPL Metafunction that evaulates to true

Concept check for the Mechanism concept.