<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:΢ÈíÑźÚ
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
hi,kind expert<BR>
<BR>
i want to use DeviceSource.i read code of DeviceSource,DeviceSource is incomplete.i have a trouble to use it.<BR>
<BR>
here in DeviceSource.cpp<BR>
<BR>
void DeviceSource::signalNewFrameData() <FONT color=#ff0000>{//i define signalNewFrameData as a public member function of DeviceSource class in my test<BR></FONT> TaskScheduler* ourScheduler = NULL; //%%% TO BE WRITTEN %%%<BR> DeviceSource* ourDevice = NULL; //%%% TO BE WRITTEN %%%<BR>
if (ourScheduler != NULL) { // sanity check<BR> <FONT color=#ff0000> ourScheduler->triggerEvent(DeviceSource::eventTriggerId, ourDevice);<BR></FONT> }<BR>}<BR>
<BR>
when i call myDeviceSource->signalNewFrameData from seperate thread,what happened in DeviceSource after <FONT color=#ff0000>ourScheduler->triggerEvent(DeviceSource::eventTriggerId, ourDevice); ? that is ,which function in DeviceSource would be excute after ourScheduler->triggerEvent(DeviceSource::eventTriggerId, ourDevice);?</FONT><BR>
<FONT color=#ff0000></FONT> <BR>
<FONT color=#ff0000>any light or any example are much appreciated. thanks a lot.</FONT><BR> </div></body>
</html>