Critical Link MityCam SoC Firmware
1.0
Critical Link MityCam SoC Firmware
|
#include <MultipleROISensor.h>
Public Member Functions | |
tcMultipleROISensor (int32 anMaxROIs) | |
virtual | ~tcMultipleROISensor () |
teNackCode | setNumberOfROI (int32 anNumber) |
teNackCode | setMultipleROI (int32 anIndex, ROI asROI) |
int32 | getNumberOfROI () |
int32 | getMaxROI () |
ROI | getROI (int32 anIndex) |
Protected Member Functions | |
virtual teNackCode | programMultipleROI ()=0 |
Protected Attributes | |
ROI * | maWindowROIs |
int32 | mnNumROIs |
int32 | mnMaxROIs |
This class handles most of the book keeping for multiple ROIs. The sub- classer should define validate() appropriately to determine the state of multiple ROI and the valid configuration. programMultipleROI should only return an error if the registers could not be programmed for the specified window.
tcMultipleROISensor::tcMultipleROISensor | ( | int32 | anMaxROIs | ) |
ctor
anMaxROIs | - the maximum number of ROIs the sensor supports. |
|
virtual |
Destructor; frees the array of ROIs used for the sub windows.
int32 SocCamera::tcMultipleROISensor::getMaxROI | ( | ) |
Get the maximum number of windows the sensor can support.
int32 tcMultipleROISensor::getNumberOfROI | ( | ) |
Get the current number of windows to output.
|
protectedpure virtual |
This function is called whenever a public setter is called.
teNackCode tcMultipleROISensor::setMultipleROI | ( | int32 | anIndex, |
ROI | asROI | ||
) |
teNackCode tcMultipleROISensor::setNumberOfROI | ( | int32 | anNumber | ) |
Set the number of windows to image.
anNumber | - the number of windows to image; 1 to disable multiple ROI |
|
protected |
Individual window ROIs; use this for programSensor() to determine the current settings.
|
protected |
The maximum number of ROIs.
|
protected |
The current number of ROIs being set.