CSCI3081W Drone Delivery System
Public Member Functions | List of all members
RechargeStationFactory Class Reference

RechargeStation Factory to produce RechargeStation class. More...

#include <RechargeStationFactory.h>

Inheritance diagram for RechargeStationFactory:
Inheritance graph
[legend]
Collaboration diagram for RechargeStationFactory:
Collaboration graph
[legend]

Public Member Functions

virtual ~RechargeStationFactory ()
 Destroy the Recharge Station Factory object.
 
IEntitycreateEntity (const JsonObject &obj)
 Creates entity using the given JSON object, if possible. More...
 
- Public Member Functions inherited from IEntityFactory
virtual ~IEntityFactory ()
 Destructor for IEntityFactory class.
 

Detailed Description

RechargeStation Factory to produce RechargeStation class.

Member Function Documentation

◆ createEntity()

IEntity* RechargeStationFactory::createEntity ( const JsonObject obj)
virtual

Creates entity using the given JSON object, if possible.

Parameters
entity- JsonObject to be used to create the new entity.
Returns
Entity that was created if it was created successfully, or a nullpointer if creation failed.

Implements IEntityFactory.


The documentation for this class was generated from the following file: