Lynkeos
List of all members
MyDocument Class Reference

The document controler. More...

#import <MyDocument.h>

Inheritance diagram for MyDocument:
Inheritance graph
[legend]
Collaboration diagram for MyDocument:
Collaboration graph
[legend]

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...
 

Detailed Description

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.

Method Documentation

- (void) addEntry: (MyImageListItem*)  item

Add the item to the current list.

The undo manager is updated for undoing the add

Parameters
itemitem 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

Parameters
itemitem 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.

Parameters
objThe 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.

Parameters
proxyProxy for the created process thread.
cnxThe connection for this thread.

References ThreadControl::_cnx, and ThreadControl::_threaded.

Referenced by MyProcessingThread::threadWithAttributes:.


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