DynExp
Highly flexible laboratory automation for dynamically changing experiments.
DynExp::ConfiguratorBase::UpdateConfigFromDialogResult Struct Reference

Return type of ConfiguratorBase::UpdateConfigFromDialog() indicating the result of the configurator dialog shown to the user to configure an Object's parameters. More...

Public Member Functions

constexpr UpdateConfigFromDialogResult (bool Accepted, bool ResetRequired) noexcept
 Constructs an UpdateConfigFromDialogResult instance. More...
 
constexpr bool IsAccepted () const noexcept
 Returns UpdateConfigFromDialogResult::Accepted. More...
 
constexpr bool IsResetRequired () const noexcept
 Checks whether the corresponding Object has to be reset to apply changed parameters. More...
 

Private Attributes

const bool Accepted
 Has the dialog been accepted clicking 'OK'? More...
 
const bool ResetRequired
 Has the user changed settings which require resetting the corresponding Object? More...
 

Detailed Description

Return type of ConfiguratorBase::UpdateConfigFromDialog() indicating the result of the configurator dialog shown to the user to configure an Object's parameters.

Definition at line 1888 of file Object.h.

Constructor & Destructor Documentation

◆ UpdateConfigFromDialogResult()

constexpr DynExp::ConfiguratorBase::UpdateConfigFromDialogResult::UpdateConfigFromDialogResult ( bool  Accepted,
bool  ResetRequired 
)
inlineconstexprnoexcept

Constructs an UpdateConfigFromDialogResult instance.

Parameters
AcceptedRefer to UpdateConfigFromDialogResult::Accepted.
ResetRequiredRefer to UpdateConfigFromDialogResult::ResetRequired.

Definition at line 1895 of file Object.h.

Member Function Documentation

◆ IsAccepted()

constexpr bool DynExp::ConfiguratorBase::UpdateConfigFromDialogResult::IsAccepted ( ) const
inlineconstexprnoexcept

Returns UpdateConfigFromDialogResult::Accepted.

Definition at line 1898 of file Object.h.

◆ IsResetRequired()

constexpr bool DynExp::ConfiguratorBase::UpdateConfigFromDialogResult::IsResetRequired ( ) const
inlineconstexprnoexcept

Checks whether the corresponding Object has to be reset to apply changed parameters.

Returns
Returns whether UpdateConfigFromDialogResult::Accepted and UpdateConfigFromDialogResult::ResetRequired are true.

Definition at line 1904 of file Object.h.

Member Data Documentation

◆ Accepted

const bool DynExp::ConfiguratorBase::UpdateConfigFromDialogResult::Accepted
private

Has the dialog been accepted clicking 'OK'?

Definition at line 1907 of file Object.h.

◆ ResetRequired

const bool DynExp::ConfiguratorBase::UpdateConfigFromDialogResult::ResetRequired
private

Has the user changed settings which require resetting the corresponding Object?

Definition at line 1908 of file Object.h.


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