sipxmedialib
Version 3.3
|
Class for internal MpBufPool use. More...
Public Member Functions | |
MpBufList * | getNextBuf () |
Get buffer next to current. More... | |
void | setNextBuf (MpBuf *pNext) |
Set buffer next to current. More... | |
int | length () const |
Public Member Functions inherited from MpBuf | |
void | attach () |
Increments reference counter. More... | |
void | detach () |
Decrements reference counter and free buffer if needed. More... | |
void | setFlowGraph (MpFlowGraphBase *flowgraph) |
MP_BUFFERS_TREE | getType () const |
Get buffer type. More... | |
MpBufPool * | getBufferPool () const |
Get parent pool of this buffer. More... | |
Private Member Functions | |
MpBufList (const MpBuf &) | |
Disable copy (and other) constructor. More... | |
MpBufList & | operator= (const MpBuf &) |
Disable assignment operator. More... | |
Friends | |
class | MpBufPool |
Additional Inherited Members | |
Static Protected Member Functions inherited from MpBuf | |
static void | sInitClone (MpBuf *pBuffer) |
Function that initialize buffer after cloning. It adjusts reference counters. More... | |
Protected Attributes inherited from MpBuf | |
MP_BUFFERS_TREE | mType |
Buffer class type. Used for type safety. More... | |
int | mRefCounter |
Reference counter for use with MpBufPtr. More... | |
MpBufPool * | mpPool |
Parent memory pool. More... | |
MpFlowGraphBase * | mpFlowGraph |
Debug pointer to flowgraph in which this buf is used. More... | |
void(* | mpDestroy )(MpBuf *) |
void(* | mpInitClone )(MpBuf *) |
Class for internal MpBufPool use.
This class provides single linked list interface for MpBuf class. It uses MpBuf::mpPool to store pointer to next buffer.
Disable copy (and other) constructor.
This struct will be initialized by init() member.
|
inline |
Get buffer next to current.
|
inline |
Set buffer next to current.
|
inline |
Disable assignment operator.
Buffers may be copied. But do we need this?
|
friend |