data class Node(val path: String, val type: NodeType, val visibility: Visibility = Visibility.Debug, val description: String, val reader: () -> Value, val unit: String? = null)
Node
(
path
, type
, visibility
, description
, reader
, unit
)
|
Signature
constructor(path: String, type: NodeType, visibility: Visibility = Visibility.Debug, description: String, reader: () -> Value, unit: String? = null) Parameters path: String
Full hierarchical path, e.g. /aether/audio/focus/focused_count. Path conventions are pure convention — the registry stores a flat keyed map.
description: String
Short human-readable label.
reader: Function0
Pull-style reader closure. See contract above.
unit: String?
Optional unit string (e.g. "bytes", "ms", "count").
Returns Node |
description
: String
[Get] |
Short human-readable label.
Signature
val description: String |
path
: String
[Get] |
Full hierarchical path, e.g. /aether/audio/focus/focused_count. Path conventions are pure convention — the registry stores a flat keyed map.
Signature
val path: String |
reader
: Function0
[Get] |
Pull-style reader closure. See contract above.
Signature
val reader: () -> Value |
type
: NodeType
[Get] | |
unit
: String?
[Get] |
Optional unit string (e.g. "bytes", "ms", "count").
Signature
val unit: String? = null |
visibility
: Visibility
[Get] |
toMetadata
()
|
Signature
fun toMetadata(): NodeMetadata Returns NodeMetadata |