Robot Devastation
ImageEventListener.hpp
1 // Authors: see AUTHORS.md at project root.
2 // CopyPolicy: released under the terms of the LGPLv2.1, see LICENSE at project root.
3 // URL: https://github.com/asrob-uc3m/robotDevastation
4 
5 #ifndef __RD_IMAGE_EVENT_LISTENER_HPP__
6 #define __RD_IMAGE_EVENT_LISTENER_HPP__
7 
8 #include "ImageManager.hpp"
9 
10 namespace rd{
11 
12 class ImageManager;
13 
22 {
23  public:
28  virtual bool onImageArrived( ImageManager * manager ) = 0;
29 
30  virtual ~ImageEventListener() {}
31 };
32 
33 }
34 
35 #endif //-- __RD_IMAGE_EVENT_LISTENER_HPP__
rd::ImageEventListener
Interface for objects that can be notified of events related to images.
Definition: ImageEventListener.hpp:21
rd
The main, catch-all namespace for Robot Devastation.
Definition: groups.dox:4
rd::ImageEventListener::onImageArrived
virtual bool onImageArrived(ImageManager *manager)=0
This function will be called whenever a image arrives to the ImageManager.
rd::ImageManager
Generic image input manager.
Definition: ImageManager.hpp:39