Raxol.Sensor.HUDOverlay (Raxol Sensor v2.6.0)

Copy Markdown View Source

Glue layer: subscribes to Fusion updates, renders HUD widgets, writes cells to a buffer.

Summary

Functions

Returns a specification to start this module under a supervisor.

Types

layout_entry()

@type layout_entry() :: %{
  widget: :gauge | :sparkline | :threat | :minimap,
  region: Raxol.Sensor.HUD.region(),
  sensor_id: atom(),
  opts: keyword()
}

t()

@type t() :: %Raxol.Sensor.HUDOverlay{
  buffer_pid: pid() | nil,
  fusion_pid: pid() | nil,
  last_fused_state: map(),
  layout: [layout_entry()]
}

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts \\ [])

@spec start_link(keyword()) :: GenServer.on_start()