Lynkeos  1.2
Public Member Functions | Static Public Member Functions | Protected Attributes
MyListProcessing Class Reference

Threadable wrapper class for image list processing. More...

#import <MyListProcessing.h>

Inheritance diagram for MyListProcessing:
Inheritance graph
[legend]

List of all members.

Public Member Functions

(oneway void) - stopProcessing

Static Public Member Functions

(void) + threadWithAttributes:
 Thread creation.

Protected Attributes

MyIntegerRect _cropRectangle
id _delegate
NSEnumerator_list
RGB_darkFrame
RGB_flatField
bool _processEnded
NSData * _result

Detailed Description

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.


Member Function Documentation

- (void) stopProcessing

References _processEnded.

+ (void) threadWithAttributes: (NSDictionary*)  attr

Thread creation.

Parameters:
attrThread 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.


Member Data Documentation

- (MyIntegerRect) _cropRectangle [protected]
- (RGB*) _darkFrame [protected]
- (id) _delegate [protected]
- (RGB*) _flatField [protected]
- (NSEnumerator*) _list [protected]
- (bool) _processEnded [protected]
- (NSData*) _result [protected]

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