|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
What a script's slugs are allowed to name, built from the loaded config. More...
#include <StateScript.hpp>
Public Attributes | |
| std::map< std::string, std::string > | actuators |
| std::map< std::string, std::string > | sensors |
| std::map< std::string, std::string > | states |
| std::set< std::string > | allowed_transitions |
| State slugs reachable from the state that owns this script, per state_transitions.csv. | |
What a script's slugs are allowed to name, built from the loaded config.
Maps rather than sets so a diagnostic can name the canonical spelling a slug resolves to, which is what the operator sees elsewhere in the UI.
Definition at line 256 of file StateScript.hpp.
| std::map<std::string, std::string> fsw::script::SlugTables::actuators |
Definition at line 257 of file StateScript.hpp.
| std::set<std::string> fsw::script::SlugTables::allowed_transitions |
State slugs reachable from the state that owns this script, per state_transitions.csv.
Every transition_to target is checked against this — not just the configured fallbacks — because a script that runs 25 s and THEN cannot leave is worse than one that never starts.
Definition at line 264 of file StateScript.hpp.
| std::map<std::string, std::string> fsw::script::SlugTables::sensors |
Definition at line 258 of file StateScript.hpp.
| std::map<std::string, std::string> fsw::script::SlugTables::states |
Definition at line 259 of file StateScript.hpp.