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

MprToOutputDeviceConstructor is used to construct a ToOutputDevice resource. More...

#include <MprToOutputDeviceConstructor.h>

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

Public Member Functions

 MprToOutputDeviceConstructor (MpOutputDeviceManager *defaultManager, MpOutputDeviceHandle defaultDriver=1)
 Constructor. More...
 
virtual ~MprToOutputDeviceConstructor ()
 Destructor. More...
 
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 ()
 

Protected Attributes

MpOutputDeviceManagermpDefaultManager
 
MpOutputDeviceHandle mDefaultDriver
 
- Protected Attributes inherited from MpResourceConstructor
int mMinInputs
 
int mMaxInputs
 
int mMinOutputs
 
int mMaxOutputs
 

Private Member Functions

 MprToOutputDeviceConstructor (const MprToOutputDeviceConstructor &rMprToOutputDeviceConstructor)
 Disable copy constructor. More...
 
MprToOutputDeviceConstructoroperator= (const MprToOutputDeviceConstructor &rhs)
 Disable assignment operator. More...
 

Detailed Description

MprToOutputDeviceConstructor is used to construct a ToOutputDevice resource.

Constructor & Destructor Documentation

MprToOutputDeviceConstructor ( MpOutputDeviceManager defaultManager,
MpOutputDeviceHandle  defaultDriver = 1 
)
inline

Constructor.

virtual ~MprToOutputDeviceConstructor ( )
inlinevirtual

Destructor.

MprToOutputDeviceConstructor ( const MprToOutputDeviceConstructor rMprToOutputDeviceConstructor)
private

Disable copy constructor.

Member Function Documentation

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

Create a new resource.

Implements MpAudioResourceConstructor.

MprToOutputDeviceConstructor& operator= ( const MprToOutputDeviceConstructor rhs)
private

Disable assignment operator.

Member Data Documentation

MpOutputDeviceManager* mpDefaultManager
protected

Manager that will be passed to newly created resources.

MpOutputDeviceHandle mDefaultDriver
protected

Device that will be used for newly created resources.