|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Everything load_dynamic_states needs that it cannot get from Config alone. More...
#include <ScriptStates.hpp>
Public Attributes | |
| std::string | config_dir |
| Directory holding config.toml; scripts resolve to <config_dir>/scripts/<script_file>. | |
| const StateMachine * | state_machine = nullptr |
| Transition matrix, already loaded. | |
| State | fire_state = State::UNKNOWN |
| The [fire] state, so a script cannot be attached to the burn. | |
| std::function< bool(const std::string &state_name)> | has_actuator_column |
| True when the named state has a column in state_machine_actuators.csv. | |
Everything load_dynamic_states needs that it cannot get from Config alone.
Definition at line 70 of file ScriptStates.hpp.
| std::string sequencer::ScriptLoadContext::config_dir |
Directory holding config.toml; scripts resolve to <config_dir>/scripts/<script_file>.
Definition at line 72 of file ScriptStates.hpp.
Referenced by sequencer::SequencerService::applyConfig(), and sequencer::load_dynamic_states().
| State sequencer::ScriptLoadContext::fire_state = State::UNKNOWN |
The [fire] state, so a script cannot be attached to the burn.
Definition at line 76 of file ScriptStates.hpp.
Referenced by sequencer::SequencerService::applyConfig(), and sequencer::load_dynamic_states().
| std::function<bool(const std::string& state_name)> sequencer::ScriptLoadContext::has_actuator_column |
True when the named state has a column in state_machine_actuators.csv.
A dynamic state must have one: the column is the defined baseline the script layers onto, and without it entry would leave every unmentioned valve wherever the previous state put it.
Definition at line 80 of file ScriptStates.hpp.
Referenced by sequencer::SequencerService::applyConfig(), and sequencer::load_dynamic_states().
| const StateMachine* sequencer::ScriptLoadContext::state_machine = nullptr |
Transition matrix, already loaded.
Definition at line 74 of file ScriptStates.hpp.
Referenced by sequencer::SequencerService::applyConfig(), and sequencer::load_dynamic_states().