Mantid
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Typedefs
FuncMinimizerFactory.h File Reference
#include "MantidAPI/DllConfig.h"
#include "MantidKernel/DynamicFactory.h"
#include "MantidKernel/SingletonHolder.h"
#include <vector>

Go to the source code of this file.

Classes

class  Mantid::API::FuncMinimizerFactoryImpl
 The FuncMinimizerFactory class is in charge of the creation of concrete instances of minimizers. More...
 

Namespaces

namespace  Mantid
 Helper class which provides the Collimation Length for SANS instruments.
 
namespace  Mantid::API
 
namespace  Mantid::Kernel
 

Macros

#define DECLARE_FUNCMINIMIZER(classname, username)
 Macro for declaring a new type of minimizers to be used with the FuncMinimizerFactory. More...
 

Typedefs

using Mantid::API::FuncMinimizerFactory = Mantid::Kernel::SingletonHolder< FuncMinimizerFactoryImpl >
 

Macro Definition Documentation

◆ DECLARE_FUNCMINIMIZER

#define DECLARE_FUNCMINIMIZER (   classname,
  username 
)
Value:
namespace { \
Mantid::Kernel::RegistrationHelper register_funcminimizer_##classname( \
((Mantid::API::FuncMinimizerFactory::Instance().subscribe<classname>(#username)), 0)); \
}
This class is simply used in the subscription of classes into the various factories in Mantid.
static T & Instance()
Return a reference to the Singleton instance, creating it if it does not already exist Creation is do...

Macro for declaring a new type of minimizers to be used with the FuncMinimizerFactory.

Definition at line 62 of file FuncMinimizerFactory.h.