13 #ifndef _MprNullConstructor_h_ 14 #define _MprNullConstructor_h_ 58 int maxResourcesToCreate,
59 int& numResourcesCreated,
62 assert(maxResourcesToCreate >= 1);
63 numResourcesCreated = 1;
64 resourceArray[0] =
new MprNull(resourceName,
93 #endif // _MprNullConstructor_h_ virtual OsStatus newResource(const UtlString &resourceName, int maxResourcesToCreate, int &numResourcesCreated, MpResource *resourceArray[])
Create a new resource.
Definition: MprNullConstructor.h:57
#define DEFAULT_NULL_RESOURCE_TYPE
Definition: MpResourceFactory.h:27
virtual UtlBoolean disable()
Disable this resource.
Definition: MpResource.cpp:121
MprNullConstructor & operator=(const MprNullConstructor &rhs)
virtual ~MprNullConstructor()
Definition: MprNullConstructor.h:52
int mMaxInputs
Definition: MpResourceConstructor.h:92
Abstract base class for all media processing objects.
Definition: MpResource.h:56
MpAudioResourceConstructor is used to construct a specific audio resource type.
Definition: MpAudioResourceConstructor.h:36
MprNullConstructor(int maxInOutputs=5)
Definition: MprNullConstructor.h:43
The "Null" media processing resource is ground or /dev/null equivalent.
Definition: MprNull.h:35
MprNullConstructor is used to construct a Null resource (e.g. /dev/null)
Definition: MprNullConstructor.h:34