User`s guide
1 Getting Started
1-8
Source File Description
DemoSourceListener.h Definition of class used to listen for changes in the
selected video source
DemoTimestampGetFcn.cpp Implementation of class that provides a custom get
function for the timestamp properties.
DemoTimestampGetFcn.h Definition of class that provides a custom get function
for the timestamp properties.
mwdemoimaq.cpp Implementation of the five functions that every
adaptor must export.
mwdemoimaq.dll Demo adaptor library. This is the compiled and linked
Dynamic Link Library (DLL) that implements the
demo adaptor.
mwdemoimaq.h Header file that defines the five functions that every
adaptor must export
mwdemoimaq.imdf Demo adaptor image device file (IMDF) that contains
property definitions
mwdemoimaq.vcproj
Microsoft
®
Visual C++
®
project file for the demo
adaptor
Viewing the Demo Adaptor Source Files
This section describes a suggested order in which you should look at the demo adaptor
source files.
mwdemoimaq.h
A good place to start looking at the demo adaptor is to open the mwdemoimaq.h file.
This file defines the five functions that every adaptor must export. The toolbox engine
calls these functions to get information about supported hardware, instantiate a video
input object, and acquire data. Implementing these functions is typically the first step
an adaptor writer takes. This header file contains comments that explain the purpose of
each function.
mwdemoimaq.cpp
After seeing the definition of the adaptor exported functions, see how they are
implemented in the corresponding C++ implementation file, mwdemoimaq.cpp.