User`s guide
Implementing the Acquisition Thread Function
5-21
d
Send the packaged frame to the engine, using the IEngine member function
receiveFrame().
5
Increment the frame count using the IAdaptor member function
incrementFrameCount(). Whether you need to send a frame or not, you must
always increment the frame count whenever you acquire a frame.
6
Return to the top of the frame acquisition loop.
The following figure illustrates the frame acquisition loop.
A Possible Algorithm for the Frame Acquisition Loop
Example
The following is a declaration of an acquisition thread function. You can give your
acquisition thread procedure any name, such as acquireThread().
DWORD WINAPI acquireThread(void* ThreadParam);