Manages the booting process for DDAS.
More...
#include <SystemBooter.h>
Manages the booting process for DDAS.
All Readout and slow controls programs rely on this class to boot the system.
◆ BootType
An enum for boot type masks, legacy flags.
| Enumerator |
|---|
| FullBoot | Full boot with firmware load.
|
| SettingsOnly | Boot with settings only.
|
◆ SystemBooter()
| DAQ::DDAS::SystemBooter::SystemBooter |
( |
| ) |
|
Constructor.
Default settings: verbose output enabled, boot in online mode.
◆ boot()
Boot the entire system.
- Parameters
-
| config | References the system configuration. |
| type | Boot type (full or settings-only). |
Perform parallel boot of DDAS crate. Offline mode supported as of XIA API 4.4.0.
◆ getOfflineMode()
| unsigned short DAQ::DDAS::SystemBooter::getOfflineMode |
( |
| ) |
const |
|
inline |
Return the boot mode of the system.
- Returns
- Boot mode: 0 for online, anything else for offline.
◆ isVerbose()
| bool DAQ::DDAS::SystemBooter::isVerbose |
( |
| ) |
const |
|
inline |
Return the verbose state.
- Returns
- True if verbose output enabled, false otherwise.
◆ setOfflineMode()
| void DAQ::DDAS::SystemBooter::setOfflineMode |
( |
unsigned short |
mode | ) |
|
|
inline |
Enable or disable online boot.
- Parameters
-
| mode | Boot mode: 0 for online, anything else (typically 1) for offline. |
◆ setVerbose()
| void DAQ::DDAS::SystemBooter::setVerbose |
( |
bool |
enb | ) |
|
|
inline |
Enable or disable verbose output.
- Parameters
-
| enb | Enables output messages if true. |
The documentation for this class was generated from the following files: