Lynkeos
|
The thread controller for image list processing. More...
#import <MyProcessingThread.h>
Instance Methods | |
(oneway void) | - stopProcessing |
Force the thread to exit when next item is processed. More... | |
Class Methods | |
(void) | + threadWithAttributes: |
Thread creation. More... | |
Protected Attributes | |
id< LynkeosProcessing > | _processingInstance |
The processing object ! | |
MyDocument * | _document |
The document controller. | |
NSEnumerator * | _itemList |
Enumerator given at thread creation. | |
id< LynkeosProcessableItem > | _item |
Alternate form: only one item. | |
BOOL | _processEnded |
Controls the run loop. | |
NSProxy * | _proxy |
Our proxy in the main thread. | |
The thread controller for image list processing.
When the thread is started, the controller :
- (oneway void) stopProcessing |
+ (void) threadWithAttributes: | (NSDictionary*) | attr |
Thread creation.
This method creates the thread, establishes the connection with the calling thread, starts a run loop and handle its autorelease pool.
attr | Thread attributes : communication ports in a dictionary |
References MyDocument::processEnded:, MyDocument::processStarted:connection:, and LynkeosThreadConnection::threadPort.