BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
SimulationFactory.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file Core/Simulation/SimulationFactory.h
6 //! @brief Defines class SimulationFactory.
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2018
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
15 #ifdef SWIG
16 #error no need to expose this header to Swig
17 #endif
18 
19 #ifndef USER_API
20 #ifndef BORNAGAIN_CORE_SIMULATION_SIMULATIONFACTORY_H
21 #define BORNAGAIN_CORE_SIMULATION_SIMULATIONFACTORY_H
22 
23 #include "Base/Utils/IFactory.h"
25 #include <string>
26 
27 //! Registry to create standard pre-defined simulations.
28 //! Used in functional tests, performance measurements, etc.
29 //! @ingroup standard_samples
30 
31 class SimulationFactory : public IFactory<std::string, ISimulation> {
32 public:
34 };
35 
36 #endif // BORNAGAIN_CORE_SIMULATION_SIMULATIONFACTORY_H
37 #endif // USER_API
Defines interface class IFactory.
Defines class GISASSimulation.
Base class for all factories.
Definition: IFactory.h:29
Registry to create standard pre-defined simulations.