Equalizer  1.4.1
Public Member Functions | Static Public Member Functions
co::Buffer Class Reference

A receive buffer, containing the data for a co::ICommand. More...

#include <buffer.h>

List of all members.

Public Member Functions

CO_API Buffer (BufferListener *listener=0)
bool isFree () const

Static Public Member Functions

static CO_API size_t getMinSize ()
 Size of first read on receiver.
static CO_API size_t getCacheSize ()
 'small' CommandCache allocation size

Detailed Description

A receive buffer, containing the data for a co::ICommand.

The buffer does not auto-delete, that is, a BufferPtr is not a smart pointer. The BufferCache uses the BufferListener interface to reuse buffers which are unreferenced, i.e., unused by any ICommand.

Definition at line 41 of file buffer.h.


Member Function Documentation

bool co::Buffer::isFree ( ) const [inline]
Returns:
true if the buffer is no longer in use.

Definition at line 48 of file buffer.h.


The documentation for this class was generated from the following file:
Generated on Mon Nov 26 2012 14:41:50 for Equalizer 1.4.1 by  doxygen 1.7.6.1