STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
Config.hpp File Reference
#include <cstdint>
#include <map>
#include <string>
#include <vector>
#include "config/LoadActiveBoards.hpp"
#include "config/T7Config.hpp"
#include "time/BoardClockSync.hpp"
Include dependency graph for Config.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fsw::config::NetworkConfig
struct  fsw::config::DatabaseConfig
struct  fsw::config::ServerHeartbeatConfig
struct  fsw::config::HeartbeatServiceConfig
struct  fsw::config::LogsConfig
struct  fsw::config::ControllerServiceConfig
struct  fsw::config::ControllerConfig
struct  fsw::config::ActuatorServiceConfig
struct  fsw::config::CalibrationConfig
struct  fsw::config::FireConfig
struct  fsw::config::FlowConfig
 [flow] — the characterization hold: open a valve for an exact interval, then close it. More...
struct  fsw::config::StateMachinePaths
struct  fsw::config::StateDef
struct  fsw::config::ActuatorRole
struct  fsw::config::BoardConfig
struct  fsw::config::Config
 The whole parsed config.toml, restricted to what C++ consumes. More...

Namespaces

namespace  fsw
 Motorized ball valve position: raw ADC counts -> % open.
namespace  fsw::config

Functions

Config fsw::config::load (const std::string &path)
 Parse config.toml.
Config fsw::config::load_from_string (const std::string &text)
 Parse config from an in-memory TOML string (SequencerService / ActuatorCommander hold it so).
std::map< ActiveBoardKind, std::vector< elodin::BoardChannels > > fsw::config::active_boards (const Config &cfg)
 Derive the active-board table (enabled boards -> Elodin BoardChannels), with the same slot-collision validation the old load_active_boards() logged.
ActiveBoardKind fsw::config::kind_of (const std::string &type_str)
 [boards.
std::map< uint8_t, PtBoardConfig > fsw::config::pt_boards (const Config &cfg)
 Derive PT board 4-20 mA parameters keyed by Elodin slot (mirrors old load_pt_boards()).