DynExp
Highly flexible laboratory automation for dynamically changing experiments.
Loading...
Searching...
No Matches
DynExpModule::SpectrumViewer::SpectrumViewerBackend Class Reference

#include <SpectrumViewerBackend.h>

+ Inheritance diagram for DynExpModule::SpectrumViewer::SpectrumViewerBackend:

Public Types

enum  StateType { Ready , Warning , Error , Capturing }
 

Signals

void saveData ()
 
void runClicked ()
 
void stopClicked ()
 
void silentChanged (bool)
 
void exposureTimeChanged (int)
 
void lowerLimitChanged (double)
 
void upperLimitChanged (double)
 
void rangesChanged ()
 
void progressChanged (double)
 
void stateChanged (StateType)
 

Public Member Functions

 SpectrumViewerBackend (QObject *parent=nullptr)
 
 ~SpectrumViewerBackend ()=default
 
bool IsSilentFocused () const noexcept
 
QPoint GetExposureTimeRange () const noexcept
 
void SetExposureTimeRange (QPoint Range) noexcept
 
QString GetExposureTimeUnit () const noexcept
 
void SetExposureTimeUnit (QString Unit) noexcept
 
bool IsExposureTimeFocused () const noexcept
 
QPointF GetLimitRange () const noexcept
 
void SetLimitRange (QPointF Range) noexcept
 
QString GetLimitUnit () const noexcept
 
void SetLimitUnit (QString Unit) noexcept
 
bool IsLowerLimitFocused () const noexcept
 
bool IsUpperLimitFocused () const noexcept
 
double GetProgress () const noexcept
 
void SetProgress (double Progress) noexcept
 
StateType GetState () const noexcept
 
void SetState (StateType State) noexcept
 
bool IsSilent () const noexcept
 
void SetSilent (bool Silent) noexcept
 
int GetExposureTime () const noexcept
 
void SetExposureTime (int ExposureTime) noexcept
 
double GetLowerLimit () const noexcept
 
void SetLowerLimit (double LowerLimit) noexcept
 
double GetUpperLimit () const noexcept
 
void SetUpperLimit (double UpperLimit) noexcept
 
DynExpQuick::DynExpLineGraphBackendGetGraph () const
 
DynExpQuick::DynExpLineGraphBackendGetGraph ()
 
Q_INVOKABLE void SetGraphBackend (QObject *Object)
 

Properties

QML_ELEMENTbool SilentFocused
 
QPoint ExposureTimeRange = { 0, 1 }
 
QString ExposureTimeUnit
 
bool ExposureTimeFocused = false
 
QPointF LimitRange = { 0., 1. }
 
QString LimitUnit
 
bool LowerLimitFocused = false
 
bool UpperLimitFocused = false
 
double Progress = 0
 
StateType State = StateType::Ready
 
bool Silent = false
 
int ExposureTime = 0
 
double LowerLimit = .0
 
double UpperLimit = .0
 

Private Attributes

bool SilentFocused = false
 
DynExpQuick::DynExpLineGraphBackendGraph = nullptr
 

Detailed Description

Definition at line 17 of file SpectrumViewerBackend.h.

Member Enumeration Documentation

◆ StateType

Enumerator
Ready 
Warning 
Error 
Capturing 

Definition at line 39 of file SpectrumViewerBackend.h.

Constructor & Destructor Documentation

◆ SpectrumViewerBackend()

DynExpModule::SpectrumViewer::SpectrumViewerBackend::SpectrumViewerBackend ( QObject *  parent = nullptr)

Definition at line 8 of file SpectrumViewerBackend.cpp.

◆ ~SpectrumViewerBackend()

DynExpModule::SpectrumViewer::SpectrumViewerBackend::~SpectrumViewerBackend ( )
default

Member Function Documentation

◆ exposureTimeChanged

void DynExpModule::SpectrumViewer::SpectrumViewerBackend::exposureTimeChanged ( int  )
signal

◆ GetExposureTime()

int DynExpModule::SpectrumViewer::SpectrumViewerBackend::GetExposureTime ( ) const
inlinenoexcept

Definition at line 64 of file SpectrumViewerBackend.h.

◆ GetExposureTimeRange()

QPoint DynExpModule::SpectrumViewer::SpectrumViewerBackend::GetExposureTimeRange ( ) const
inlinenoexcept

Definition at line 46 of file SpectrumViewerBackend.h.

◆ GetExposureTimeUnit()

QString DynExpModule::SpectrumViewer::SpectrumViewerBackend::GetExposureTimeUnit ( ) const
inlinenoexcept

Definition at line 48 of file SpectrumViewerBackend.h.

◆ GetGraph() [1/2]

DynExpQuick::DynExpLineGraphBackend * DynExpModule::SpectrumViewer::SpectrumViewerBackend::GetGraph ( )

Definition at line 120 of file SpectrumViewerBackend.cpp.

◆ GetGraph() [2/2]

DynExpQuick::DynExpLineGraphBackend * DynExpModule::SpectrumViewer::SpectrumViewerBackend::GetGraph ( ) const

Definition at line 112 of file SpectrumViewerBackend.cpp.

◆ GetLimitRange()

QPointF DynExpModule::SpectrumViewer::SpectrumViewerBackend::GetLimitRange ( ) const
inlinenoexcept

Definition at line 51 of file SpectrumViewerBackend.h.

◆ GetLimitUnit()

QString DynExpModule::SpectrumViewer::SpectrumViewerBackend::GetLimitUnit ( ) const
inlinenoexcept

Definition at line 53 of file SpectrumViewerBackend.h.

◆ GetLowerLimit()

double DynExpModule::SpectrumViewer::SpectrumViewerBackend::GetLowerLimit ( ) const
inlinenoexcept

Definition at line 66 of file SpectrumViewerBackend.h.

◆ GetProgress()

double DynExpModule::SpectrumViewer::SpectrumViewerBackend::GetProgress ( ) const
inlinenoexcept

Definition at line 57 of file SpectrumViewerBackend.h.

◆ GetState()

StateType DynExpModule::SpectrumViewer::SpectrumViewerBackend::GetState ( ) const
inlinenoexcept

Definition at line 59 of file SpectrumViewerBackend.h.

◆ GetUpperLimit()

double DynExpModule::SpectrumViewer::SpectrumViewerBackend::GetUpperLimit ( ) const
inlinenoexcept

Definition at line 68 of file SpectrumViewerBackend.h.

◆ IsExposureTimeFocused()

bool DynExpModule::SpectrumViewer::SpectrumViewerBackend::IsExposureTimeFocused ( ) const
inlinenoexcept

Definition at line 50 of file SpectrumViewerBackend.h.

◆ IsLowerLimitFocused()

bool DynExpModule::SpectrumViewer::SpectrumViewerBackend::IsLowerLimitFocused ( ) const
inlinenoexcept

Definition at line 55 of file SpectrumViewerBackend.h.

◆ IsSilent()

bool DynExpModule::SpectrumViewer::SpectrumViewerBackend::IsSilent ( ) const
inlinenoexcept

Definition at line 62 of file SpectrumViewerBackend.h.

◆ IsSilentFocused()

bool DynExpModule::SpectrumViewer::SpectrumViewerBackend::IsSilentFocused ( ) const
inlinenoexcept

Definition at line 45 of file SpectrumViewerBackend.h.

◆ IsUpperLimitFocused()

bool DynExpModule::SpectrumViewer::SpectrumViewerBackend::IsUpperLimitFocused ( ) const
inlinenoexcept

Definition at line 56 of file SpectrumViewerBackend.h.

◆ lowerLimitChanged

void DynExpModule::SpectrumViewer::SpectrumViewerBackend::lowerLimitChanged ( double  )
signal

◆ progressChanged

void DynExpModule::SpectrumViewer::SpectrumViewerBackend::progressChanged ( double  )
signal

◆ rangesChanged

void DynExpModule::SpectrumViewer::SpectrumViewerBackend::rangesChanged ( )
signal

◆ runClicked

void DynExpModule::SpectrumViewer::SpectrumViewerBackend::runClicked ( )
signal

◆ saveData

void DynExpModule::SpectrumViewer::SpectrumViewerBackend::saveData ( )
signal

◆ SetExposureTime()

void DynExpModule::SpectrumViewer::SpectrumViewerBackend::SetExposureTime ( int  ExposureTime)
noexcept

Definition at line 82 of file SpectrumViewerBackend.cpp.

◆ SetExposureTimeRange()

void DynExpModule::SpectrumViewer::SpectrumViewerBackend::SetExposureTimeRange ( QPoint  Range)
noexcept

Definition at line 12 of file SpectrumViewerBackend.cpp.

◆ SetExposureTimeUnit()

void DynExpModule::SpectrumViewer::SpectrumViewerBackend::SetExposureTimeUnit ( QString  Unit)
noexcept

Definition at line 22 of file SpectrumViewerBackend.cpp.

◆ SetGraphBackend()

Q_INVOKABLE void DynExpModule::SpectrumViewer::SpectrumViewerBackend::SetGraphBackend ( QObject *  Object)

Definition at line 125 of file SpectrumViewerBackend.cpp.

◆ SetLimitRange()

void DynExpModule::SpectrumViewer::SpectrumViewerBackend::SetLimitRange ( QPointF  Range)
noexcept

Definition at line 32 of file SpectrumViewerBackend.cpp.

◆ SetLimitUnit()

void DynExpModule::SpectrumViewer::SpectrumViewerBackend::SetLimitUnit ( QString  Unit)
noexcept

Definition at line 42 of file SpectrumViewerBackend.cpp.

◆ SetLowerLimit()

void DynExpModule::SpectrumViewer::SpectrumViewerBackend::SetLowerLimit ( double  LowerLimit)
noexcept

Definition at line 92 of file SpectrumViewerBackend.cpp.

◆ SetProgress()

void DynExpModule::SpectrumViewer::SpectrumViewerBackend::SetProgress ( double  Progress)
noexcept

Definition at line 52 of file SpectrumViewerBackend.cpp.

◆ SetSilent()

void DynExpModule::SpectrumViewer::SpectrumViewerBackend::SetSilent ( bool  Silent)
noexcept

Definition at line 72 of file SpectrumViewerBackend.cpp.

◆ SetState()

void DynExpModule::SpectrumViewer::SpectrumViewerBackend::SetState ( StateType  State)
noexcept

Definition at line 62 of file SpectrumViewerBackend.cpp.

◆ SetUpperLimit()

void DynExpModule::SpectrumViewer::SpectrumViewerBackend::SetUpperLimit ( double  UpperLimit)
noexcept

Definition at line 102 of file SpectrumViewerBackend.cpp.

◆ silentChanged

void DynExpModule::SpectrumViewer::SpectrumViewerBackend::silentChanged ( bool  )
signal

◆ stateChanged

void DynExpModule::SpectrumViewer::SpectrumViewerBackend::stateChanged ( StateType  )
signal

◆ stopClicked

void DynExpModule::SpectrumViewer::SpectrumViewerBackend::stopClicked ( )
signal

◆ upperLimitChanged

void DynExpModule::SpectrumViewer::SpectrumViewerBackend::upperLimitChanged ( double  )
signal

Member Data Documentation

◆ Graph

DynExpQuick::DynExpLineGraphBackend* DynExpModule::SpectrumViewer::SpectrumViewerBackend::Graph = nullptr
private

Definition at line 105 of file SpectrumViewerBackend.h.

◆ SilentFocused

bool DynExpModule::SpectrumViewer::SpectrumViewerBackend::SilentFocused = false
private

Definition at line 89 of file SpectrumViewerBackend.h.

Property Documentation

◆ ExposureTime

int DynExpModule::SpectrumViewer::SpectrumViewerBackend::ExposureTime = 0
readwrite

Definition at line 34 of file SpectrumViewerBackend.h.

◆ ExposureTimeFocused

bool DynExpModule::SpectrumViewer::SpectrumViewerBackend::ExposureTimeFocused = false
read

Definition at line 25 of file SpectrumViewerBackend.h.

◆ ExposureTimeRange

QPoint DynExpModule::SpectrumViewer::SpectrumViewerBackend::ExposureTimeRange = { 0, 1 }
readwrite

Definition at line 23 of file SpectrumViewerBackend.h.

◆ ExposureTimeUnit

QString DynExpModule::SpectrumViewer::SpectrumViewerBackend::ExposureTimeUnit
readwrite

Definition at line 24 of file SpectrumViewerBackend.h.

◆ LimitRange

QPointF DynExpModule::SpectrumViewer::SpectrumViewerBackend::LimitRange = { 0., 1. }
readwrite

Definition at line 26 of file SpectrumViewerBackend.h.

◆ LimitUnit

QString DynExpModule::SpectrumViewer::SpectrumViewerBackend::LimitUnit
readwrite

Definition at line 27 of file SpectrumViewerBackend.h.

◆ LowerLimit

double DynExpModule::SpectrumViewer::SpectrumViewerBackend::LowerLimit = .0
readwrite

Definition at line 35 of file SpectrumViewerBackend.h.

◆ LowerLimitFocused

bool DynExpModule::SpectrumViewer::SpectrumViewerBackend::LowerLimitFocused = false
read

Definition at line 28 of file SpectrumViewerBackend.h.

◆ Progress

double DynExpModule::SpectrumViewer::SpectrumViewerBackend::Progress = 0
readwrite

Definition at line 30 of file SpectrumViewerBackend.h.

◆ Silent

bool DynExpModule::SpectrumViewer::SpectrumViewerBackend::Silent = false
readwrite

Definition at line 33 of file SpectrumViewerBackend.h.

◆ SilentFocused

QML_ELEMENTbool DynExpModule::SpectrumViewer::SpectrumViewerBackend::SilentFocused
read

Definition at line 22 of file SpectrumViewerBackend.h.

◆ State

StateType DynExpModule::SpectrumViewer::SpectrumViewerBackend::State = StateType::Ready
readwrite

Definition at line 31 of file SpectrumViewerBackend.h.

◆ UpperLimit

double DynExpModule::SpectrumViewer::SpectrumViewerBackend::UpperLimit = .0
readwrite

Definition at line 36 of file SpectrumViewerBackend.h.

◆ UpperLimitFocused

bool DynExpModule::SpectrumViewer::SpectrumViewerBackend::UpperLimitFocused = false
read

Definition at line 29 of file SpectrumViewerBackend.h.


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