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::BufferedOutputCallback ( OutputFn  fn,
void *  cb_data 
)
inline

◆ ~BufferedOutputCallback()

BufferedOutputCallback::~BufferedOutputCallback ( )
inline

Member Function Documentation

◆ operator()()

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

Implements OutputCB.

Member Data Documentation

◆ buffer

char BufferedOutputCallback::buffer[bufferSize]

◆ bufferSize

const unsigned int BufferedOutputCallback::bufferSize = 4096
static

◆ bufferUsed

unsigned int BufferedOutputCallback::bufferUsed

◆ cb_data

void* BufferedOutputCallback::cb_data

◆ fn

OutputFn BufferedOutputCallback::fn

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