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

Lightweight object for monitoring image size change. More...

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

Instance Methods

(id) - initWithDocument:
 Dedicated initializer. More...
 
(void) - documentChange:
 Process a change in the document (only PSF change is of interest) More...
 

Class Methods

(void) + documentDidOpen:
 Process the notification of a new document creation. More...
 
(void) + documentWillClose:
 Process the notification of document closing. More...
 

Protected Attributes

NSObject< LynkeosViewDocument > * _document
 Our document.
 
LynkeosIntegerSize _imageSize
 PSF image size.
 

Detailed Description

Lightweight object for monitoring image size change.

When the image size change, the LucyRichardson parameters need to be adjusted (even if the view was not opened).

Method Documentation

- (void) documentChange: (NSNotification*)  notif

Process a change in the document (only PSF change is of interest)

Parameters
notifThe notification

References _document, _imageSize, MyLucyRichardsonParameters::_psf, MyLucyRichardsonViewParameters::_psfKind, LynkeosIntegerSize::height, <LynkeosProcessableItem>::imageSize, K_PROCESS_STACK_REF, and LynkeosIntegerSize::width.

+ (void) documentDidOpen: (NSNotification*)  notif

Process the notification of a new document creation.

It will be used to create a monitor object for the document.

Parameters
notifThe notification
+ (void) documentWillClose: (NSNotification*)  notif

Process the notification of document closing.

Parameters
notifThe notification
- (id) initWithDocument: (NSObject <LynkeosViewDocument>*)  document

Dedicated initializer.

Parameters
documentThe document to monitor
Returns
Initialized monitor object

References _document, _imageSize, and <LynkeosViewDocument>::imageList.


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