Pyrogenesis  trunk
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
BufferedOutputCallback Struct Reference
Inheritance diagram for BufferedOutputCallback:
Inheritance graph
[legend]
Collaboration diagram for BufferedOutputCallback:
Collaboration graph
[legend]

Public Member Functions

 BufferedOutputCallback (OutputFn fn, void *cb_data)
 
 ~BufferedOutputCallback ()
 
virtual void operator() (const char *data, unsigned int length)
 
- Public Member Functions inherited from OutputCB
virtual ~OutputCB ()
 

Public Attributes

char buffer [bufferSize]
 
unsigned int bufferUsed
 
OutputFn fn
 
void * cb_data
 

Static Public Attributes

static const unsigned int bufferSize = 4096
 

Constructor & Destructor Documentation

BufferedOutputCallback::BufferedOutputCallback ( OutputFn  fn,
void *  cb_data 
)
inline
BufferedOutputCallback::~BufferedOutputCallback ( )
inline

Member Function Documentation

virtual void BufferedOutputCallback::operator() ( const char *  data,
unsigned int  length 
)
inlinevirtual

Implements OutputCB.

Member Data Documentation

char BufferedOutputCallback::buffer[bufferSize]
const unsigned int BufferedOutputCallback::bufferSize = 4096
static
unsigned int BufferedOutputCallback::bufferUsed
void* BufferedOutputCallback::cb_data
OutputFn BufferedOutputCallback::fn

The documentation for this struct was generated from the following file: