Lynkeos
Instance Methods | Class Methods | Protected Attributes | List of all members
MyProcessingThread Class Reference

The thread controller for image list processing. More...

#import <MyProcessingThread.h>

Inheritance diagram for MyProcessingThread:
Inheritance graph
[legend]
Collaboration diagram for MyProcessingThread:
Collaboration graph
[legend]

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.
 

Detailed Description

The thread controller for image list processing.

When the thread is started, the controller :

Method Documentation

- (oneway void) stopProcessing

Force the thread to exit when next item is processed.

Returns
None

References _processEnded.

+ (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.

Parameters
attrThread attributes : communication ports in a dictionary

References MyDocument::processEnded:, MyDocument::processStarted:connection:, and LynkeosThreadConnection::threadPort.


The documentation for this class was generated from the following files: