|
Lynkeos
|
The document controler. More...
#import <MyDocument.h>


Instance Methods | |
Accessors | |
Read accessors to the class attributes | |
| (LynkeosIntegerSize) | - calibrationSize |
| (NSDictionary *) | - savedWindowSizes |
GUIActions | |
Coming from window controllers | |
| (void) | - addEntry: |
| Add the item to the current list. More... | |
| (void) | - deleteEntry: |
| Remove the item from the current list. More... | |
| (void) | - changeEntrySelection:value: |
Process management | |
| (oneway void) | - processStarted:connection: |
| Inform the document of the thread creation. More... | |
| (void) | - processEnded: |
| Inform the document of the thread termination. More... | |
Instance Methods inherited from <LynkeosViewDocument> | |
| (id< LynkeosImageList >) | - imageList |
| Images to be processed. | |
| (id< LynkeosImageList >) | - darkFrameList |
| Thermal noise images. | |
| (id< LynkeosImageList >) | - flatFieldList |
| Optical attenuations. | |
| (id< LynkeosImageList >) | - currentList |
| The list under use. | |
| (ListMode_t) | - listMode |
| The mode associated to the list. | |
| (DataMode_t) | - dataMode |
| Whether to act on list or result. | |
| (void) | - setListMode: |
| Set the list we will be working on from now. More... | |
| (void) | - setDataMode: |
| Set the data we will work with. | |
Instance Methods inherited from <LynkeosDocument> | |
| (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... | |
Instance Methods inherited from <LynkeosProcessable> | |
| (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... | |
Additional Inherited Members | |
Public Types inherited from <LynkeosDocument> | |
| enum | ParallelOptimization_t { NoParallelOptimization = 0, FFTW3ThreadsOptimization = 1, ListThreadsOptimizations = 2 } |
| Kinds of multiprocessor optimisation. More... | |
The document controler.
This class controls the actions on the document. It dialogs with MyImageListWindow for GUI interactions and the Models classes for document contents change.
| - (void) addEntry: | (MyImageListItem*) | item |
Add the item to the current list.
The undo manager is updated for undoing the add
| item | item to add to the list |
References MyImageListItem::addChild:, MyImageList::addItem:, and MyImageListItem::getParent.
| - (void) deleteEntry: | (MyImageListItem*) | item |
Remove the item from the current list.
The undo manager is updated for undoing the remove
| item | item to remove from the list |
References MyImageList::deleteItem:, and MyCalibrationLock::removeItem:.
| - (oneway void) processEnded: | (id) | obj |
Inform the document of the thread termination.
This method is synchronous to wait execution before terminating the thread.
| obj | The proxy for the thread that is ending. |
References ThreadControl::_threaded, ProcessStackManager::getParameterForItem:andParam:, ProcessStackManager::nextParameterToProcess:, and LynkeosImageProcessingParameter::processingClass.
Referenced by MyProcessingThread::threadWithAttributes:.
| - (oneway void) processStarted: | (id) | proxy | |
| connection: | (LynkeosThreadConnection*) | cnx | |
Inform the document of the thread creation.
The "obj" proxy cannot be retained. The process ended call will inform of the proxy release.
| proxy | Proxy for the created process thread. |
| cnx | The connection for this thread. |
References ThreadControl::_cnx, and ThreadControl::_threaded.
Referenced by MyProcessingThread::threadWithAttributes:.
1.8.4