BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Interface class for all factories capable of producing SessionItem's. More...
Public Member Functions | |
virtual | ~ItemFactoryInterface ()=default |
virtual std::unique_ptr< SessionItem > | createItem (const model_type &modelType) const =0 |
virtual void | registerItem (const std::string &modelType, item_factory_func_t func, const std::string &label)=0 |
Interface class for all factories capable of producing SessionItem's.
Definition at line 29 of file itemfactoryinterface.h.
|
virtualdefault |
|
pure virtual |
Implemented in ModelView::ItemFactory.
Referenced by InsertNewItemCommandTest::create_command(), ModelView::SessionModel::insertNewItem(), and TEST_F().
|
pure virtual |
Implemented in ModelView::ItemFactory.