sipxmedialib  Version 3.3
Static Public Member Functions | Static Protected Attributes | Private Attributes | List of all members
MpOssContainer Class Reference

#include <MpOssContainer.h>

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

Public Member Functions

Creators
 MpOssContainer ()
 
 ~MpOssContainer ()
 
Manipulators
MpOssgetOSSDeviceWrapper (const UtlString &ossdev)
 Create new wrapper for name haven't founded in container. More...
 
void excludeFromContainer (MpOss *pDev)
 Excluding wrapper from container. More...
 

Static Public Member Functions

static MpOssContainergetContainer ()
 Creating wrapper and return if it wasn't create yet. More...
 
static void releaseContainer (MpOssContainer *pCont)
 Releasing wrapper if it no longer needed (no references). More...
 
static UtlBoolean excludeWrapperFromContainer (MpOss *pDev)
 Excluding wrapper from container (static version). More...
 

Static Protected Attributes

static MpOssContainermpCont = NULL
 Pointer to allocated class. More...
 
static int refCount = 0
 Number of all MpOSSDeviceWrapperContainer members. More...
 

Private Attributes

OsMutex mMutex
 Internal synchronization mutex. More...
 

Constructor & Destructor Documentation

Member Function Documentation

MpOss * getOSSDeviceWrapper ( const UtlString &  ossdev)

Create new wrapper for name haven't founded in container.

void excludeFromContainer ( MpOss pDev)

Excluding wrapper from container.

MpOssContainer * getContainer ( )
static

Creating wrapper and return if it wasn't create yet.

void releaseContainer ( MpOssContainer pCont)
static

Releasing wrapper if it no longer needed (no references).

UtlBoolean excludeWrapperFromContainer ( MpOss pDev)
static

Excluding wrapper from container (static version).

Member Data Documentation

MpOssContainer * mpCont = NULL
staticprotected

Pointer to allocated class.

int refCount = 0
staticprotected

Number of all MpOSSDeviceWrapperContainer members.

OsMutex mMutex
private

Internal synchronization mutex.