Lynkeos
|
This protocol gathers the methods provided to the processing classes by the document. More...
#import <LynkeosProcessing.h>
Public Types | |
enum | ParallelOptimization_t { NoParallelOptimization = 0, FFTW3ThreadsOptimization = 1, ListThreadsOptimizations = 2 } |
Kinds of multiprocessor optimisation. More... | |
Instance Methods | |
(void) | - startProcess:withEnumerator:parameters: |
Start a list processing in several threads. More... | |
(void) | - startProcess:forItem:parameters: |
Start the processing of an single item, in a separate thread. More... | |
(void) | - stopProcess |
Stop the current processing. More... | |
(oneway void) | - itemWasProcessed: |
Signals that an item was used in the process. More... | |
![]() | |
(id< LynkeosProcessingParameter >) | - getProcessingParameterWithRef:forProcessing: |
Returns the required processing parameter. More... | |
(id< LynkeosProcessingParameter >) | - getProcessingParameterWithRef:forProcessing:goUp: |
Returns the required processing parameter. More... | |
(void) | - setProcessingParameter:withRef:forProcessing: |
Updates the required processing parameter. More... | |
This protocol gathers the methods provided to the processing classes by the document.
The document provides the following notifications : LynkeosProcessStartedNotification, LynkeosProcessEndedNotification, LynkeosProcessStackEndedNotification, LynkeosItemChangedNotification, LynkeosItemWasProcessedNotification, LynkeosItemAddedNotification, LynkeosItemRemovedNotification, LynkeosListChangeNotification, LynkeosDataModeChangeNotification.
- (enum) ParallelOptimization_t |
- (oneway void) itemWasProcessed: | (id< LynkeosProcessableItem >) | item |
Signals that an item was used in the process.
This method shall not be called by processes which modify the items ; as it causes an "item changed" notification, this method is at least useless in this case, maybe even harmful.
item | The item which was processed |
- (void) startProcess: | (Class) | processingClass | |
forItem: | (LynkeosProcessableImage *) | item | |
parameters: | (LynkeosImageProcessingParameter *) | params | |
Start the processing of an single item, in a separate thread.
processingClass | The class of the processing object |
item | The item to process |
params | The processing parameters |
- (void) startProcess: | (Class) | processingClass | |
withEnumerator: | (NSEnumerator *) | enumerator | |
parameters: | (id< NSObject >) | params | |
Start a list processing in several threads.
processingClass | The class of the processing objects. |
enumerator | An enumerator of the items to process (ie: of ONLY the items to process). |
params | Volatile parameters needed by the process |
Referenced by MyImageStackerView::stackAction:.
- (void) stopProcess |