sipxmedialib  Version 3.3
Protected Attributes | List of all members
MpCodecCallInfoV1 Class Reference

Object-oriented wrapper for codec. More...

#include <MpPlgStaffV1.h>

Inheritance diagram for MpCodecCallInfoV1:
Inheritance graph
[legend]
Collaboration diagram for MpCodecCallInfoV1:
Collaboration graph
[legend]

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
MpCodecCallInfoV1getNext () 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...
 
MpStaticCodecSimpleListbound (MpStaticCodecSimpleList *newItem)
 Add this element head of the list and return pointer to it. More...
 
MpStaticCodecSimpleListgetNext () 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...
 

Detailed Description

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.

Constructor & Destructor Documentation

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 
)
inline

Constructor.

Member Function Documentation

MpCodecCallInfoV1 * getNext ( ) const
inline

Return pointer to next codec in the list.

const UtlString & getModuleName ( ) const
inline

Return module name.

const UtlBoolean isStatic ( ) const
inline

Is codec registered as static or dynamic?

Member Data Documentation

const dlPlgInitV1_2 mPlgInit
const dlPlgGetInfoV1_1 mPlgGetInfo
const dlPlgGetPacketSamplesV1_2 mPlgGetPacketSamples
const dlPlgDecodeV1 mPlgDecode
const dlPlgEncodeV1 mPlgEncode
const dlPlgFreeV1 mPlgFree
const dlPlgGetSignalingDataV1 mPlgSignaling
UtlBoolean mbStatic
protected

Is codec compiled-in or dynamically loaded?

UtlString mModuleName
protected

Dynamic module name. Empty string for compiled-in codecs.