framefast::framewriter::framebuffer_t Class Reference

Frame buffer (data container with smart pointer). More...

#include <framefast.hh>

List of all members.

Public Member Functions

 framebuffer_t (int size=0)
 Initializes the frame buffer.
 framebuffer_t (const framebuffer_t &buf)
 Copy constructor.
 ~framebuffer_t ()
 Destructor.
framebuffer_toperator= (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.


Detailed Description

Frame buffer (data container with smart pointer).
The documentation for this class was generated from the following file:
Generated on Sun Mar 8 19:21:14 2009 for dmt by  doxygen 1.5.4