Mantid
Loading...
Searching...
No Matches
IMuonFitFunctionModel.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2016 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
9#include "DllOption.h"
10#include "MantidAPI/IFunction.h"
11#include <QObject>
12
13namespace MantidQt {
14namespace MantidWidgets {
15
21public:
22 virtual ~IMuonFitFunctionModel() = default;
23 virtual void setFunction(const Mantid::API::IFunction_sptr func) = 0;
24 virtual void runFit() = 0;
25 virtual void runSequentialFit() = 0;
27 virtual std::vector<std::string> getWorkspaceNamesToFit() const = 0;
28 virtual void setMultiFittingMode(bool enabled) = 0;
29 virtual bool isMultiFittingMode() const = 0;
30 virtual void doRemoveGuess() = 0;
31 virtual void doPlotGuess() = 0;
32 virtual bool hasGuess() const = 0;
33signals:
34 virtual void functionUpdateRequested() = 0;
35 virtual void functionUpdateAndFitRequested(bool sequential) = 0;
36 virtual void userChangedDatasetIndex(int index) = 0;
37 virtual void fitRawDataClicked(bool enabled) = 0;
38};
39
40} // namespace MantidWidgets
41} // namespace MantidQt
#define EXPORT_OPT_MANTIDQT_COMMON
Definition: DllOption.h:15
std::map< DeltaEMode::Type, std::string > index
Definition: DeltaEMode.cpp:19
IMuonFitFunctionModel: set function to fit for a muon fit property browser.
virtual void functionUpdateAndFitRequested(bool sequential)=0
virtual void setMultiFittingMode(bool enabled)=0
virtual Mantid::API::IFunction_sptr getFunction() const =0
virtual void setFunction(const Mantid::API::IFunction_sptr func)=0
virtual void userChangedDatasetIndex(int index)=0
virtual std::vector< std::string > getWorkspaceNamesToFit() const =0
virtual void fitRawDataClicked(bool enabled)=0
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...
std::shared_ptr< IFunction > IFunction_sptr
shared pointer to the function base class
Definition: IFunction.h:732