13 #ifndef _MprFromFileConstructor_h_ 14 #define _MprFromFileConstructor_h_ 55 int maxResourcesToCreate,
56 int& numResourcesCreated,
59 assert(maxResourcesToCreate >= 1);
60 numResourcesCreated = 1;
62 resourceArray[0]->
enable();
86 #endif // _MprFromFileConstructor_h_ The "Play audio from file" media processing resource.
Definition: MprFromFile.h:37
virtual ~MprFromFileConstructor()
Destructor.
Definition: MprFromFileConstructor.h:49
MprFromFileConstructor & operator=(const MprFromFileConstructor &rhs)
Disabled assignment operator.
virtual OsStatus newResource(const UtlString &resourceName, int maxResourcesToCreate, int &numResourcesCreated, MpResource *resourceArray[])
Create a new resource.
Definition: MprFromFileConstructor.h:54
MprFromFileConstructor is used to construct a FromFile resource.
Definition: MprFromFileConstructor.h:33
#define DEFAULT_FROM_FILE_RESOURCE_TYPE
Definition: MpResourceFactory.h:21
virtual UtlBoolean enable()
Enable this resource.
Definition: MpResource.cpp:145
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
MprFromFileConstructor()
Constructor.
Definition: MprFromFileConstructor.h:41