11 #ifndef _MprHookConstructor_h_ 12 #define _MprHookConstructor_h_ 56 int maxResourcesToCreate,
57 int& numResourcesCreated,
60 assert(maxResourcesToCreate >= 1);
61 numResourcesCreated = 1;
62 resourceArray[0] =
new MprHook(resourceName);
63 resourceArray[0]->
enable();
90 #endif // _MprHookConstructor_h_
MprHookConstructor(int maxInOutputs=5)
Definition: MprHookConstructor.h:41
MprHookConstructor & operator=(const MprHookConstructor &rhs)
#define DEFAULT_HOOK_RESOURCE_TYPE
Definition: MpResourceFactory.h:28
virtual UtlBoolean enable()
Enable this resource.
Definition: MpResource.cpp:145
virtual OsStatus newResource(const UtlString &resourceName, int maxResourcesToCreate, int &numResourcesCreated, MpResource *resourceArray[])
Create a new resource.
Definition: MprHookConstructor.h:55
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
The "Hook" media processing resource.
Definition: MprHook.h:35
virtual ~MprHookConstructor()
Definition: MprHookConstructor.h:50
MprHookConstructor is used to construct a Hook resource.
Definition: MprHookConstructor.h:32