The ParameterFactory class creates parameters for the instrument ParameterMap.
More...
#include <ParameterFactory.h>
|
static std::shared_ptr< Parameter > | create (const std::string &className, const std::string &name, const std::string &visible="true") |
| Creates an instance of a parameter. More...
|
|
template<class C > |
static void | subscribe (const std::string &className) |
| Templated method for parameter subscription. More...
|
|
The ParameterFactory class creates parameters for the instrument ParameterMap.
- Author
- Roman Tolchenov, Tessella plc
- Date
- 19/05/2009
Definition at line 39 of file ParameterFactory.h.
◆ AbstractFactory
◆ FactoryMap
◆ ParameterFactory() [1/2]
Mantid::Geometry::ParameterFactory::ParameterFactory |
( |
| ) |
|
|
private |
Private default constructor.
◆ ParameterFactory() [2/2]
Mantid::Geometry::ParameterFactory::ParameterFactory |
( |
const ParameterFactory & |
| ) |
|
|
private |
Private copy constructor.
◆ create()
std::shared_ptr< Parameter > Mantid::Geometry::ParameterFactory::create |
( |
const std::string & |
className, |
|
|
const std::string & |
name, |
|
|
const std::string & |
visible = "true" |
|
) |
| |
|
static |
◆ operator=()
Private assignment operator.
◆ subscribe()
template<class C >
void Mantid::Geometry::ParameterFactory::subscribe |
( |
const std::string & |
className | ) |
|
|
static |
Templated method for parameter subscription.
- Parameters
-
className | :: The parameter type name |
- Template Parameters
-
Definition at line 65 of file ParameterFactory.h.
References s_map.
◆ s_map
The documentation for this class was generated from the following files: