REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
|
•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions |
Static Public Member Functions |
Public Attributes |
Protected Attributes |
List of all members
run::Run Class Reference
#include <run.h>
Collaboration diagram for run::Run:

Public Member Functions | |
Run (std::string id, const RunConfig &config, const daq::DAQConfig &daq_config) | |
Run (std::string id, const RunConfig &config) | |
RunStateChange | to (RunState new_state, unsigned int t=0) |
Static Public Member Functions | |
static Run | from_json (JsonObjectConst &json) |
Public Attributes | |
const std::string | id |
(User-provided) Supposed to be a UUID which allows to identify Out-of-band messages | |
RunConfig | config |
(User-provided) timing requests | |
RunState | state = RunState::NEW |
(System-steered) | |
daq::DAQConfig | daq_config |
(User-provided) Data Aquisition request | |
Protected Attributes | |
std::queue< RunStateChange, std::array< RunStateChange, 7 > > | history |
Detailed Description
Constructor & Destructor Documentation
◆ Run() [1/2]
FLASHMEM run::Run::Run | ( | std::string | id, |
const RunConfig & | config, | ||
const daq::DAQConfig & | daq_config ) |
◆ Run() [2/2]
FLASHMEM run::Run::Run | ( | std::string | id, |
const RunConfig & | config ) |
Member Function Documentation
◆ from_json()
|
static |
Definition at line 66 of file run.cpp.
References daq::DAQConfig::from_json(), run::RunConfig::from_json(), and size.
Referenced by run::RunManager::start_run().
◆ to()
FLASHMEM run::RunStateChange run::Run::to | ( | run::RunState | new_state, |
unsigned int | t = 0 ) |
Member Data Documentation
◆ config
◆ daq_config
daq::DAQConfig run::Run::daq_config |
◆ history
|
protected |
◆ id
const std::string run::Run::id |
◆ state
RunState run::Run::state = RunState::NEW |
The documentation for this class was generated from the following files: