Mantid
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Friends | List of all members
MantidQt::API::AlgorithmDialogFactoryImpl Class Reference

The AlgorithmDialogFactory is responsible for creating concrete instances of AlgorithmDialog classes. More...

#include <AlgorithmDialogFactory.h>

Inheritance diagram for MantidQt::API::AlgorithmDialogFactoryImpl:
Mantid::Kernel::DynamicFactory< AlgorithmDialog >

Public Member Functions

 AlgorithmDialogFactoryImpl (const AlgorithmDialogFactoryImpl &)=delete
 
AlgorithmDialogFactoryImploperator= (const AlgorithmDialogFactoryImpl &)=delete
 
- Public Member Functions inherited from Mantid::Kernel::DynamicFactory< AlgorithmDialog >
virtual std::shared_ptr< AlgorithmDialog > create (const std::string &className) const
 Creates a new instance of the class with the given name. More...
 
virtual AlgorithmDialog * createUnwrapped (const std::string &className) const
 Creates a new instance of the class with the given name, which is not wrapped in a boost shared_ptr. More...
 
void disableNotifications ()
 Disable notifications. More...
 
 DynamicFactory (const DynamicFactory &)=delete
 
void enableNotifications ()
 Enable notifications. More...
 
bool exists (const std::string &className) const
 Returns true if the given class is currently registered. More...
 
virtual const std::vector< std::string > getKeys () const
 Returns the keys in the map. More...
 
DynamicFactoryoperator= (const DynamicFactory &)=delete
 
void subscribe (const std::string &className)
 Registers the instantiator for the given class with the DynamicFactory. More...
 
void subscribe (const std::string &className, std::unique_ptr< AbstractFactory > pAbstractFactory, SubscribeAction replace=ErrorIfExists)
 Registers the instantiator for the given class with the DynamicFactory. More...
 
void unsubscribe (const std::string &className)
 Unregisters the given class and deletes the instantiator for the class. More...
 
virtual ~DynamicFactory ()=default
 Destroys the DynamicFactory and deletes the instantiators for all registered classes. More...
 

Private Member Functions

 AlgorithmDialogFactoryImpl ()=default
 Private Constructor for singleton class. More...
 
 ~AlgorithmDialogFactoryImpl () override=default
 Private Destructor. More...
 

Friends

struct Mantid::Kernel::CreateUsingNew< AlgorithmDialogFactoryImpl >
 

Additional Inherited Members

- Public Types inherited from Mantid::Kernel::DynamicFactory< AlgorithmDialog >
using AbstractFactory = AbstractInstantiator< AlgorithmDialog >
 A typedef for the instantiator. More...
 
enum  NotificationStatus
 Defines the whether notifications are dispatched. More...
 
enum  SubscribeAction
 Defines replacement behaviour. More...
 
- Public Attributes inherited from Mantid::Kernel::DynamicFactory< AlgorithmDialog >
Poco::NotificationCenter notificationCenter
 Sends notifications to observers. More...
 
- Protected Member Functions inherited from Mantid::Kernel::DynamicFactory< AlgorithmDialog >
 DynamicFactory ()
 Protected constructor for base class. More...
 

Detailed Description

The AlgorithmDialogFactory is responsible for creating concrete instances of AlgorithmDialog classes.

It is implemented as a singleton class.

Author
Martyn Gigg, Tessella plc
Date
24/02/2009

Definition at line 37 of file AlgorithmDialogFactory.h.

Constructor & Destructor Documentation

◆ AlgorithmDialogFactoryImpl() [1/2]

MantidQt::API::AlgorithmDialogFactoryImpl::AlgorithmDialogFactoryImpl ( const AlgorithmDialogFactoryImpl )
delete

◆ AlgorithmDialogFactoryImpl() [2/2]

MantidQt::API::AlgorithmDialogFactoryImpl::AlgorithmDialogFactoryImpl ( )
privatedefault

Private Constructor for singleton class.

◆ ~AlgorithmDialogFactoryImpl()

MantidQt::API::AlgorithmDialogFactoryImpl::~AlgorithmDialogFactoryImpl ( )
overrideprivatedefault

Private Destructor.

Member Function Documentation

◆ operator=()

AlgorithmDialogFactoryImpl & MantidQt::API::AlgorithmDialogFactoryImpl::operator= ( const AlgorithmDialogFactoryImpl )
delete

Friends And Related Function Documentation

◆ Mantid::Kernel::CreateUsingNew< AlgorithmDialogFactoryImpl >

Definition at line 43 of file AlgorithmDialogFactory.h.


The documentation for this class was generated from the following file: