ImFusion C++ SDK 4.4.0
ImFusion::DicomPluginSettings Class Reference

#include <ImFusion/Dicom/DicomPluginSettings.h>

Provides settings used by different parts of the DicomPlugin. More...

Inheritance diagram for ImFusion::DicomPluginSettings:

Detailed Description

Provides settings used by different parts of the DicomPlugin.

Classes

struct  PacsServer

Public Member Functions

 DicomPluginSettings ()
 Creates a new Settings object and retrieves setting values from the backend.
void configure (const Properties *p) override
 Configure this object instance by de-serializing the given Properties.
void configuration (Properties *p) const override
 Serialize the current object configuration into the given Properties object.
std::vector< DicomPluginSettings::PacsServerpacsServers () const
void setPacsServers (const std::vector< DicomPluginSettings::PacsServer > &servers)
Public Member Functions inherited from ImFusion::Configurable
virtual void configureDefaults ()
 Retrieve the properties of this object, replaces values with their defaults and sets it again.
void registerParameter (ParameterBase *param)
 Register the given Parameter or SubProperty, so that it will be configured during configure()/configuration().
void unregisterParameter (const ParameterBase *param)
 Remove the given Parameter or SubProperty from the list of registered parameters.
 Configurable (const Configurable &rhs)
 Configurable (Configurable &&rhs) noexcept
Configurable & operator= (const Configurable &)
Configurable & operator= (Configurable &&) noexcept

Public Attributes

Parameter< int > cacheSize {"cacheSize", 2048, this}
 Maximum cache size in MB for DICOM datasets.
Parameter< Log::LeveldcmtkLogLevel {"dcmtkLogLevel", Log::Level::Error, this}
 Log level of dcmtk library.
Parameter< Dicom::AnonymizationProfile > anonymisePatients {"anonymisePatients", Dicom::AnonymizationProfile::None, this}
 Option to anonymise any patient related information in all loaded DICOM datasets.
Parameter< std::stringpacsClientAe {"pacsClientAe", "IMFDCMCLIENT", this}
 Application-Entity title of the PACS client.
Parameter< unsigned int > pacsClientPort {"pacsClientPort", 104, this}
 Port of the PACS client.
Parameter< std::stringpacsClientConfiguration {"pacsClientConfiguration", "", this}
 Path to the configuration file of the PACS client. See https://support.dcmtk.org/docs/file_asconfig.html for details.
Parameter< int > pacsConnectionTimeout {"pacsConnectionTimeout", 10, this}
 Timeout of PACS connections.
Public Attributes inherited from ImFusion::Configurable
Signal signalParametersChanged
 Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted.

Additional Inherited Members

Protected Attributes inherited from ImFusion::Configurable
std::vector< Paramm_params
 List of all registered Parameter and SubProperty instances.

Member Function Documentation

◆ configure()

void ImFusion::DicomPluginSettings::configure ( const Properties * p)
overridevirtual

Configure this object instance by de-serializing the given Properties.

The default implementation will do so automatically for all registered Parameter and SubProperty instances.

See also
configuration() for the inverse functionality

Reimplemented from ImFusion::Configurable.

◆ configuration()

void ImFusion::DicomPluginSettings::configuration ( Properties * p) const
overridevirtual

Serialize the current object configuration into the given Properties object.

The default implementation will do so automatically for all registered Parameter and SubProperty instances.

See also
configure() for the inverse functionality

Reimplemented from ImFusion::Configurable.


The documentation for this class was generated from the following file:
  • ImFusion/Dicom/DicomPluginSettings.h
Search Tab / S to search, Esc to close