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

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

#import <MyListProcessing.h>

Inheritance diagram for MyListProcessing:
Inheritance graph
[legend]

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
 

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.

Method Documentation

◆ stopProcessing()

- (void) stopProcessing

References _processEnded.

◆ threadWithAttributes:()

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

◆ _cropRectangle

- (MyIntegerRect) _cropRectangle
protected

◆ _darkFrame

- (RGB*) _darkFrame
protected

◆ _delegate

- (id) _delegate
protected

◆ _flatField

- (RGB*) _flatField
protected

◆ _list

- (NSEnumerator*) _list
protected

◆ _processEnded

- (bool) _processEnded
protected

Referenced by stopProcessing.

◆ _result

- (NSData*) _result
protected

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