Lynkeos
Instance Methods | Class Methods | List of all members
MyCalibrationLock Class Reference

This class locks the use of image/movie depending on the state of calibration data. More...

#import <MyCalibrationLock.h>

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

Instance Methods

(BOOL) - addCalibrationItem:
 Add a new calibration item. More...
 
(BOOL) - addImageItem:
 Add a new image item to the list. More...
 
(void) - removeItem:
 Remove one item from the list. More...
 
(LynkeosIntegerSize- calibrationSize
 Get the size of the calibration frames. More...
 

Class Methods

(id) + calibrationLock
 Constructor. More...
 

Detailed Description

This class locks the use of image/movie depending on the state of calibration data.

This class enforces the use of images or movies compatible for calibration purpose.

Method Documentation

- (BOOL) addCalibrationItem: (MyImageListItem*)  item

Add a new calibration item.

Parameters
itemThe new item
Returns
Did the add succeeded ?

A calibration item can be added if it is able to calibrate all the images in the "calibrable" list..

References MyImageListItem::getReader, LynkeosIntegerSize::height, and LynkeosIntegerSize::width.

- (BOOL) addImageItem: (MyImageListItem*)  item

Add a new image item to the list.

Parameters
itemThe new item
Returns
Did the add succeeded ?

An image item can be added if it can be calibrated by all the images in the "calibration" list..

References MyImageListItem::getReader, LynkeosIntegerSize::height, and LynkeosIntegerSize::width.

+ (id) calibrationLock

Constructor.

Returns
An initialized instance of MyCalibrationLock
- (LynkeosIntegerSize) calibrationSize

Get the size of the calibration frames.

Returns
The calibration frames size (null size if no calibration frames)
- (void) removeItem: (MyImageListItem*)  item

Remove one item from the list.

Parameters
itemThe item to be removed

References MyImageListItem::getReader.

Referenced by MyDocument::deleteEntry:.


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