#include <QGraphicsItem>
#include <QSharedPointer>
#include <QVector>
#include <QPainter>
#include <QStyleOptionGraphicsItem>
#include <QWidget>
#include <QGraphicsScene>
#include <QJsonObject>
#include <QReadWriteLock>
#include "robot.h"
#include "irsensor.h"
#include "world.h"
#include "physicalobject.h"
Go to the source code of this file.
Classes | |
class | Chirp |
The Chirp class implements the simulation model of the Chirp robot. More... | |
Functions | |
PhysicalObject * | chirpFactory (World *world, const QJsonObject &obj) |
chirpFactory follows the PhysicalObject FactoryFunction, creating the Chirp object from a JSON object. More... | |
PhysicalObject* chirpFactory | ( | World * | world, |
const QJsonObject & | obj | ||
) |
chirpFactory follows the PhysicalObject FactoryFunction, creating the Chirp object from a JSON object.
world | World to put the physical object model in. |
obj | JSON object containing the parameters for the robot. |
References RobotRepository::addRobot(), RobotRepository::instance(), jsonObjectToPoint(), and World::world().
Referenced by PhysicalObjectFactory::PhysicalObjectFactory().