STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
combined_fsw_gui.StateMachineWidget Class Reference
Inheritance diagram for combined_fsw_gui.StateMachineWidget:
[legend]
Collaboration diagram for combined_fsw_gui.StateMachineWidget:
[legend]

Public Member Functions

 __init__ (self, parent=None)
 init_ui (self)
 request_transition (self, str target_state)
 set_current_state (self, str state)

Public Attributes

 current_state = SystemState.IDLE
dict state_buttons = {}

Static Public Attributes

 state_transition_requested = QtCore.pyqtSignal(str)

Detailed Description

State machine control buttons

Definition at line 847 of file combined_fsw_gui.py.

Constructor & Destructor Documentation

◆ __init__()

combined_fsw_gui.StateMachineWidget.__init__ ( self,
parent = None )

Definition at line 852 of file combined_fsw_gui.py.

Member Function Documentation

◆ init_ui()

combined_fsw_gui.StateMachineWidget.init_ui ( self)
Initialize state machine buttons

Definition at line 857 of file combined_fsw_gui.py.

◆ request_transition()

combined_fsw_gui.StateMachineWidget.request_transition ( self,
str target_state )
Request state transition

Definition at line 912 of file combined_fsw_gui.py.

◆ set_current_state()

combined_fsw_gui.StateMachineWidget.set_current_state ( self,
str state )
Update current state and highlight button

Definition at line 916 of file combined_fsw_gui.py.

Member Data Documentation

◆ current_state

combined_fsw_gui.StateMachineWidget.current_state = SystemState.IDLE

Definition at line 854 of file combined_fsw_gui.py.

◆ state_buttons

dict combined_fsw_gui.StateMachineWidget.state_buttons = {}

Definition at line 892 of file combined_fsw_gui.py.

◆ state_transition_requested

combined_fsw_gui.StateMachineWidget.state_transition_requested = QtCore.pyqtSignal(str)
static

Definition at line 850 of file combined_fsw_gui.py.


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