Project
Loading...
Searching...
No Matches
o2::framework::DeviceControl Struct Reference

#include <DeviceControl.h>

Public Attributes

bool stopped = false
 
bool quiet = false
 wether we should be capturing device output.
 
bool logVisible = false
 wether the log window should be opened.
 
LogParsingHelpers::LogLevel logLevel = LogParsingHelpers::LogLevel::Info
 Minimum log level for messages to appear.
 
char logFilter [MAX_USER_FILTER_SIZE] = {0}
 Lines in the log should match this to be displayed.
 
char logStartTrigger [MAX_USER_FILTER_SIZE] = {0}
 Start printing log with the last occurence of this.
 
char logStopTrigger [MAX_USER_FILTER_SIZE] = {0}
 Stop producing log with the first occurrence of this after the start.
 
std::map< std::string, std::string > options
 Where the GUI should store the options it wants.
 
DeviceControllercontroller = nullptr
 Handler used to communicate with the device (if available)
 
int tracingFlags = 0
 What kind of events should run with the TRACE level.
 
int logStreams = 0
 What kind of log streams should be enabled.
 
int requestedState = 0
 An incremental number to identify the device state.
 

Detailed Description

Controller state for the Device. This is useful for both GUI and batch operations of the system. Whenever something external to the device wants to modify it, it should be registered here and it will be acted on in the subsequent state update.

Definition at line 30 of file DeviceControl.h.

Member Data Documentation

◆ controller

DeviceController* o2::framework::DeviceControl::controller = nullptr

Handler used to communicate with the device (if available)

Definition at line 48 of file DeviceControl.h.

◆ logFilter

char o2::framework::DeviceControl::logFilter[MAX_USER_FILTER_SIZE] = {0}

Lines in the log should match this to be displayed.

Definition at line 40 of file DeviceControl.h.

◆ logLevel

LogParsingHelpers::LogLevel o2::framework::DeviceControl::logLevel = LogParsingHelpers::LogLevel::Info

Minimum log level for messages to appear.

Definition at line 38 of file DeviceControl.h.

◆ logStartTrigger

char o2::framework::DeviceControl::logStartTrigger[MAX_USER_FILTER_SIZE] = {0}

Start printing log with the last occurence of this.

Definition at line 42 of file DeviceControl.h.

◆ logStopTrigger

char o2::framework::DeviceControl::logStopTrigger[MAX_USER_FILTER_SIZE] = {0}

Stop producing log with the first occurrence of this after the start.

Definition at line 44 of file DeviceControl.h.

◆ logStreams

int o2::framework::DeviceControl::logStreams = 0

What kind of log streams should be enabled.

Definition at line 52 of file DeviceControl.h.

◆ logVisible

bool o2::framework::DeviceControl::logVisible = false

wether the log window should be opened.

Definition at line 36 of file DeviceControl.h.

◆ options

std::map<std::string, std::string> o2::framework::DeviceControl::options

Where the GUI should store the options it wants.

Definition at line 46 of file DeviceControl.h.

◆ quiet

bool o2::framework::DeviceControl::quiet = false

wether we should be capturing device output.

Definition at line 34 of file DeviceControl.h.

◆ requestedState

int o2::framework::DeviceControl::requestedState = 0

An incremental number to identify the device state.

Definition at line 54 of file DeviceControl.h.

◆ stopped

bool o2::framework::DeviceControl::stopped = false

Definition at line 32 of file DeviceControl.h.

◆ tracingFlags

int o2::framework::DeviceControl::tracingFlags = 0

What kind of events should run with the TRACE level.

Definition at line 50 of file DeviceControl.h.


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