Workspace 6.21.5
|
A registry of MeshModelInterface implementations which can be used to create new instances.
#include <Mesh/DataStructures/MeshModelInterface/meshmodelinterfaceregistry.h>
Public Member Functions | |
MeshModelInterface * | createInstance (const QString &name) const |
QStandardItemModel & | getItemModel () |
QStringList | getRegisteredTypes () const |
template<typename T > | |
void | registerType (const QString &name) |
Static Public Member Functions | |
static MeshModelInterfaceRegistry & | getInstance () |
MeshModelInterface * createInstance | ( | const QString & | name | ) | const |
|
static |
QStandardItemModel & getItemModel | ( | ) |
QStringList getRegisteredTypes | ( | ) | const |
|
inline |
Register a class derived from MeshModelInterface under name