class Place::Router::SignalGraph::Node::Label
- Place::Router::SignalGraph::Node::Label
- Reference
- Object
Overview
Metadata tracked against each signal node.
Included Modules
- JSON::Serializable
- Place::Router::SignalGraph::Watchable
Extended Modules
- JSON::Schema
Defined in:
place/router/signal_graph/node.crConstructors
Instance Method Summary
- #[](*args, **options)
- #[](*args, **options, &)
-
#[]=(key, value : JSON::Any)
Sets a metadata property of
self
. - #[]=(key, value : Int)
- #[]=(key, value : Float)
- #[]=(key, value : Array)
- #[]=(key, value : Hash)
- #[]=(key, value)
- #[]?(*args, **options)
- #[]?(*args, **options, &)
-
#locked : Bool
Locked state.
-
#locked=(locked : Bool)
Locked state.
-
#meta : Hash(String, JSON::Any)
Additional metadata passed in from settings or dynamically applied.
-
#meta=(meta : Hash(String, JSON::Any))
Additional metadata passed in from settings or dynamically applied.
-
#ref : Ref
The
Node::Ref
used when creating this node. -
#source : Ref | Nil
Ref
of the upstream signal source currently feeding this node. -
#source=(source : Ref | Nil)
Ref
of the upstream signal source currently feeding this node. - #to_s(io)
Instance methods inherited from module Place::Router::SignalGraph::Watchable
notify : Nil
notify,
watch(initial = true, &handler : self -> ) : Nil
watch
Constructor Detail
Instance Method Detail
Locked state. When true
changes to signal routes that transit this
are blocked.
Additional metadata passed in from settings or dynamically applied. Information here is propogated to exposed state keys. May be used for any information needed by a user interface or external system.
Additional metadata passed in from settings or dynamically applied. Information here is propogated to exposed state keys. May be used for any information needed by a user interface or external system.
Ref
of the upstream signal source currently feeding this node.