![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <ecvExternalFactory.h>

Classes | |
| class | Container |
| A convenience holder for all factories. More... | |
Public Member Functions | |
| ccExternalFactory (QString factoryName) | |
| Default constructor. More... | |
| QString | getFactoryName () const |
| Returns the (unique) name of the factory. More... | |
| virtual ccHObject * | buildObject (const QString &metaName)=0 |
| Custom object building method. More... | |
Protected Attributes | |
| QString | m_factoryName |
| Name. More... | |
Provides new objects with an external factory This is intendend to be used into plugins. Each plugin may define a new factory by subclassing this class. Factories are then stored in a unique container and used to load custom types.
Definition at line 22 of file ecvExternalFactory.h.
| ccExternalFactory::ccExternalFactory | ( | QString | factoryName | ) |
Default constructor.
| factoryName | unique name |
|
pure virtual |
Custom object building method.
Similar to ccHObject::New but virtual so as to be reimplemented by the plugin.
| metaName | custom object name |
Implemented in G3PointFactory.
|
inline |
Returns the (unique) name of the factory.
Definition at line 66 of file ecvExternalFactory.h.
|
protected |
Name.
Definition at line 77 of file ecvExternalFactory.h.