Quantum Resource Manager and Compiler Infrastructure (QRM&CI) 0.1.0
mqss::qrmci::CommonConfig Struct Reference

Settings shared by every pipeline stage: the RabbitMQ connection, logging, the queues common to more than one stage (task intake, results, and scheduling – which never runs as its own distributed process), and the daemon's outer poll loop cadence. More...

Collaboration diagram for mqss::qrmci::CommonConfig:

Public Attributes

RabbitMqConnectionConfig connection
 RabbitMQ connection settings.
std::string logDir
 Directory where log files are written.
std::string daemonLogger
 Logger name for the daemon.
std::string daemonLog
 Log file for the daemon.
std::string qrmciQueue
 Queue incoming tasks arrive on.
std::string resultsQueue
 Queue that carries execution results.
std::string schedulerQueue
 Queue used by the scheduler stage.
std::string schedulerLogger
 Logger name for the scheduler.
std::string schedulerLog
 Log file for the scheduler.
std::chrono::milliseconds stagePollInterval {100}
 Sleep between turns of a daemon's main loop.

Detailed Description

Settings shared by every pipeline stage: the RabbitMQ connection, logging, the queues common to more than one stage (task intake, results, and scheduling – which never runs as its own distributed process), and the daemon's outer poll loop cadence.

Definition at line 58 of file Config.h.

Member Data Documentation

◆ connection

RabbitMqConnectionConfig mqss::qrmci::CommonConfig::connection

RabbitMQ connection settings.

Definition at line 59 of file Config.h.

◆ daemonLog

std::string mqss::qrmci::CommonConfig::daemonLog

Log file for the daemon.

Definition at line 64 of file Config.h.

◆ daemonLogger

std::string mqss::qrmci::CommonConfig::daemonLogger

Logger name for the daemon.

Definition at line 63 of file Config.h.

◆ logDir

std::string mqss::qrmci::CommonConfig::logDir

Directory where log files are written.

Definition at line 61 of file Config.h.

◆ qrmciQueue

std::string mqss::qrmci::CommonConfig::qrmciQueue

Queue incoming tasks arrive on.

Definition at line 66 of file Config.h.

◆ resultsQueue

std::string mqss::qrmci::CommonConfig::resultsQueue

Queue that carries execution results.

Definition at line 67 of file Config.h.

◆ schedulerLog

std::string mqss::qrmci::CommonConfig::schedulerLog

Log file for the scheduler.

Definition at line 71 of file Config.h.

◆ schedulerLogger

std::string mqss::qrmci::CommonConfig::schedulerLogger

Logger name for the scheduler.

Definition at line 70 of file Config.h.

◆ schedulerQueue

std::string mqss::qrmci::CommonConfig::schedulerQueue

Queue used by the scheduler stage.

Definition at line 69 of file Config.h.

◆ stagePollInterval

std::chrono::milliseconds mqss::qrmci::CommonConfig::stagePollInterval {100}

Sleep between turns of a daemon's main loop.

The one setting with no single natural stage home, since the standalone daemon's loop touches every group in one turn.

Definition at line 76 of file Config.h.


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