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

#include <DeviceConfigInfo.h>

Static Public Member Functions

static bool parseConfig (std::string_view const s, ParsedConfigMatch &results)
 
static bool processConfig (ParsedConfigMatch &results, DeviceInfo &info)
 

Detailed Description

Definition at line 38 of file DeviceConfigInfo.h.

Member Function Documentation

◆ parseConfig()

bool o2::framework::DeviceConfigHelper::parseConfig ( std::string_view const  s,
ParsedConfigMatch results 
)
static

Helper function to parse a configuration parameter reported by a given device. The format is the following:

[CONFIG]: key=value timestamp provenance

Definition at line 27 of file DeviceConfigInfo.cxx.

◆ processConfig()

bool o2::framework::DeviceConfigHelper::processConfig ( ParsedConfigMatch results,
DeviceInfo info 
)
static

Processes a parsed configuration and stores in the backend store.

@matches is the regexp_matches from the metric identifying regex @info is the DeviceInfo associated to the device posting the metric

Definition at line 114 of file DeviceConfigInfo.cxx.


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