sipxmedialib  Version 3.3
Classes | Macros
MpDataBuf.h File Reference
#include "mp/MpBuf.h"
#include "mp/MpArrayBuf.h"
Include dependency graph for MpDataBuf.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MpDataBuf
 Stores data in the external buffer. More...
 
class  MpDataBufPtr
 Smart pointer to MpDataBuf. More...
 

Macros

#define MPBUFDATA_FROM_BASE_CONSTRUCTOR(classname, buffer_type, base_classname)
 This constructor owns MpBuf object. More...
 

Macro Definition Documentation

#define MPBUFDATA_FROM_BASE_CONSTRUCTOR (   classname,
  buffer_type,
  base_classname 
)
Value:
classname##Ptr( MpBuf *buffer \
, MpBufPool *pHeaderPool=classname::smpDefaultPool) \
: base_classname##Ptr(buffer, pHeaderPool) \
{ \
if (mpBuffer != NULL) { \
MPBUF_FROM_BASE_CONSTRUCTOR_INIT(classname, buffer_type) \
} \
};
#define MPBUF_FROM_BASE_CONSTRUCTOR_INIT(classname, buffer_type)
Definition: MpBuf.h:390
Base class for all media buffers.
Definition: MpBuf.h:74
Pool of buffers.
Definition: MpBufPool.h:32

This constructor owns MpBuf object.