module Place::Router::Core
Overview
Core routing methods and functionality. This exists as module to enable inclusion in other drivers, such as room logic, that provide auxillary functionality to signal distribution.
Direct including types
Defined in:
place/router/core.crplace/router/settings.cr
Instance Method Summary
- #current_routes : Hash(String, String | Nil)
- #on_update
-
#route_signal(input : String, output : String, max_dist : Int32 | Nil = nil, simulate : Bool = false, follow_additional_routes : Bool = true)
Routes signal from input to output.
Instance Method Detail
def route_signal(input : String, output : String, max_dist : Int32 | Nil = nil, simulate : Bool = false, follow_additional_routes : Bool = true)
#
Routes signal from input to output.
Performs all intermediate device interaction based on current system config.