class for IController used for transit service. Uses the Model View
Definition: IController.h:15
virtual ~IController()
A destructor for IController.
Definition: IController.h:20
virtual void addEntity(const IEntity &entity)=0
Add the entity to the program.
virtual void updateEntity(const IEntity &entity)=0
To update the entity information and add it to the program.
virtual void sendEventToView(const std::string &event, const JsonObject &details)=0
To allow message to be passed back to the view.
virtual void removeEntity(const IEntity &entity)=0
To remove the entity from the program.
Represents an entity in a physical system.
Definition: IEntity.h:22
Manages a picojson::object, works with JsonValue to provide implicit casting.