CSCI 3081 - Drone Delivery System
Public Member Functions | List of all members
entity_project::IEntityObserver Class Referenceabstract

Observers entity events when they occur. More...

#include <entity_observer.h>

Inheritance diagram for entity_project::IEntityObserver:
Inheritance graph

Public Member Functions

virtual ~IEntityObserver ()
 Destructor.
 
virtual void OnEvent (const picojson::value &event, const IEntity &entity)=0
 Callback when an event happens.
 

Detailed Description

Observers entity events when they occur.

USAGE: This class is meant to be inhereted by your own entity observer class This class is available in order to enable the observer pattern for entities. A callback function onEvent


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