15 #ifndef BORNAGAIN_GUI_MODEL_MODEL_JOBFUNCTIONS_H
16 #define BORNAGAIN_GUI_MODEL_MODEL_JOBFUNCTIONS_H
Abstract base class for instrument-specific item classes.
Provides access to experimental data, for display and fitting. Owns an AbstractDataLoader.
Base class for a GUI data item.
Contains set of functions to extend JobModel functionality. Handles setup of JobItem in fitting conte...
void setupJobItemOutput(JobItem *jobItem)
Setup items intended for storing results of the job.
void copyRealDataItem(JobItem *jobItem, const RealDataItem *realDataItem)
Copy RealDataItem to jobItem intended for fitting.
void setupJobItemForFit(JobItem *jobItem, const RealDataItem *realDataItem)
Setups JobItem for fit.
void setupJobItemInstrument(JobItem *jobItem, const InstrumentItem *from)
Properly copies instrument into job item.
void initDataView(JobItem *job_item)
Initializes Data1DViewItem and assigns it to the passed JobItem.