User`s guide
Using IAdaptor Abstract Class Virtual Functions
4-3
Using IAdaptor Abstract Class Virtual Functions
The following table lists the pure virtual functions defined by the IAdaptor abstract
class, in alphabetical order. The Demo adaptor included with the Image Acquisition
Toolbox software contains sample implementations of these functions in the file
DemoAdaptor.cpp.
Pure Virtual Function Description with Declaration
closeDevice() Terminates the connection to a device — see “Suggested Algorithm for
closeDevice()” on page 5-13.
virtual bool closeDevice();
getDriverDescription()Returns a character string identifying the device driver used by the
device — see “Specifying Device Driver Identification Information” on
page 5-33.
virtual const char* getDriverDescription() const;
getDriverVersion() Returns a character string identifying the version number of the
device driver used by the device — see “Specifying Device Driver
Identification Information” on page 5-33.
virtual const char* getDriverVersion() const;
getFrameType() Returns the toolbox-defined frame type used to store the images
provided by the device — see “Specifying Frame Type” on page
5-7.
imaqkit::frametypes::FRAMETYPE getFrameType() const;
getMaxHeight() Returns an integer specifying the maximum vertical resolution
(the number of lines) of the image data — see “Specifying Image
Dimensions” on page 5-5.
virtual int getMaxHeight() const;
getMaxWidth() Returns an integer specifying the maximum horizontal resolution (in
pixels) of the image data — see “Specifying Image Dimensions” on
page 5-5.
virtual int getMaxWidth() const;