Robot Devastation
Public Member Functions | List of all members
rd::ImageEventListener Class Referenceabstract

Interface for objects that can be notified of events related to images. More...

#include <ImageEventListener.hpp>

Inheritance diagram for rd::ImageEventListener:
rd::GameState rd::MockImageEventListener rd::ProcessorImageEventListener

Public Member Functions

virtual bool onImageArrived (ImageManager *manager)=0
 This function will be called whenever a image arrives to the ImageManager. More...
 

Detailed Description

ImageEventListener follows the observer design pattern.

Member Function Documentation

◆ onImageArrived()

virtual bool rd::ImageEventListener::onImageArrived ( ImageManager manager)
pure virtual
Parameters
managerA reference to the ImageManager that triggered the event

Implemented in rd::GameState, rd::ProcessorImageEventListener, and rd::MockImageEventListener.


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