GFXprim
2D bitmap graphics library with emphasis on speed and correctness
|
A grabber. More...
#include <gp_grabber.h>
Data Fields | |
struct gp_pixmap * | frame |
Pixmap with current frame. | |
int(* | poll )(gp_grabber *self) |
A grabber polling function. | |
int | fd |
Grabber fd suitable for polling. | |
int(* | start )(gp_grabber *self) |
Starts the actuall grabbing. | |
int(* | stop )(gp_grabber *self) |
Stops the grabbing. | |
void(* | exit )(gp_grabber *self) |
Destroys grabber. | |
A grabber.
Definition at line 18 of file gp_grabber.h.
void(* gp_grabber::exit) (gp_grabber *self) |
Destroys grabber.
self | A grabber. |
Closes fd, frees memory, etc.
Definition at line 60 of file gp_grabber.h.
int(* gp_grabber::poll) (gp_grabber *self) |
A grabber polling function.
This function can be either called in a loop.
self | A grabber. |
Definition at line 30 of file gp_grabber.h.
int(* gp_grabber::start) (gp_grabber *self) |
Starts the actuall grabbing.
self | A grabber. |
May be NULL if not needed.
Definition at line 42 of file gp_grabber.h.
int(* gp_grabber::stop) (gp_grabber *self) |
Stops the grabbing.
self | A grabber. |
May be NULL if not needed.
Definition at line 51 of file gp_grabber.h.