abstract struct Place::Router::SignalGraph::Node::Ref
- Place::Router::SignalGraph::Node::Ref
- Struct
- Value
- Object
Overview
Base structure for referring to a node within the graph.
Direct Known Subclasses
- Place::Router::SignalGraph::Node::Device
- Place::Router::SignalGraph::Node::DeviceInput
- Place::Router::SignalGraph::Node::DeviceOutput
- Place::Router::SignalGraph::Node::Mute
Defined in:
place/router/signal_graph/node.crConstant Summary
-
DEFAULT_LAYER =
"all"
Constructors
Class Method Summary
-
.resolve?(key : String, sys = nil)
Resolves a string-based node key to a fully-qualified reference.
Instance Method Summary
- #==(other : Ref)
-
#id
Node identifier for usage as the graph ID.
- #initialize
- #layer
- #local(sys : String)
- #mod
- #to_json(json)
Constructor Detail
Class Method Detail
def self.resolve?(key : String, sys = nil)
#
Resolves a string-based node key to a fully-qualified reference.
If a system component is not present within key, this is resolved within the context of sys. For example:
Ref.resolve("Display_1:hdmi", "sys-abc123")