#include <framefast.hh>
Public Member Functions | |
| framebuffer_t (int size=0) | |
| Initializes the frame buffer. | |
| framebuffer_t (const framebuffer_t &buf) | |
| Copy constructor. | |
| ~framebuffer_t () | |
| Destructor. | |
| framebuffer_t & | operator= (const framebuffer_t &buf) |
| Assignment operator. | |
| bool | allocate (int size) |
| Allocate an empty memory buffer. | |
| void | deallocate () |
| Deallocate memory buffer. | |
| const char * | data () const |
| data pointer | |
| char * | pos () const |
| position | |
| int | len () const |
| length of memory buffer | |
| int | size () const |
| Size of memory buffer. | |
| void | expand (int len) |
| increase buffer length | |
Protected Attributes | |
| int | fLen |
| Length of frame buffer. | |
| int | fSize |
| Allocated size of frame buffer. | |
| char * | fData |
| Pointer to frame buffer. | |
| bool | fOwn |
| Own data. | |
1.5.4