Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

ImageGrabber Class Reference

#include <imagegrabber.h>

Inheritance diagram for ImageGrabber:

CommandLineGrabber List of all members.

Public Member Functions

 ImageGrabber (char *filePath, bool isProcess=false)
bool isGrabberProcess ()
virtual bool init ()=0
virtual bool tearDown ()=0
virtual bool grab ()=0

Protected Attributes

char * filePath
bool isProcess

Detailed Description

Abstract class for the different video grabbers used by the SDLVideoView widget.

Author:
Bjoern Erik Nilsen & Fredrik Berg Kjoelstad


Constructor & Destructor Documentation

ImageGrabber::ImageGrabber char *  filePath,
bool  isProcess = false
 

Constructs and initializes the object.

Parameters:
filePath path to the output file grabbed from a device
isProcess true if the process is running in deamon mode, false otherwise


Member Function Documentation

virtual bool ImageGrabber::grab  )  [pure virtual]
 

Abstract function for grabbing an image.

Returns:
true on success, false otherwise

Implemented in CommandLineGrabber.

virtual bool ImageGrabber::init  )  [pure virtual]
 

Abstract function for initializing the grabber.

Returns:
true on success, false otherwise

Implemented in CommandLineGrabber.

bool ImageGrabber::isGrabberProcess  ) 
 

Checks if the process is running in deamon mode.

Returns:
true if it runs in deamon mode, false otherwise

virtual bool ImageGrabber::tearDown  )  [pure virtual]
 

Abstract function for shutting down the grabber.

Returns:
true on success, false otherwise

Implemented in CommandLineGrabber.


The documentation for this class was generated from the following files:
Generated on Thu May 19 01:51:21 2005 for stopmotion.kdevelop by  doxygen 1.4.2