sipxmedialib
Version 3.3
|
Object-oriented wrapper for codec. More...
#include <MpPlgStaffV1.h>
Public Member Functions | |
Creators | |
MpCodecCallInfoV1 (const char *moduleName, const char *codecModuleName, const dlPlgInitV1_2 plgInit, const dlPlgGetInfoV1_1 plgGetInfo, const dlPlgGetPacketSamplesV1_2 plgGetPacketSamples, const dlPlgDecodeV1 plgDecode, const dlPlgEncodeV1 plgEncode, const dlPlgFreeV1 plgFree, const dlPlgGetSignalingDataV1 plgSignaling, UtlBoolean bStatic=TRUE) | |
Constructor. More... | |
Accessors | |
MpCodecCallInfoV1 * | getNext () const |
Return pointer to next codec in the list. More... | |
const UtlString & | getModuleName () const |
Return module name. More... | |
Inquiry | |
const UtlBoolean | isStatic () const |
Is codec registered as static or dynamic? More... | |
Public Member Functions inherited from MpStaticCodecSimpleList | |
MpStaticCodecSimpleList () | |
Default Constructor. More... | |
MpStaticCodecSimpleList * | bound (MpStaticCodecSimpleList *newItem) |
Add this element head of the list and return pointer to it. More... | |
MpStaticCodecSimpleList * | getNext () const |
Return pointer to next element. More... | |
Public Attributes | |
Wrappers | |
Pointers to actual functions, defined for this codec. | |
const dlPlgInitV1_2 | mPlgInit |
const dlPlgGetInfoV1_1 | mPlgGetInfo |
const dlPlgGetPacketSamplesV1_2 | mPlgGetPacketSamples |
const dlPlgDecodeV1 | mPlgDecode |
const dlPlgEncodeV1 | mPlgEncode |
const dlPlgFreeV1 | mPlgFree |
const dlPlgGetSignalingDataV1 | mPlgSignaling |
Protected Attributes | |
UtlBoolean | mbStatic |
Is codec compiled-in or dynamically loaded? More... | |
UtlString | mModuleName |
Dynamic module name. Empty string for compiled-in codecs. More... | |
Object-oriented wrapper for codec.
This class is used to provide object-oriented access to codecs, which are represented as a set of plain functions originally.
|
inline |
Constructor.
|
inline |
Return pointer to next codec in the list.
|
inline |
Return module name.
|
inline |
Is codec registered as static or dynamic?
const dlPlgInitV1_2 mPlgInit |
const dlPlgGetInfoV1_1 mPlgGetInfo |
const dlPlgGetPacketSamplesV1_2 mPlgGetPacketSamples |
const dlPlgDecodeV1 mPlgDecode |
const dlPlgEncodeV1 mPlgEncode |
const dlPlgFreeV1 mPlgFree |
const dlPlgGetSignalingDataV1 mPlgSignaling |
|
protected |
Is codec compiled-in or dynamically loaded?
|
protected |
Dynamic module name. Empty string for compiled-in codecs.