|
Lynkeos
1.2
|
Threadable wrapper class for image list processing. More...
#import <MyListProcessing.h>

Instance Methods | |
| (oneway void) | - stopProcessing |
Class Methods | |
| (void) | + threadWithAttributes: |
| Thread creation. More... | |
Protected Attributes | |
| MyIntegerRect | _cropRectangle |
| id | _delegate |
| NSEnumerator * | _list |
| RGB * | _darkFrame |
| RGB * | _flatField |
| bool | _processEnded |
| NSData * | _result |
Threadable wrapper class for image list processing.
It provides the thread environment to run legacy C routines dedicated to image processing.
The objects arguments to thread messages are passed by address inside a NSData because we need the real object, not a proxy (it was never meant
to be a distributed application ;o).
The thread is created when the processing is started. It is done this way to ensure that the best processor is selected. Were the thread created at document opening, the load would vary on the processor where the thread runs, and could be unfavorable when a processing really starts.
| - (void) stopProcessing |
References _processEnded.
| + (void) threadWithAttributes: | (NSDictionary*) | attr |
Thread creation.
| attr | Thread attributes : communication ports in a dictionary |
This method creates the thread, establishes the connection with the calling thread, starts a run loop and handle its autorelease pool.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by stopProcessing.
|
protected |
1.8.15