![]() |
stromx
0.8.0
|
Identifier of a connector of an operator. More...
#include <Connector.h>
Public Types | |
| enum | Type { UNDEFINED, INPUT, OUTPUT } |
Public Member Functions | |
| Connector () | |
| const Operator * | op () const |
| unsigned int | id () const |
| bool | valid () const |
| Type | type () const |
Protected Member Functions | |
| Connector (const Type type, const Operator *const op, const unsigned int id) | |
Friends | |
| STROMX_RUNTIME_API bool | operator== (const Connector &lhs, const Connector &rhs) |
Identifier of a connector of an operator.
|
inline |
Constructs an invalid connector. Valid connectors can only be constructed using the derived classes InputConnector and OutputConnector.
|
inline |
Returns the ID of the connector.
|
inline |
Returns a pointer to the operator the connector belongs to.
|
inline |
Returns the type of the connector, i.e. whether this connector is an input or output connector.
|
inline |
Returns true if this connector is valid, i.e. it does point to a valid connector. If the connector is invalid its operator pointer is 0 and its type UNDEFINED.
1.8.12