Mantid
Loading...
Searching...
No Matches
IFitScriptGeneratorPresenter.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2020 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"
15
16#include <string>
17#include <vector>
18
19namespace MantidQt {
20namespace MantidWidgets {
21
23
25public:
26 virtual ~IFitScriptGeneratorPresenter() = default;
27
28 virtual void notifyPresenter(ViewEvent const &event, [[maybe_unused]] std::string const &arg1 = "",
29 [[maybe_unused]] std::string const &arg2 = "") = 0;
30 virtual void notifyPresenter(ViewEvent const &event, std::vector<std::string> const &vec) = 0;
31 virtual void notifyPresenter(ViewEvent const &event, FittingMode fittingMode) = 0;
32 virtual void handleAddDomainAccepted(std::vector<Mantid::API::MatrixWorkspace_const_sptr> const &workspaces,
33 FunctionModelSpectra const &workspaceIndices) = 0;
34
35 virtual void openFitScriptGenerator() = 0;
36
37 virtual void setGlobalTies(std::vector<MantidQt::MantidWidgets::GlobalTie> const &globalTies) = 0;
38 virtual void setGlobalParameters(std::vector<MantidQt::MantidWidgets::GlobalParameter> const &globalParameters) = 0;
39};
40
41} // namespace MantidWidgets
42} // namespace MantidQt
#define EXPORT_OPT_MANTIDQT_COMMON
Definition DllOption.h:15
std::vector< T > const * vec
virtual void setGlobalTies(std::vector< MantidQt::MantidWidgets::GlobalTie > const &globalTies)=0
virtual void notifyPresenter(ViewEvent const &event, std::vector< std::string > const &vec)=0
virtual void notifyPresenter(ViewEvent const &event, FittingMode fittingMode)=0
virtual void handleAddDomainAccepted(std::vector< Mantid::API::MatrixWorkspace_const_sptr > const &workspaces, FunctionModelSpectra const &workspaceIndices)=0
virtual void setGlobalParameters(std::vector< MantidQt::MantidWidgets::GlobalParameter > const &globalParameters)=0
virtual void notifyPresenter(ViewEvent const &event, std::string const &arg1="", std::string const &arg2="")=0
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...