DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
util.hpp File Reference
#include <exception>
#include "conffwk/Configuration.hpp"
#include "nlohmann/json.hpp"
#include "logging/Logging.hpp"
#include "confmodel/Application.hpp"
#include "confmodel/PhysicalHost.hpp"
#include "confmodel/Segment.hpp"
#include "confmodel/Service.hpp"
#include "confmodel/Session.hpp"
#include "confmodel/VirtualHost.hpp"
Include dependency graph for util.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  dunedaq
 Including Qt Headers.
 
namespace  dunedaq::confmodel
 

Functions

 dunedaq::ERS_DECLARE_ISSUE (confmodel, InvalidOpMonFile, file_name<< " is an invalid name for the opmon output",((std::string) file_name)) ERS_DECLARE_ISSUE_BASE(confmodel
 
The opmon infrastructure has not been set up in the dunedaq::ERS_DECLARE_ISSUE_BASE (confmodel, NoControlServiceDefined, ConfigurationError, "The control service has not been set up for the application "+app_name+" you need to define a service called which has a name finishing with \'_control\'",,((std::string) app_name)) ERS_DECLARE_ISSUE_BASE(confmodel
 
const dunedaq::confmodel::Sessiondunedaq::confmodel::get_session (dunedaq::conffwk::Configuration &conf, const std::string &name, unsigned long rlevel=10, const std::vector< std::string > *rclasses=nullptr)
 Get session object.
 
template<typename T >
void dunedaq::confmodel::add_json_value (conffwk::ConfigObject &obj, std::string &name, bool multi_value, nlohmann::json &attributes)
 
template<typename T >
const std::vector< std::string > dunedaq::confmodel::construct_commandline_parameters_appfwk (const T *app, const conffwk::Configuration &confdb, const dunedaq::confmodel::Session *session)
 
 dunedaq::ERS_DECLARE_ISSUE_BASE (confmodel, BadVariableUsage, AlgorithmError, message,,((std::string) message)) ERS_DECLARE_ISSUE_BASE(confmodel
 

Variables

 dunedaq::NoOpmonInfrastructure
 
 dunedaq::ConfigurationError
 
The opmon infrastructure has not been set up in the dunedaq::configuration
 
The opmon infrastructure has not been set up in the dunedaq::DuplicatedControlService
 
The opmon infrastructure has not been set up in the The control service has been defined multiple times for the application app_name you need to define only one service called dunedaq::control
 
 dunedaq::BadApplicationInfo
 
 dunedaq::AlgorithmError