#import <LynkeosProcessing.h>


Public Member Functions | |
| (id< LynkeosProcessing >) | - initWithDocument:parameters:precision: |
| Initializes the process instance with its document. | |
| (void) | - processItemWithSinglePrecision: |
| Apply the processing to an item containing single precision data. | |
| (void) | - processItemWithDoublePrecision: |
| Apply the processing to an item containing double precision data. | |
| (void) | - finishProcessing |
| There will be no more items to process. | |
Static Public Member Functions | |
| (BOOL) | + supportParallelization |
| Wether this processing class can be executed in parallel threads. | |
The class will be instantiated in a thread by a processing controller, which will pass it the items to process.
The processing parameters are placed in processing parameters by the associated graphical interface.
The processing results can be placed in parameters or in the "image" attribute of the processed item.
| + (BOOL) supportParallelization |
Wether this processing class can be executed in parallel threads.
| - (id <LynkeosProcessing>) initWithDocument: | (id< LynkeosDocument >) | document | ||
| parameters: | (id< NSObject >) | params | ||
| precision: | (floating_precision_t) | precision | ||
Initializes the process instance with its document.
This method provides access to a proxy of the document which is meant to call exclusively the methods of the LynkeosDocument protocol (as implied by the typing). If another document method needs to be accessed, as a "processable item" for example, its reference shall be provided by the process enumerator (ie: it shall be an item).
| document | The document which data is being processed. | |
| params | Optional parameters for the process | |
| precision | The precision in which Lynkeos is running (needed for plugin processes, wich are not compiled in the main application). |
| - (void) processItemWithSinglePrecision: | (id< LynkeosProcessableItem >) | item |
Apply the processing to an item containing single precision data.
| item | The item to process. There is one method per precision to avoid a precision test at each item processing. |
| - (void) processItemWithDoublePrecision: | (id< LynkeosProcessableItem >) | item |
Apply the processing to an item containing double precision data.
| item | The item to process. |
| - (void) finishProcessing |
There will be no more items to process.
1.5.4