Robot Devastation
|
Dummy ImageEventListener used for testing. More...
#include <MockImageEventListener.hpp>
Public Member Functions | |
virtual bool | onImageArrived (ImageManager *manager) |
This function will be called whenever a image arrives to the ImageManager. More... | |
int | getImagesArrived () const |
void | resetImagesArrived () |
Image | getStoredImage () |
Private Attributes | |
int | images_arrived |
Image | stored_image |
The required pure virtual members are left with their function body empty.
This mock object allows to access the received image and has a counter of the incoming images received.
|
virtual |
manager | A reference to the ImageManager that triggered the event |
Implements rd::ImageEventListener.