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

Go to the source code of this file.

Classes

class  Mantid::API::FunctionFactoryImpl
 The FunctionFactory class is in charge of the creation of concrete instances of fitting functions. More...
 

Namespaces

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

Macros

#define DECLARE_FUNCTION(classname)
 Macro for declaring a new type of function to be used with the FunctionFactory. More...
 

Typedefs

using Mantid::API::FunctionFactory = Mantid::Kernel::SingletonHolder< FunctionFactoryImpl >
 
using Mantid::API::FunctionFactoryUpdateNotification = FunctionFactoryImpl::UpdateNotification
 Convenient typedef for an UpdateNotification. More...
 
using Mantid::API::FunctionFactoryUpdateNotification_ptr = const Poco::AutoPtr< FunctionFactoryUpdateNotification > &
 Convenient typedef for an UpdateNotification AutoPtr. More...
 

Macro Definition Documentation

◆ DECLARE_FUNCTION

#define DECLARE_FUNCTION (   classname)
Value:
namespace { \
Mantid::Kernel::RegistrationHelper \
register_function_##classname(((Mantid::API::FunctionFactory::Instance().subscribe<classname>(#classname)), 0)); \
}
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 function to be used with the FunctionFactory.

Definition at line 151 of file FunctionFactory.h.