sipxmedialib
Version 3.3
|
Smart pointer to MpRtpBuf. More...
#include <MpRtpBuf.h>
Additional Inherited Members | |
Public Member Functions inherited from MpDataBufPtr | |
MpDataBufPtr (MpBuf *pDataBuffer, MpBufPool *pHeaderPool=MpDataBuf::smpDefaultPool) | |
Default constructor - construct invalid pointer. More... | |
void | setFlowGraph (MpFlowGraphBase *flowgraph) |
Public Member Functions inherited from MpBufPtr | |
MpBufPtr () | |
Default constructor - construct invalid pointer. More... | |
MpBufPtr (MpBuf *buffer) | |
This constructor owns MpBuf object. More... | |
~MpBufPtr () | |
Destructor. It decrements buffer's reference counter. More... | |
MpBufPtr (const MpBufPtr &buffer) | |
Copy buffer pointer and increment its reference counter. More... | |
MpBufPtr | clone () const |
MpBufPtr & | operator= (const MpBufPtr &bufferPtr) |
Smart assignment. More... | |
bool | operator== (const MpBufPtr &pBuffer) |
Compare two smart pointers. More... | |
bool | operator!= (const MpBufPtr &pBuffer) |
Compare two smart pointers. More... | |
void | release () |
Release buffer we are pointing to. More... | |
void | swap (MpBufPtr &pBuffer) |
Swap to buffers. More... | |
bool | requestWrite () |
Check if buffer is writable and create copy if no. More... | |
int | getBufferNumber () const |
Return number of the buffer in the pool. Use this for debug output. More... | |
void | setFlowGraph (MpFlowGraphBase *flowgraph) |
MpBuf * | operator-> () |
Return pointer to MpBuf. More... | |
const MpBuf * | operator-> () const |
Return readonly pointer to MpBuf. More... | |
MP_BUFFERS_TREE | getType () const |
bool | isValid () const |
Can this pointer be dereferenced? Use this function instead of NULL comparison. More... | |
bool | isWritable () |
You should write to the buffer if and only if this function return true. More... | |
Protected Attributes inherited from MpBufPtr | |
MpBuf * | mpBuffer |
Pointer to real buffer. More... | |