13 #ifndef _MprEncodeConstructor_h_ 14 #define _MprEncodeConstructor_h_ 55 int maxResourcesToCreate,
56 int& numResourcesCreated,
62 assert(maxResourcesToCreate >= 1);
63 numResourcesCreated = 1;
64 resourceArray[0] = pEncode;
90 #endif // _MprEncodeConstructor_h_
MprEncodeConstructor & operator=(const MprEncodeConstructor &rhs)
Disabled assignment operator.
MprEncodeConstructor()
Constructor.
Definition: MprEncodeConstructor.h:41
virtual UtlBoolean disable()
Disable this resource.
Definition: MpResource.cpp:121
MprEncodeConstructor is used to construct a Decode resource.
Definition: MprEncodeConstructor.h:33
The "Encode" media processing resource.
Definition: MprEncode.h:41
virtual OsStatus newResource(const UtlString &resourceName, int maxResourcesToCreate, int &numResourcesCreated, MpResource *resourceArray[])
Create a new resource.
Definition: MprEncodeConstructor.h:54
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
#define DEFAULT_ENCODE_RESOURCE_TYPE
Definition: MpResourceFactory.h:33
virtual ~MprEncodeConstructor()
Destructor.
Definition: MprEncodeConstructor.h:49