Build Packages / Create release (push) Successful in 24s
Build Packages / build:viewer:macos-arm64:nocuda (push) Successful in 3m29s
Build Packages / build:rugnux:macos-arm64:nocuda (push) Successful in 2m43s
Build Packages / build:rugnux:linux-aarch64:cuda (push) Successful in 8m27s
Build Packages / build:rugnux:linux-x86_64:cuda (push) Successful in 9m53s
Build Packages / build:viewer:linux-x86_64:nocuda (push) Successful in 9m58s
Build Packages / build:viewer:linux-x86_64:cuda (push) Successful in 11m22s
Build Packages / build:jfjoch:rocky8:nocuda (push) Successful in 13m39s
Build Packages / build:viewer:windows-x86_64:nocuda (push) Successful in 18m37s
Build Packages / build:jfjoch:rocky9:nocuda (push) Successful in 16m32s
Build Packages / build:viewer:windows-x86_64:cuda (push) Successful in 24m11s
Build Packages / HDF5 consumer tests (DIALS, XDS) (push) Successful in 25m30s
Build Packages / build:jfjoch:ubuntu2404:nocuda (push) Successful in 19m3s
Build Packages / build:jfjoch:ubuntu2204:nocuda (push) Successful in 20m23s
Build Packages / build:jfjoch:rocky8:cuda-sls9 (push) Successful in 19m41s
Build Packages / Generate python client (push) Successful in 50s
Build Packages / Build documentation (push) Successful in 1m16s
Build Packages / build:jfjoch:rocky9:cuda-sls9 (push) Successful in 21m0s
Build Packages / build:jfjoch:rocky8:cuda (push) Successful in 18m38s
Build Packages / build:rugnux:windows-x86_64:cuda (push) Successful in 14m33s
Build Packages / build:jfjoch:rocky9:cuda (push) Successful in 17m55s
Build Packages / build:jfjoch:ubuntu2204:cuda (push) Successful in 20m50s
Build Packages / build:jfjoch:ubuntu2404:cuda (push) Successful in 18m38s
Build Packages / Unit tests (push) Successful in 1h46m14s
* jfjoch_broker: Optional per-dataset authentication - statistics, images and plots can require a bearer token, which jfjoch_viewer supports. * jfjoch_viewer: Dark mode and a theme-matched colour scheme, a magnifier panel, and simpler contrast and background controls. * Rugnux: Multiple performance improvements on GPU and CPU (CPU-only processing up to 40% faster, faster image decoding on ARM), with unchanged results. * Rugnux: `--model` rigid-body refinement runs on the GPU, and the model-validation check is faster and more reliable. * Rugnux: Improved scaling and merging - error model, outlier rejection, absorption correction and French-Wilson amplitudes now agree more closely with XDS and ctruncate. * Rugnux: Improved integration - radial background on powder and ice rings, crowded rotation data keep their reflections, and CPU-only builds integrate large unit cells as GPU builds do. * Rugnux: More robust detector geometry - measured beam centre, X-ray bandwidth and goniometer rate, and geometry refinement accepted only on significant evidence. * Rugnux: Merged files are written in the standard setting, or in the setting of a reference MTZ, structure-factor mmCIF or model, with its free-R flags. * Rugnux: Richer report - ice and powder rings, further lattices, superstructure candidates and mosaicity, with warnings worded as prompts to check. * Rugnux: Clear error messages when a data set needs more GPU or host memory than is available. Reviewed-on: #83 Co-authored-by: Filip Leonarski <filip.leonarski@psi.ch>
701 lines
21 KiB
C++
701 lines
21 KiB
C++
/**
|
|
* Jungfraujoch
|
|
* API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates. # License Clarification While this API definition is licensed under GPL-3.0, **the GPL copyleft provisions do not apply** when this file is used solely to generate OpenAPI clients or when implementing applications that interact with the API. Generated client code and applications using this API definition are not subject to the GPL license requirements and may be distributed under terms of your choosing. This exception is similar in spirit to the Linux Kernel's approach to userspace API headers and the GCC Runtime Library Exception. The Linux Kernel developers have explicitly stated that user programs that merely use the kernel interfaces (syscalls, ioctl definitions, etc.) are not derivative works of the kernel and are not subject to the terms of the GPL. This exception is intended to allow wider use of this API specification without imposing GPL requirements on applications that merely interact with the API, regardless of whether they communicate through network calls or other mechanisms.
|
|
*
|
|
* The version of the OpenAPI document: 1.0.0-rc.173
|
|
* Contact: filip.leonarski@psi.ch
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
|
|
#include "Jfjoch_settings.h"
|
|
#include "Helpers.h"
|
|
|
|
#include <sstream>
|
|
|
|
namespace org::openapitools::server::model
|
|
{
|
|
|
|
Jfjoch_settings::Jfjoch_settings()
|
|
{
|
|
m_PcieIsSet = false;
|
|
m_ZeromqIsSet = false;
|
|
m_TcpIsSet = false;
|
|
m_InstrumentIsSet = false;
|
|
m_File_writerIsSet = false;
|
|
m_IndexingIsSet = false;
|
|
m_Bragg_integrationIsSet = false;
|
|
m_Detector_settingsIsSet = false;
|
|
m_Azim_intIsSet = false;
|
|
m_Image_formatIsSet = false;
|
|
m_Image_buffer_MiB = 2048;
|
|
m_Image_buffer_MiBIsSet = false;
|
|
m_Verbose = false;
|
|
m_VerboseIsSet = false;
|
|
m_Receiver_threads = 64;
|
|
m_Receiver_threadsIsSet = false;
|
|
m_Numa_policy = "";
|
|
m_Numa_policyIsSet = false;
|
|
m_Frontend_directory = "";
|
|
m_Spot_findingIsSet = false;
|
|
m_Zeromq_previewIsSet = false;
|
|
m_Zeromq_metadataIsSet = false;
|
|
m_Dark_maskIsSet = false;
|
|
|
|
}
|
|
|
|
void Jfjoch_settings::validate() const
|
|
{
|
|
std::stringstream msg;
|
|
if (!validate(msg))
|
|
{
|
|
throw org::openapitools::server::helpers::ValidationException(msg.str());
|
|
}
|
|
}
|
|
|
|
bool Jfjoch_settings::validate(std::stringstream& msg) const
|
|
{
|
|
return validate(msg, "");
|
|
}
|
|
|
|
bool Jfjoch_settings::validate(std::stringstream& msg, const std::string& pathPrefix) const
|
|
{
|
|
bool success = true;
|
|
const std::string _pathPrefix = pathPrefix.empty() ? "Jfjoch_settings" : pathPrefix;
|
|
|
|
|
|
if (pcieIsSet())
|
|
{
|
|
const std::vector<org::openapitools::server::model::Pcie_devices_inner>& value = m_Pcie;
|
|
const std::string currentValuePath = _pathPrefix + ".pcie";
|
|
|
|
|
|
{ // Recursive validation of array elements
|
|
const std::string oldValuePath = currentValuePath;
|
|
int i = 0;
|
|
for (const org::openapitools::server::model::Pcie_devices_inner& value : value)
|
|
{
|
|
const std::string currentValuePath = oldValuePath + "[" + std::to_string(i) + "]";
|
|
|
|
success = value.validate(msg, currentValuePath + ".pcie") && success;
|
|
|
|
i++;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|
|
/* Detector */ {
|
|
const std::vector<org::openapitools::server::model::Detector>& value = m_Detector;
|
|
const std::string currentValuePath = _pathPrefix + ".detector";
|
|
|
|
|
|
{ // Recursive validation of array elements
|
|
const std::string oldValuePath = currentValuePath;
|
|
int i = 0;
|
|
for (const org::openapitools::server::model::Detector& value : value)
|
|
{
|
|
const std::string currentValuePath = oldValuePath + "[" + std::to_string(i) + "]";
|
|
|
|
success = value.validate(msg, currentValuePath + ".detector") && success;
|
|
|
|
i++;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
if (imageBufferMiBIsSet())
|
|
{
|
|
const int32_t& value = m_Image_buffer_MiB;
|
|
const std::string currentValuePath = _pathPrefix + ".imageBufferMiB";
|
|
|
|
|
|
if (value < 128)
|
|
{
|
|
success = false;
|
|
msg << currentValuePath << ": must be greater than or equal to 128;";
|
|
}
|
|
|
|
}
|
|
|
|
if (receiverThreadsIsSet())
|
|
{
|
|
const int32_t& value = m_Receiver_threads;
|
|
const std::string currentValuePath = _pathPrefix + ".receiverThreads";
|
|
|
|
|
|
if (value < 1)
|
|
{
|
|
success = false;
|
|
msg << currentValuePath << ": must be greater than or equal to 1;";
|
|
}
|
|
if (value > 512)
|
|
{
|
|
success = false;
|
|
msg << currentValuePath << ": must be less than or equal to 512;";
|
|
}
|
|
|
|
}
|
|
|
|
return success;
|
|
}
|
|
|
|
bool Jfjoch_settings::operator==(const Jfjoch_settings& rhs) const
|
|
{
|
|
return
|
|
|
|
|
|
|
|
((!pcieIsSet() && !rhs.pcieIsSet()) || (pcieIsSet() && rhs.pcieIsSet() && getPcie() == rhs.getPcie())) &&
|
|
|
|
|
|
((!zeromqIsSet() && !rhs.zeromqIsSet()) || (zeromqIsSet() && rhs.zeromqIsSet() && getZeromq() == rhs.getZeromq())) &&
|
|
|
|
|
|
((!tcpIsSet() && !rhs.tcpIsSet()) || (tcpIsSet() && rhs.tcpIsSet() && getTcp() == rhs.getTcp())) &&
|
|
|
|
|
|
((!instrumentIsSet() && !rhs.instrumentIsSet()) || (instrumentIsSet() && rhs.instrumentIsSet() && getInstrument() == rhs.getInstrument())) &&
|
|
|
|
|
|
((!fileWriterIsSet() && !rhs.fileWriterIsSet()) || (fileWriterIsSet() && rhs.fileWriterIsSet() && getFileWriter() == rhs.getFileWriter())) &&
|
|
|
|
(getDetector() == rhs.getDetector())
|
|
&&
|
|
|
|
|
|
((!indexingIsSet() && !rhs.indexingIsSet()) || (indexingIsSet() && rhs.indexingIsSet() && getIndexing() == rhs.getIndexing())) &&
|
|
|
|
|
|
((!braggIntegrationIsSet() && !rhs.braggIntegrationIsSet()) || (braggIntegrationIsSet() && rhs.braggIntegrationIsSet() && getBraggIntegration() == rhs.getBraggIntegration())) &&
|
|
|
|
|
|
((!detectorSettingsIsSet() && !rhs.detectorSettingsIsSet()) || (detectorSettingsIsSet() && rhs.detectorSettingsIsSet() && getDetectorSettings() == rhs.getDetectorSettings())) &&
|
|
|
|
|
|
((!azimIntIsSet() && !rhs.azimIntIsSet()) || (azimIntIsSet() && rhs.azimIntIsSet() && getAzimInt() == rhs.getAzimInt())) &&
|
|
|
|
|
|
((!imageFormatIsSet() && !rhs.imageFormatIsSet()) || (imageFormatIsSet() && rhs.imageFormatIsSet() && getImageFormat() == rhs.getImageFormat())) &&
|
|
|
|
|
|
((!imageBufferMiBIsSet() && !rhs.imageBufferMiBIsSet()) || (imageBufferMiBIsSet() && rhs.imageBufferMiBIsSet() && getImageBufferMiB() == rhs.getImageBufferMiB())) &&
|
|
|
|
|
|
((!verboseIsSet() && !rhs.verboseIsSet()) || (verboseIsSet() && rhs.verboseIsSet() && isVerbose() == rhs.isVerbose())) &&
|
|
|
|
|
|
((!receiverThreadsIsSet() && !rhs.receiverThreadsIsSet()) || (receiverThreadsIsSet() && rhs.receiverThreadsIsSet() && getReceiverThreads() == rhs.getReceiverThreads())) &&
|
|
|
|
|
|
((!numaPolicyIsSet() && !rhs.numaPolicyIsSet()) || (numaPolicyIsSet() && rhs.numaPolicyIsSet() && getNumaPolicy() == rhs.getNumaPolicy())) &&
|
|
|
|
(getFrontendDirectory() == rhs.getFrontendDirectory())
|
|
&&
|
|
|
|
|
|
((!spotFindingIsSet() && !rhs.spotFindingIsSet()) || (spotFindingIsSet() && rhs.spotFindingIsSet() && getSpotFinding() == rhs.getSpotFinding())) &&
|
|
|
|
(getImagePusher() == rhs.getImagePusher())
|
|
&&
|
|
|
|
|
|
((!zeromqPreviewIsSet() && !rhs.zeromqPreviewIsSet()) || (zeromqPreviewIsSet() && rhs.zeromqPreviewIsSet() && getZeromqPreview() == rhs.getZeromqPreview())) &&
|
|
|
|
|
|
((!zeromqMetadataIsSet() && !rhs.zeromqMetadataIsSet()) || (zeromqMetadataIsSet() && rhs.zeromqMetadataIsSet() && getZeromqMetadata() == rhs.getZeromqMetadata())) &&
|
|
|
|
|
|
((!darkMaskIsSet() && !rhs.darkMaskIsSet()) || (darkMaskIsSet() && rhs.darkMaskIsSet() && getDarkMask() == rhs.getDarkMask()))
|
|
|
|
;
|
|
}
|
|
|
|
bool Jfjoch_settings::operator!=(const Jfjoch_settings& rhs) const
|
|
{
|
|
return !(*this == rhs);
|
|
}
|
|
|
|
void to_json(nlohmann::json& j, const Jfjoch_settings& o)
|
|
{
|
|
j = nlohmann::json::object();
|
|
if(o.pcieIsSet() || !o.m_Pcie.empty())
|
|
j["pcie"] = o.m_Pcie;
|
|
if(o.zeromqIsSet())
|
|
j["zeromq"] = o.m_Zeromq;
|
|
if(o.tcpIsSet())
|
|
j["tcp"] = o.m_Tcp;
|
|
if(o.instrumentIsSet())
|
|
j["instrument"] = o.m_Instrument;
|
|
if(o.fileWriterIsSet())
|
|
j["file_writer"] = o.m_File_writer;
|
|
j["detector"] = o.m_Detector;
|
|
if(o.indexingIsSet())
|
|
j["indexing"] = o.m_Indexing;
|
|
if(o.braggIntegrationIsSet())
|
|
j["bragg_integration"] = o.m_Bragg_integration;
|
|
if(o.detectorSettingsIsSet())
|
|
j["detector_settings"] = o.m_Detector_settings;
|
|
if(o.azimIntIsSet())
|
|
j["azim_int"] = o.m_Azim_int;
|
|
if(o.imageFormatIsSet())
|
|
j["image_format"] = o.m_Image_format;
|
|
if(o.imageBufferMiBIsSet())
|
|
j["image_buffer_MiB"] = o.m_Image_buffer_MiB;
|
|
if(o.verboseIsSet())
|
|
j["verbose"] = o.m_Verbose;
|
|
if(o.receiverThreadsIsSet())
|
|
j["receiver_threads"] = o.m_Receiver_threads;
|
|
if(o.numaPolicyIsSet())
|
|
j["numa_policy"] = o.m_Numa_policy;
|
|
j["frontend_directory"] = o.m_Frontend_directory;
|
|
if(o.spotFindingIsSet())
|
|
j["spot_finding"] = o.m_Spot_finding;
|
|
j["image_pusher"] = o.m_Image_pusher;
|
|
if(o.zeromqPreviewIsSet())
|
|
j["zeromq_preview"] = o.m_Zeromq_preview;
|
|
if(o.zeromqMetadataIsSet())
|
|
j["zeromq_metadata"] = o.m_Zeromq_metadata;
|
|
if(o.darkMaskIsSet())
|
|
j["dark_mask"] = o.m_Dark_mask;
|
|
|
|
}
|
|
|
|
void from_json(const nlohmann::json& j, Jfjoch_settings& o)
|
|
{
|
|
if(j.find("pcie") != j.end())
|
|
{
|
|
j.at("pcie").get_to(o.m_Pcie);
|
|
o.m_PcieIsSet = true;
|
|
}
|
|
if(j.find("zeromq") != j.end())
|
|
{
|
|
j.at("zeromq").get_to(o.m_Zeromq);
|
|
o.m_ZeromqIsSet = true;
|
|
}
|
|
if(j.find("tcp") != j.end())
|
|
{
|
|
j.at("tcp").get_to(o.m_Tcp);
|
|
o.m_TcpIsSet = true;
|
|
}
|
|
if(j.find("instrument") != j.end())
|
|
{
|
|
j.at("instrument").get_to(o.m_Instrument);
|
|
o.m_InstrumentIsSet = true;
|
|
}
|
|
if(j.find("file_writer") != j.end())
|
|
{
|
|
j.at("file_writer").get_to(o.m_File_writer);
|
|
o.m_File_writerIsSet = true;
|
|
}
|
|
j.at("detector").get_to(o.m_Detector);
|
|
if(j.find("indexing") != j.end())
|
|
{
|
|
j.at("indexing").get_to(o.m_Indexing);
|
|
o.m_IndexingIsSet = true;
|
|
}
|
|
if(j.find("bragg_integration") != j.end())
|
|
{
|
|
j.at("bragg_integration").get_to(o.m_Bragg_integration);
|
|
o.m_Bragg_integrationIsSet = true;
|
|
}
|
|
if(j.find("detector_settings") != j.end())
|
|
{
|
|
j.at("detector_settings").get_to(o.m_Detector_settings);
|
|
o.m_Detector_settingsIsSet = true;
|
|
}
|
|
if(j.find("azim_int") != j.end())
|
|
{
|
|
j.at("azim_int").get_to(o.m_Azim_int);
|
|
o.m_Azim_intIsSet = true;
|
|
}
|
|
if(j.find("image_format") != j.end())
|
|
{
|
|
j.at("image_format").get_to(o.m_Image_format);
|
|
o.m_Image_formatIsSet = true;
|
|
}
|
|
if(j.find("image_buffer_MiB") != j.end())
|
|
{
|
|
j.at("image_buffer_MiB").get_to(o.m_Image_buffer_MiB);
|
|
o.m_Image_buffer_MiBIsSet = true;
|
|
}
|
|
if(j.find("verbose") != j.end())
|
|
{
|
|
j.at("verbose").get_to(o.m_Verbose);
|
|
o.m_VerboseIsSet = true;
|
|
}
|
|
if(j.find("receiver_threads") != j.end())
|
|
{
|
|
j.at("receiver_threads").get_to(o.m_Receiver_threads);
|
|
o.m_Receiver_threadsIsSet = true;
|
|
}
|
|
if(j.find("numa_policy") != j.end())
|
|
{
|
|
j.at("numa_policy").get_to(o.m_Numa_policy);
|
|
o.m_Numa_policyIsSet = true;
|
|
}
|
|
j.at("frontend_directory").get_to(o.m_Frontend_directory);
|
|
if(j.find("spot_finding") != j.end())
|
|
{
|
|
j.at("spot_finding").get_to(o.m_Spot_finding);
|
|
o.m_Spot_findingIsSet = true;
|
|
}
|
|
j.at("image_pusher").get_to(o.m_Image_pusher);
|
|
if(j.find("zeromq_preview") != j.end())
|
|
{
|
|
j.at("zeromq_preview").get_to(o.m_Zeromq_preview);
|
|
o.m_Zeromq_previewIsSet = true;
|
|
}
|
|
if(j.find("zeromq_metadata") != j.end())
|
|
{
|
|
j.at("zeromq_metadata").get_to(o.m_Zeromq_metadata);
|
|
o.m_Zeromq_metadataIsSet = true;
|
|
}
|
|
if(j.find("dark_mask") != j.end())
|
|
{
|
|
j.at("dark_mask").get_to(o.m_Dark_mask);
|
|
o.m_Dark_maskIsSet = true;
|
|
}
|
|
|
|
}
|
|
|
|
std::vector<org::openapitools::server::model::Pcie_devices_inner> Jfjoch_settings::getPcie() const
|
|
{
|
|
return m_Pcie;
|
|
}
|
|
void Jfjoch_settings::setPcie(std::vector<org::openapitools::server::model::Pcie_devices_inner> const& value)
|
|
{
|
|
m_Pcie = value;
|
|
m_PcieIsSet = true;
|
|
}
|
|
bool Jfjoch_settings::pcieIsSet() const
|
|
{
|
|
return m_PcieIsSet;
|
|
}
|
|
void Jfjoch_settings::unsetPcie()
|
|
{
|
|
m_PcieIsSet = false;
|
|
}
|
|
org::openapitools::server::model::Zeromq_settings Jfjoch_settings::getZeromq() const
|
|
{
|
|
return m_Zeromq;
|
|
}
|
|
void Jfjoch_settings::setZeromq(org::openapitools::server::model::Zeromq_settings const& value)
|
|
{
|
|
m_Zeromq = value;
|
|
m_ZeromqIsSet = true;
|
|
}
|
|
bool Jfjoch_settings::zeromqIsSet() const
|
|
{
|
|
return m_ZeromqIsSet;
|
|
}
|
|
void Jfjoch_settings::unsetZeromq()
|
|
{
|
|
m_ZeromqIsSet = false;
|
|
}
|
|
org::openapitools::server::model::Tcp_settings Jfjoch_settings::getTcp() const
|
|
{
|
|
return m_Tcp;
|
|
}
|
|
void Jfjoch_settings::setTcp(org::openapitools::server::model::Tcp_settings const& value)
|
|
{
|
|
m_Tcp = value;
|
|
m_TcpIsSet = true;
|
|
}
|
|
bool Jfjoch_settings::tcpIsSet() const
|
|
{
|
|
return m_TcpIsSet;
|
|
}
|
|
void Jfjoch_settings::unsetTcp()
|
|
{
|
|
m_TcpIsSet = false;
|
|
}
|
|
org::openapitools::server::model::Instrument_metadata Jfjoch_settings::getInstrument() const
|
|
{
|
|
return m_Instrument;
|
|
}
|
|
void Jfjoch_settings::setInstrument(org::openapitools::server::model::Instrument_metadata const& value)
|
|
{
|
|
m_Instrument = value;
|
|
m_InstrumentIsSet = true;
|
|
}
|
|
bool Jfjoch_settings::instrumentIsSet() const
|
|
{
|
|
return m_InstrumentIsSet;
|
|
}
|
|
void Jfjoch_settings::unsetInstrument()
|
|
{
|
|
m_InstrumentIsSet = false;
|
|
}
|
|
org::openapitools::server::model::File_writer_settings Jfjoch_settings::getFileWriter() const
|
|
{
|
|
return m_File_writer;
|
|
}
|
|
void Jfjoch_settings::setFileWriter(org::openapitools::server::model::File_writer_settings const& value)
|
|
{
|
|
m_File_writer = value;
|
|
m_File_writerIsSet = true;
|
|
}
|
|
bool Jfjoch_settings::fileWriterIsSet() const
|
|
{
|
|
return m_File_writerIsSet;
|
|
}
|
|
void Jfjoch_settings::unsetFile_writer()
|
|
{
|
|
m_File_writerIsSet = false;
|
|
}
|
|
std::vector<org::openapitools::server::model::Detector> Jfjoch_settings::getDetector() const
|
|
{
|
|
return m_Detector;
|
|
}
|
|
void Jfjoch_settings::setDetector(std::vector<org::openapitools::server::model::Detector> const& value)
|
|
{
|
|
m_Detector = value;
|
|
}
|
|
org::openapitools::server::model::Indexing_settings Jfjoch_settings::getIndexing() const
|
|
{
|
|
return m_Indexing;
|
|
}
|
|
void Jfjoch_settings::setIndexing(org::openapitools::server::model::Indexing_settings const& value)
|
|
{
|
|
m_Indexing = value;
|
|
m_IndexingIsSet = true;
|
|
}
|
|
bool Jfjoch_settings::indexingIsSet() const
|
|
{
|
|
return m_IndexingIsSet;
|
|
}
|
|
void Jfjoch_settings::unsetIndexing()
|
|
{
|
|
m_IndexingIsSet = false;
|
|
}
|
|
org::openapitools::server::model::Bragg_integration_settings Jfjoch_settings::getBraggIntegration() const
|
|
{
|
|
return m_Bragg_integration;
|
|
}
|
|
void Jfjoch_settings::setBraggIntegration(org::openapitools::server::model::Bragg_integration_settings const& value)
|
|
{
|
|
m_Bragg_integration = value;
|
|
m_Bragg_integrationIsSet = true;
|
|
}
|
|
bool Jfjoch_settings::braggIntegrationIsSet() const
|
|
{
|
|
return m_Bragg_integrationIsSet;
|
|
}
|
|
void Jfjoch_settings::unsetBragg_integration()
|
|
{
|
|
m_Bragg_integrationIsSet = false;
|
|
}
|
|
org::openapitools::server::model::Detector_settings Jfjoch_settings::getDetectorSettings() const
|
|
{
|
|
return m_Detector_settings;
|
|
}
|
|
void Jfjoch_settings::setDetectorSettings(org::openapitools::server::model::Detector_settings const& value)
|
|
{
|
|
m_Detector_settings = value;
|
|
m_Detector_settingsIsSet = true;
|
|
}
|
|
bool Jfjoch_settings::detectorSettingsIsSet() const
|
|
{
|
|
return m_Detector_settingsIsSet;
|
|
}
|
|
void Jfjoch_settings::unsetDetector_settings()
|
|
{
|
|
m_Detector_settingsIsSet = false;
|
|
}
|
|
org::openapitools::server::model::Azim_int_settings Jfjoch_settings::getAzimInt() const
|
|
{
|
|
return m_Azim_int;
|
|
}
|
|
void Jfjoch_settings::setAzimInt(org::openapitools::server::model::Azim_int_settings const& value)
|
|
{
|
|
m_Azim_int = value;
|
|
m_Azim_intIsSet = true;
|
|
}
|
|
bool Jfjoch_settings::azimIntIsSet() const
|
|
{
|
|
return m_Azim_intIsSet;
|
|
}
|
|
void Jfjoch_settings::unsetAzim_int()
|
|
{
|
|
m_Azim_intIsSet = false;
|
|
}
|
|
org::openapitools::server::model::Image_format_settings Jfjoch_settings::getImageFormat() const
|
|
{
|
|
return m_Image_format;
|
|
}
|
|
void Jfjoch_settings::setImageFormat(org::openapitools::server::model::Image_format_settings const& value)
|
|
{
|
|
m_Image_format = value;
|
|
m_Image_formatIsSet = true;
|
|
}
|
|
bool Jfjoch_settings::imageFormatIsSet() const
|
|
{
|
|
return m_Image_formatIsSet;
|
|
}
|
|
void Jfjoch_settings::unsetImage_format()
|
|
{
|
|
m_Image_formatIsSet = false;
|
|
}
|
|
int32_t Jfjoch_settings::getImageBufferMiB() const
|
|
{
|
|
return m_Image_buffer_MiB;
|
|
}
|
|
void Jfjoch_settings::setImageBufferMiB(int32_t const value)
|
|
{
|
|
m_Image_buffer_MiB = value;
|
|
m_Image_buffer_MiBIsSet = true;
|
|
}
|
|
bool Jfjoch_settings::imageBufferMiBIsSet() const
|
|
{
|
|
return m_Image_buffer_MiBIsSet;
|
|
}
|
|
void Jfjoch_settings::unsetImage_buffer_MiB()
|
|
{
|
|
m_Image_buffer_MiBIsSet = false;
|
|
}
|
|
bool Jfjoch_settings::isVerbose() const
|
|
{
|
|
return m_Verbose;
|
|
}
|
|
void Jfjoch_settings::setVerbose(bool const value)
|
|
{
|
|
m_Verbose = value;
|
|
m_VerboseIsSet = true;
|
|
}
|
|
bool Jfjoch_settings::verboseIsSet() const
|
|
{
|
|
return m_VerboseIsSet;
|
|
}
|
|
void Jfjoch_settings::unsetVerbose()
|
|
{
|
|
m_VerboseIsSet = false;
|
|
}
|
|
int32_t Jfjoch_settings::getReceiverThreads() const
|
|
{
|
|
return m_Receiver_threads;
|
|
}
|
|
void Jfjoch_settings::setReceiverThreads(int32_t const value)
|
|
{
|
|
m_Receiver_threads = value;
|
|
m_Receiver_threadsIsSet = true;
|
|
}
|
|
bool Jfjoch_settings::receiverThreadsIsSet() const
|
|
{
|
|
return m_Receiver_threadsIsSet;
|
|
}
|
|
void Jfjoch_settings::unsetReceiver_threads()
|
|
{
|
|
m_Receiver_threadsIsSet = false;
|
|
}
|
|
std::string Jfjoch_settings::getNumaPolicy() const
|
|
{
|
|
return m_Numa_policy;
|
|
}
|
|
void Jfjoch_settings::setNumaPolicy(std::string const& value)
|
|
{
|
|
m_Numa_policy = value;
|
|
m_Numa_policyIsSet = true;
|
|
}
|
|
bool Jfjoch_settings::numaPolicyIsSet() const
|
|
{
|
|
return m_Numa_policyIsSet;
|
|
}
|
|
void Jfjoch_settings::unsetNuma_policy()
|
|
{
|
|
m_Numa_policyIsSet = false;
|
|
}
|
|
std::string Jfjoch_settings::getFrontendDirectory() const
|
|
{
|
|
return m_Frontend_directory;
|
|
}
|
|
void Jfjoch_settings::setFrontendDirectory(std::string const& value)
|
|
{
|
|
m_Frontend_directory = value;
|
|
}
|
|
org::openapitools::server::model::Spot_finding_settings Jfjoch_settings::getSpotFinding() const
|
|
{
|
|
return m_Spot_finding;
|
|
}
|
|
void Jfjoch_settings::setSpotFinding(org::openapitools::server::model::Spot_finding_settings const& value)
|
|
{
|
|
m_Spot_finding = value;
|
|
m_Spot_findingIsSet = true;
|
|
}
|
|
bool Jfjoch_settings::spotFindingIsSet() const
|
|
{
|
|
return m_Spot_findingIsSet;
|
|
}
|
|
void Jfjoch_settings::unsetSpot_finding()
|
|
{
|
|
m_Spot_findingIsSet = false;
|
|
}
|
|
org::openapitools::server::model::Image_pusher_type Jfjoch_settings::getImagePusher() const
|
|
{
|
|
return m_Image_pusher;
|
|
}
|
|
void Jfjoch_settings::setImagePusher(org::openapitools::server::model::Image_pusher_type const& value)
|
|
{
|
|
m_Image_pusher = value;
|
|
}
|
|
org::openapitools::server::model::Zeromq_preview_settings Jfjoch_settings::getZeromqPreview() const
|
|
{
|
|
return m_Zeromq_preview;
|
|
}
|
|
void Jfjoch_settings::setZeromqPreview(org::openapitools::server::model::Zeromq_preview_settings const& value)
|
|
{
|
|
m_Zeromq_preview = value;
|
|
m_Zeromq_previewIsSet = true;
|
|
}
|
|
bool Jfjoch_settings::zeromqPreviewIsSet() const
|
|
{
|
|
return m_Zeromq_previewIsSet;
|
|
}
|
|
void Jfjoch_settings::unsetZeromq_preview()
|
|
{
|
|
m_Zeromq_previewIsSet = false;
|
|
}
|
|
org::openapitools::server::model::Zeromq_metadata_settings Jfjoch_settings::getZeromqMetadata() const
|
|
{
|
|
return m_Zeromq_metadata;
|
|
}
|
|
void Jfjoch_settings::setZeromqMetadata(org::openapitools::server::model::Zeromq_metadata_settings const& value)
|
|
{
|
|
m_Zeromq_metadata = value;
|
|
m_Zeromq_metadataIsSet = true;
|
|
}
|
|
bool Jfjoch_settings::zeromqMetadataIsSet() const
|
|
{
|
|
return m_Zeromq_metadataIsSet;
|
|
}
|
|
void Jfjoch_settings::unsetZeromq_metadata()
|
|
{
|
|
m_Zeromq_metadataIsSet = false;
|
|
}
|
|
org::openapitools::server::model::Dark_mask_settings Jfjoch_settings::getDarkMask() const
|
|
{
|
|
return m_Dark_mask;
|
|
}
|
|
void Jfjoch_settings::setDarkMask(org::openapitools::server::model::Dark_mask_settings const& value)
|
|
{
|
|
m_Dark_mask = value;
|
|
m_Dark_maskIsSet = true;
|
|
}
|
|
bool Jfjoch_settings::darkMaskIsSet() const
|
|
{
|
|
return m_Dark_maskIsSet;
|
|
}
|
|
void Jfjoch_settings::unsetDark_mask()
|
|
{
|
|
m_Dark_maskIsSet = false;
|
|
}
|
|
|
|
|
|
} // namespace org::openapitools::server::model
|
|
|