MyProcessingItemProxy Class Reference

Class used to hold the temporary image processing result. More...

#import <MyProcessingItemProxy.h>

Inheritance diagram for MyProcessingItemProxy:

Inheritance graph
[legend]
Collaboration diagram for MyProcessingItemProxy:

Collaboration graph
[legend]

List of all members.

Public Member Functions

(id) - initWithItem:
 Designated initializer.
(MyProcessableImage *) - realItem
 Accessor to the item it is a proxy.
(void) - setKeepResult:
 Set the proxy to keep or discard the intermediate result.
(MyImageBuffer *) - getProcessedImage
 Accessor to the processed image buffer.

Protected Attributes

MyProcessableImage_item
BOOL _keepResult
 Whether to keep the intermediate result.


Detailed Description

Class used to hold the temporary image processing result.

This object act as a proxy for image processing, hence its name. It provides the data to process by taking it from the unchanged real item and stores the temporary processed result for displaying.
When done, its controller will transfer the processed reult back in the real item.


Member Function Documentation

- (id) initWithItem: (MyProcessableImage*)  item  

Designated initializer.

Parameters:
item The item for which this one is a proxy
Returns:
An initialized proxy

- (MyProcessableImage *) realItem  

Accessor to the item it is a proxy.

Returns:
The item being "proxied"

- (void) setKeepResult: (BOOL)  keep  

Set the proxy to keep or discard the intermediate result.

Returns:
YES if it keeps the intermediate result By default, the proxy always takes the data to process from the real item. By setting this option, the proxy takes the data from the previous processing (intermediate result). This allow to accumulate several processings.

- (MyImageBuffer *) getProcessedImage  

Accessor to the processed image buffer.

Returns:
The processed image


The documentation for this class was generated from the following files:
Generated on Sat Mar 22 17:44:52 2008 for Lynkeos by  doxygen 1.5.4