avcap::CaptureHandler Class Reference

#include <avcap/CaptureHandler.h>


Detailed Description

Abstract base class for capture handlers.

If an application wants to capture data, it must implement a CaptureHandler and must register it with the VidCapManager of the CaptureDevice. The VidCapManager will call handleCaptureEvent() always a new frame has been captured. If the buffer isn't used anymore the IOBuffer::release() method must be called in order to enable the VidCapManager to reuse or release the buffer.


Public Member Functions

 CaptureHandler ()
 Consturctor.
virtual ~CaptureHandler ()
 Destructor.
virtual void handleCaptureEvent (class IOBuffer *io_buf)=0
 This method is called if a new frame has been captured by the VidCapManager.


Constructor & Destructor Documentation

avcap::CaptureHandler::CaptureHandler (  )  [inline]

Consturctor.

virtual avcap::CaptureHandler::~CaptureHandler (  )  [inline, virtual]

Destructor.


Member Function Documentation

virtual void avcap::CaptureHandler::handleCaptureEvent ( class IOBuffer io_buf  )  [pure virtual]

This method is called if a new frame has been captured by the VidCapManager.

If the buffer isn't used anymore, then the method IOBuffer::release() must be called.

Parameters:
io_buf The buffer containing the captured frame.


The documentation for this class was generated from the following file:
Generated on Mon Nov 30 11:10:32 2009 for avcap-0.1 by  doxygen 1.5.1