step/stepcore
StepCore::Factory Class Reference
#include <factory.h>
Public Member Functions | |
const MetaObject * | metaObject (const QString &name) const |
const QHash< QString, const MetaObject * > & | metaObjects () const |
CollisionSolver * | newCollisionSolver (const QString &name) const |
ConstraintSolver * | newConstraintSolver (const QString &name) const |
Item * | newItem (const QString &name) const |
Object * | newObject (const QString &name) const |
Solver * | newSolver (const QString &name) const |
void | registerMetaObject (const MetaObject *metaObject) |
Protected Attributes | |
QHash< QString, const MetaObject * > | _metaObjects |
Detailed Description
List of MetaObject.
Member Function Documentation
const MetaObject * StepCore::Factory::metaObject | ( | const QString & | name | ) | const |
Find MetaObject by name.
Definition at line 33 of file factory.cc.
|
inline |
Get QHash of all registered MetaObject.
CollisionSolver * StepCore::Factory::newCollisionSolver | ( | const QString & | name | ) | const |
Create new CollisionSolver by class name.
Definition at line 59 of file factory.cc.
ConstraintSolver * StepCore::Factory::newConstraintSolver | ( | const QString & | name | ) | const |
Create new ConstraintSolver by class name.
Definition at line 66 of file factory.cc.
Create new Item by class name.
Definition at line 45 of file factory.cc.
Create new Object by class name.
Definition at line 38 of file factory.cc.
Create new Solver by class name.
Definition at line 52 of file factory.cc.
void StepCore::Factory::registerMetaObject | ( | const MetaObject * | metaObject | ) |
Register MetaObject.
Definition at line 28 of file factory.cc.
Member Data Documentation
|
protected |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.