![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
A convenience holder for all factories. More...
#include <ecvExternalFactory.h>
Public Types | |
| typedef QSharedPointer< Container > | Shared |
| Shared pointer type. More... | |
Public Member Functions | |
| Container () | |
| Default constructor. More... | |
| ccExternalFactory * | getFactoryByName (const QString &factoryName) const |
| Returns factory using its (unique) name as key. More... | |
| void | addFactory (ccExternalFactory *factory) |
| Adds a new factory to the container. More... | |
Static Public Member Functions | |
| static Container::Shared | GetUniqueInstance () |
| static void | SetUniqueInstance (Container::Shared container) |
| Sets the unqiue static instance of the external factories container. More... | |
Protected Attributes | |
| QMap< QString, ccExternalFactory * > | m_factories |
| Set of factories. More... | |
A convenience holder for all factories.
Definition at line 25 of file ecvExternalFactory.h.
| typedef QSharedPointer<Container> ccExternalFactory::Container::Shared |
Shared pointer type.
Definition at line 43 of file ecvExternalFactory.h.
|
inline |
Default constructor.
Definition at line 28 of file ecvExternalFactory.h.
| void ccExternalFactory::Container::addFactory | ( | ccExternalFactory * | factory | ) |
Adds a new factory to the container.
Any previously existing factory with the same name will be overwritten.
| ccExternalFactory* ccExternalFactory::Container::getFactoryByName | ( | const QString & | factoryName | ) | const |
Returns factory using its (unique) name as key.
| factoryName | unique name |
|
static |
Returns the unqiue static instance of the external factories container
|
static |
Sets the unqiue static instance of the external factories container.
A default static instance is provided for convenience but another user defined instance can be declared here instead.
|
protected |
Set of factories.
Definition at line 57 of file ecvExternalFactory.h.