STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
Cfg Struct Reference

Everything a case may vary. More...

Collaboration diagram for Cfg:
[legend]

Public Attributes

std::string script_file = "good.script"
std::string script_body
bool write_script = true
uint32_t timeout_ms = 5000
std::string return_target = "Press Standby"
std::string timeout_target = "Idle"
bool is_flow = false
bool is_abort = false
bool on_fire_state = false
 Put the script on the Fire state instead of Dyn State.
bool drop_actuator_column = false
 Omit the dynamic state's column from state_machine_actuators.csv.

Detailed Description

Everything a case may vary.

Defaults describe a perfectly good dynamic state.

Definition at line 45 of file test_script_states.cpp.

Member Data Documentation

◆ drop_actuator_column

bool Cfg::drop_actuator_column = false

Omit the dynamic state's column from state_machine_actuators.csv.

Definition at line 61 of file test_script_states.cpp.

Referenced by main(), and writeConfig().

◆ is_abort

bool Cfg::is_abort = false

Definition at line 57 of file test_script_states.cpp.

Referenced by main(), and writeConfig().

◆ is_flow

bool Cfg::is_flow = false

Definition at line 56 of file test_script_states.cpp.

Referenced by main(), and writeConfig().

◆ on_fire_state

bool Cfg::on_fire_state = false

Put the script on the Fire state instead of Dyn State.

Definition at line 59 of file test_script_states.cpp.

Referenced by main(), and writeConfig().

◆ return_target

std::string Cfg::return_target = "Press Standby"

Definition at line 54 of file test_script_states.cpp.

Referenced by main(), and writeConfig().

◆ script_body

std::string Cfg::script_body
Initial value:
=
"open_valve(VENT_VALVE)\n"
"delay(0.5)\n"
"close_valve(VENT_VALVE)\n"
"transition_to(PRESS_STANDBY)\n"

Definition at line 47 of file test_script_states.cpp.

Referenced by main(), and writeConfig().

◆ script_file

std::string Cfg::script_file = "good.script"

Definition at line 46 of file test_script_states.cpp.

Referenced by main(), and writeConfig().

◆ timeout_ms

uint32_t Cfg::timeout_ms = 5000

Definition at line 53 of file test_script_states.cpp.

Referenced by main(), and writeConfig().

◆ timeout_target

std::string Cfg::timeout_target = "Idle"

Definition at line 55 of file test_script_states.cpp.

Referenced by main(), and writeConfig().

◆ write_script

bool Cfg::write_script = true

Definition at line 52 of file test_script_states.cpp.

Referenced by main(), and writeConfig().


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