ChirpSim
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros
Classes | Typedefs
physicalobjectfactory.h File Reference
#include <QObject>
#include <QMap>
#include <QJsonObject>
#include "PhysicalObjects/physicalobject.h"
#include "world.h"
Include dependency graph for physicalobjectfactory.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PhysicalObjectFactory
 The PhysicalObjectFactory class is a singleton class allowing users to register factories for a PhysicalObject class through a type name. More...
 

Typedefs

typedef PhysicalObjectFactoryFunction (World *, const QJsonObject &)
 FactoryFunction is a function pointer taking in a World object and a JsonObject and returns a pointer to a PhysicalObject. More...
 

Typedef Documentation

typedef PhysicalObject* FactoryFunction(World *, const QJsonObject &)

FactoryFunction is a function pointer taking in a World object and a JsonObject and returns a pointer to a PhysicalObject.

Returns
Pointer to a constructed PhysicalObject.