BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
FitComparisonController2D::DiffItemController Class Reference

Description

Definition at line 33 of file FitComparisonController.cpp.

Inheritance diagram for FitComparisonController2D::DiffItemController:
[legend]
Collaboration diagram for FitComparisonController2D::DiffItemController:
[legend]

Public Member Functions

 DiffItemController (const QString &data_type, QObject *parent)
 
 ~DiffItemController () override
 
DataItemdiffItem ()
 
void setItem (JobItem *job_item)
 
void subscribe ()
 
void unsubscribe ()
 
void updateDiffData ()
 

Private Attributes

JobItemm_current_item
 
DataItemm_diff_item
 
SessionModelm_tempIntensityDataModel
 

Constructor & Destructor Documentation

◆ DiffItemController()

FitComparisonController2D::DiffItemController::DiffItemController ( const QString &  data_type,
QObject *  parent 
)

◆ ~DiffItemController()

FitComparisonController2D::DiffItemController::~DiffItemController ( )
override

Member Function Documentation

◆ diffItem()

DataItem* FitComparisonController2D::DiffItemController::diffItem ( )

◆ setItem()

void DiffItemController::setItem ( JobItem job_item)

Definition at line 137 of file FitComparisonController.cpp.

References DiffItemController::m_current_item, DiffItemController::subscribe(), DiffItemController::unsubscribe(), and DiffItemController::updateDiffData().

Referenced by FitComparisonController2D::setItem().

Here is the call graph for this function:

◆ subscribe()

void FitComparisonController2D::DiffItemController::subscribe ( )

◆ unsubscribe()

void FitComparisonController2D::DiffItemController::unsubscribe ( )

◆ updateDiffData()

void FitComparisonController2D::DiffItemController::updateDiffData ( )

Member Data Documentation

◆ m_current_item

JobItem* FitComparisonController2D::DiffItemController::m_current_item
private

Definition at line 44 of file FitComparisonController.cpp.

◆ m_diff_item

DataItem* FitComparisonController2D::DiffItemController::m_diff_item
private

Definition at line 46 of file FitComparisonController.cpp.

◆ m_tempIntensityDataModel

SessionModel* FitComparisonController2D::DiffItemController::m_tempIntensityDataModel
private

Definition at line 45 of file FitComparisonController.cpp.


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