OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
ui.lighting.lighting_ui_stub.LightingUiStub Class Reference

Ignore lighting state and callback registration. More...

Inheritance diagram for ui.lighting.lighting_ui_stub.LightingUiStub:
ui.lighting.lighting_ui_if.LightingUiIf

Public Member Functions

None set_lighting_state (self, LightingState|None state)
 Set the displayed lighting snapshot, or clear unavailable state.
 
None set_lighting_request_handler (self, LightingRequestHandlerIf|None handler)
 Connect or clear the handler for user lighting requests.
 

Detailed Description

Ignore lighting state and callback registration.

Member Function Documentation

◆ set_lighting_request_handler()

None ui.lighting.lighting_ui_stub.LightingUiStub.set_lighting_request_handler (   self,
LightingRequestHandlerIf | None  handler 
)

Connect or clear the handler for user lighting requests.

Parameters
handlerRequest consumer, or None to disconnect it.

Reimplemented from ui.lighting.lighting_ui_if.LightingUiIf.

◆ set_lighting_state()

None ui.lighting.lighting_ui_stub.LightingUiStub.set_lighting_state (   self,
LightingState | None  state 
)

Set the displayed lighting snapshot, or clear unavailable state.

Parameters
stateComplete state snapshot, or None when unavailable.

Reimplemented from ui.lighting.lighting_ui_if.LightingUiIf.


The documentation for this class was generated from the following file: