CSCI3081W Drone Delivery System
POIFactory.h
1 #ifndef POI_FACTORY_H_
2 #define POI_FACTORY_H_
3 
4 #include <vector>
5 
6 #include "POI.h"
7 #include "IEntityFactory.h"
8 
13 class POIFactory : public IEntityFactory {
14  public:
18  virtual ~POIFactory() {}
19 
26  IEntity* createEntity(const JsonObject& entity);
27 };
28 
29 #endif
Composite Factory Interface.
Definition: IEntityFactory.h:11
Represents an entity in a physical system.
Definition: IEntity.h:22
Manages a picojson::object, works with JsonValue to provide implicit casting.
POI Factory to produce POI class.
Definition: POIFactory.h:13
IEntity * createEntity(const JsonObject &entity)
Creates entity using the given JSON object, if possible.
virtual ~POIFactory()
Destructor for POIFactory class.
Definition: POIFactory.h:18