ChirpSim
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros
Classes | Functions
chirp.h File Reference
#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"
Include dependency graph for chirp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Chirp
 The Chirp class implements the simulation model of the Chirp robot. More...
 

Functions

PhysicalObjectchirpFactory (World *world, const QJsonObject &obj)
 chirpFactory follows the PhysicalObject FactoryFunction, creating the Chirp object from a JSON object. More...
 

Function Documentation

PhysicalObject* chirpFactory ( World world,
const QJsonObject &  obj 
)

chirpFactory follows the PhysicalObject FactoryFunction, creating the Chirp object from a JSON object.

See Also
physicalobjectfactory.h
Parameters
worldWorld to put the physical object model in.
objJSON object containing the parameters for the robot.
Returns
A constructed Chirp object.

References RobotRepository::addRobot(), RobotRepository::instance(), jsonObjectToPoint(), and World::world().

Referenced by PhysicalObjectFactory::PhysicalObjectFactory().

Here is the call graph for this function:

Here is the caller graph for this function: