#import <MyProcessingItemProxy.h>


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. | |
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.
| - (id) initWithItem: | (MyProcessableImage*) | item |
Designated initializer.
| item | The item for which this one is a proxy |
| - (MyProcessableImage *) realItem |
Accessor to the item it is a proxy.
| - (void) setKeepResult: | (BOOL) | keep |
Set the proxy to keep or discard the intermediate result.
| - (MyImageBuffer *) getProcessedImage |
Accessor to the processed image buffer.
1.5.4