15 #import <Foundation/Foundation.h>
16 #import "BXThreadData.h"
65 -(id)initWithInfo :(NSString*)name threadcount:(
int)threadCount sender:(
id)sender executioncallback:(
SEL)executionCallback processingcallback:(
SEL)processingCallback;
98 -(bool)canDispatch :(
int*)pIndex;
id m_sender
Object instance that will execute callbacks.
Definition: BXThreadQueue.h:37
Defines a class to hold data that is transferred to/from the threads processing images using Barcode ...
Definition: BXThreadData.h:21
NSString * m_name
A string representing the name of the thread queue. Set any arbitrary name.
Definition: BXThreadQueue.h:39
int m_threadCount
An int specifying the maximum number of threads to use.
Definition: BXThreadQueue.h:25
SEL m_processingCallback
Callback function to be executed before recognition is performed.
Definition: BXThreadQueue.h:43
Defines a class that manages the threads using Barcode Xpress to perform recognition and decoding of ...
Definition: BXThreadQueue.h:23
bool * m_threadUsed
A boolean array of length m_threadCount.
Definition: BXThreadQueue.h:30
SEL m_executionCallback
Callback function to be executed to perform recognition.
Definition: BXThreadQueue.h:41
NSLock * m_captureMutex
Mutex used to synchronize access to thread control data structures.
Definition: BXThreadQueue.h:35