OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
ui.automotive.vehicle_body_ui_stub.VehicleBodyUiStub Class Reference

Ignore vehicle body and occupant updates. More...

Inheritance diagram for ui.automotive.vehicle_body_ui_stub.VehicleBodyUiStub:
ui.automotive.vehicle_body_ui_if.VehicleBodyUiIf

Public Member Functions

None set_opening_state (self, VehicleOpening opening, bool|None is_open)
 Set whether one door or panel is open.
 
None set_seat_belt_state (self, SeatPosition seat, bool|None fastened)
 Set whether one seat belt is fastened.
 
None set_exterior_light_state (self, ExteriorLight light, bool|None active)
 Set whether one exterior light function is active.
 
None set_parking_brake (self, bool|None applied)
 Set the parking-brake state.
 

Detailed Description

Ignore vehicle body and occupant updates.

Member Function Documentation

◆ set_exterior_light_state()

None ui.automotive.vehicle_body_ui_stub.VehicleBodyUiStub.set_exterior_light_state (   self,
ExteriorLight  light,
bool | None  active 
)

Set whether one exterior light function is active.

Parameters
lightExterior light function whose state changed.
activeActive state, or None when unavailable.

Reimplemented from ui.automotive.vehicle_body_ui_if.VehicleBodyUiIf.

◆ set_opening_state()

None ui.automotive.vehicle_body_ui_stub.VehicleBodyUiStub.set_opening_state (   self,
VehicleOpening  opening,
bool | None  is_open 
)

Set whether one door or panel is open.

Parameters
openingDoor or panel whose state changed.
is_openOpen state, or None when unavailable.

Reimplemented from ui.automotive.vehicle_body_ui_if.VehicleBodyUiIf.

◆ set_parking_brake()

None ui.automotive.vehicle_body_ui_stub.VehicleBodyUiStub.set_parking_brake (   self,
bool | None  applied 
)

Set the parking-brake state.

Parameters
appliedApplied state, or None when unavailable.

Reimplemented from ui.automotive.vehicle_body_ui_if.VehicleBodyUiIf.

◆ set_seat_belt_state()

None ui.automotive.vehicle_body_ui_stub.VehicleBodyUiStub.set_seat_belt_state (   self,
SeatPosition  seat,
bool | None  fastened 
)

Set whether one seat belt is fastened.

Parameters
seatSeat whose belt state changed.
fastenedFastened state, or None when unavailable.

Reimplemented from ui.automotive.vehicle_body_ui_if.VehicleBodyUiIf.


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