Mantid
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
MockFitScriptGeneratorPresenter Class Reference

#include <FitScriptGeneratorMockObjects.h>

Inheritance diagram for MockFitScriptGeneratorPresenter:
MantidQt::MantidWidgets::IFitScriptGeneratorPresenter

Public Member Functions

 MOCK_METHOD0 (openFitScriptGenerator, void())
 
 MOCK_METHOD1 (setGlobalParameters, void(std::vector< GlobalParameter > const &globalParameters))
 
 MOCK_METHOD1 (setGlobalTies, void(std::vector< GlobalTie > const &globalTies))
 
 MOCK_METHOD2 (notifyPresenter, void(ViewEvent const &ev, FittingMode fittingMode))
 
 MOCK_METHOD2 (notifyPresenter, void(ViewEvent const &ev, std::vector< std::string > const &vec))
 
 MOCK_METHOD3 (notifyPresenterImpl, void(ViewEvent const &ev, std::string const &arg1, std::string const &arg2))
 
 MockFitScriptGeneratorPresenter (FitScriptGeneratorModel *model)
 
 MockFitScriptGeneratorPresenter (FitScriptGeneratorView *view)
 
void notifyPresenter (ViewEvent const &ev, std::string const &arg1="", std::string const &arg2="") override
 
- Public Member Functions inherited from MantidQt::MantidWidgets::IFitScriptGeneratorPresenter
virtual void notifyPresenter (ViewEvent const &event, FittingMode fittingMode)=0
 
virtual void notifyPresenter (ViewEvent const &event, std::string const &arg1="", std::string const &arg2="")=0
 
virtual void notifyPresenter (ViewEvent const &event, std::vector< std::string > const &vec)=0
 
virtual void openFitScriptGenerator ()=0
 
virtual void setGlobalParameters (std::vector< MantidQt::MantidWidgets::GlobalParameter > const &globalParameters)=0
 
virtual void setGlobalTies (std::vector< MantidQt::MantidWidgets::GlobalTie > const &globalTies)=0
 
virtual ~IFitScriptGeneratorPresenter ()=default
 

Private Attributes

FitScriptGeneratorModelm_model
 
FitScriptGeneratorViewm_view
 

Detailed Description

Definition at line 30 of file FitScriptGeneratorMockObjects.h.

Constructor & Destructor Documentation

◆ MockFitScriptGeneratorPresenter() [1/2]

MockFitScriptGeneratorPresenter::MockFitScriptGeneratorPresenter ( FitScriptGeneratorView view)
inline

◆ MockFitScriptGeneratorPresenter() [2/2]

MockFitScriptGeneratorPresenter::MockFitScriptGeneratorPresenter ( FitScriptGeneratorModel model)
inline

Member Function Documentation

◆ MOCK_METHOD0()

MockFitScriptGeneratorPresenter::MOCK_METHOD0 ( openFitScriptGenerator  ,
void()   
)

◆ MOCK_METHOD1() [1/2]

MockFitScriptGeneratorPresenter::MOCK_METHOD1 ( setGlobalParameters  ,
void(std::vector< GlobalParameter > const &globalParameters)   
)

◆ MOCK_METHOD1() [2/2]

MockFitScriptGeneratorPresenter::MOCK_METHOD1 ( setGlobalTies  ,
void(std::vector< GlobalTie > const &globalTies)   
)

◆ MOCK_METHOD2() [1/2]

MockFitScriptGeneratorPresenter::MOCK_METHOD2 ( notifyPresenter  ,
void(ViewEvent const &ev, FittingMode fittingMode)   
)

◆ MOCK_METHOD2() [2/2]

MockFitScriptGeneratorPresenter::MOCK_METHOD2 ( notifyPresenter  ,
void(ViewEvent const &ev, std::vector< std::string > const &vec)   
)

◆ MOCK_METHOD3()

MockFitScriptGeneratorPresenter::MOCK_METHOD3 ( notifyPresenterImpl  ,
void(ViewEvent const &ev, std::string const &arg1, std::string const &arg2)   
)

◆ notifyPresenter()

void MockFitScriptGeneratorPresenter::notifyPresenter ( ViewEvent const &  ev,
std::string const &  arg1 = "",
std::string const &  arg2 = "" 
)
inlineoverridevirtual

Member Data Documentation

◆ m_model

FitScriptGeneratorModel* MockFitScriptGeneratorPresenter::m_model
private

Definition at line 58 of file FitScriptGeneratorMockObjects.h.

Referenced by MockFitScriptGeneratorPresenter().

◆ m_view

FitScriptGeneratorView* MockFitScriptGeneratorPresenter::m_view
private

Definition at line 57 of file FitScriptGeneratorMockObjects.h.

Referenced by MockFitScriptGeneratorPresenter().


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