BeobotCameraListener Class Reference

BeobotCamera event listener. More...

#include <Beobot/BeobotCamera.H>

List of all members.

Public Member Functions

virtual ~BeobotCameraListener ()
 Destructor.
virtual void newFrame (const Image< PixRGB< byte > > &image, const int frame)=0
 A frame was received.

Detailed Description

BeobotCamera event listener.

The BeoCamListener is called each time a frame is grabbed from the BeobotCamera. This is a virtual base class and users should define their own derived classes that will do something when a frame is received.

Definition at line 53 of file BeobotCamera.H.


Constructor & Destructor Documentation

BeobotCameraListener::~BeobotCameraListener (  )  [virtual]

Destructor.

Definition at line 45 of file BeobotCamera.C.


Member Function Documentation

virtual void BeobotCameraListener::newFrame ( const Image< PixRGB< byte > > &  image,
const int  frame 
) [pure virtual]

A frame was received.

This is called by our grabbing thread and hence will execute in that thread. When overloading this function, you should be careful to enforce that processing done here will be very quick, or you will slow down and possibly choke the grabbing thread.


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:20:11 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3