SameModuleConnectionType enum
The type of connection to make between two ports on the same module.
When connecting two ports on the same BridgeModule, the connection can either be a loopback (external, pin-to-pin) or a passthrough (internal, net-to-net).
For most direction combinations, the connection type is unambiguous and
PortReference.gets can infer it automatically. However, when at least one
port is PortDirection.inOut and neither port is PortDirection.input, the
connection type must be explicitly specified via PortReference.gets or
connectPorts.
Values
- loopback → const SameModuleConnectionType
-
An external (loopback) connection between ports on the same module.
This connects the external-facing sides of the ports, making the connection visible outside the module.
- passthrough → const SameModuleConnectionType
-
An internal (passthrough) connection between ports on the same module.
This connects the internal-facing sides of the ports, making the connection visible only within the module.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
SameModuleConnectionType> - A constant List of the values in this enum, in order of their declaration.