sipxmedialib  Version 3.3
Public Member Functions | Private Member Functions | List of all members
MprNullConstructor Class Reference

MprNullConstructor is used to construct a Null resource (e.g. /dev/null) More...

#include <MprNullConstructor.h>

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

Public Member Functions

 MprNullConstructor (int maxInOutputs=5)
 
virtual ~MprNullConstructor ()
 
virtual OsStatus newResource (const UtlString &resourceName, int maxResourcesToCreate, int &numResourcesCreated, MpResource *resourceArray[])
 Create a new resource. More...
 
- Public Member Functions inherited from MpAudioResourceConstructor
 MpAudioResourceConstructor (const UtlString &resourceType, int minInputs=1, int maxInputs=1, int minOutputs=1, int maxOutputs=1)
 
virtual ~MpAudioResourceConstructor ()
 
- Public Member Functions inherited from MpResourceConstructor
 MpResourceConstructor (const UtlString &resourceType, int minInputs=1, int maxInputs=1, int minOutputs=1, int maxOutputs=1)
 
virtual ~MpResourceConstructor ()
 

Private Member Functions

 MprNullConstructor (const MprNullConstructor &rMprNullConstructor)
 
MprNullConstructoroperator= (const MprNullConstructor &rhs)
 

Additional Inherited Members

- Protected Attributes inherited from MpResourceConstructor
int mMinInputs
 
int mMaxInputs
 
int mMinOutputs
 
int mMaxOutputs
 

Detailed Description

MprNullConstructor is used to construct a Null resource (e.g. /dev/null)

Constructor & Destructor Documentation

MprNullConstructor ( int  maxInOutputs = 5)
inline

Constructor

virtual ~MprNullConstructor ( )
inlinevirtual

Destructor

MprNullConstructor ( const MprNullConstructor rMprNullConstructor)
private

Disabled copy constructor

Member Function Documentation

virtual OsStatus newResource ( const UtlString &  resourceName,
int  maxResourcesToCreate,
int &  numResourcesCreated,
MpResource resourceArray[] 
)
inlinevirtual

Create a new resource.

Implements MpAudioResourceConstructor.

MprNullConstructor& operator= ( const MprNullConstructor rhs)
private

Disable assignment operator