Download technical manual

Transcript
CHAPTER 4. AVP ENGINE THREAD
65
ImageDeltaXY_TF
ImageState_TF
Timestamps
CrossoverSearchRegion
CrossoverImage
CrossoverDetected
FOV
ManualSnap
MosaicData
CorrelationWindow
SubImageSize
FullImageSize
LOSRange_CF
CrossoverDetection
Figure 4.10: Data Flow Diagram for CCrossoverDetection
is not guaranteed). Sections 4.6.2 and 4.6.3 describe how to access signal and parameter
data from CAVPEngineThread.
4.6.1 Thread Messaging
Message-passing is accomplished using the existing Windows messaging scheme that is inherited from the CWinThread class. Under Windows messaging, given a pointer to an external thread, a message can be sent to that thread using CWinThread::PostThreadMessage().
As part of a thread's message-handling loop, received messages are dispatched to the appropriate callback function based on message tables dened during compile time. Many
user-dened message have been created for this purpose. In addition, new messages (and
message handler functions) can be created the following procedure may prove useful to
programmers who wish to add messages:
To add new thread message handler functions to one of the CWinThread-derived classes: