[Live-devel] about DeviceSource::eventTriggerId

HilmanKevin kevinhilman at hotmail.com
Thu Nov 10 19:49:35 PST 2011


hi,kind expert
 
i want to use DeviceSource.i read code of DeviceSource,DeviceSource is  incomplete.i have a trouble to use it.
 
here in DeviceSource.cpp
 
void DeviceSource::signalNewFrameData() {//i define signalNewFrameData as a public member function of  DeviceSource class in my test
  TaskScheduler* ourScheduler = NULL; //%%% TO BE WRITTEN %%%
  DeviceSource* ourDevice  = NULL; //%%% TO BE WRITTEN %%%
  if (ourScheduler != NULL) { // sanity check
    ourScheduler->triggerEvent(DeviceSource::eventTriggerId, ourDevice);
  }
}
 
when i call myDeviceSource->signalNewFrameData from seperate thread,what happened in DeviceSource after ourScheduler->triggerEvent(DeviceSource::eventTriggerId, ourDevice); ? that is ,which function in DeviceSource would be excute after ourScheduler->triggerEvent(DeviceSource::eventTriggerId, ourDevice);?
 
any light or any example are much appreciated. thanks a lot. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20111111/fb4c7d40/attachment.html>


More information about the live-devel mailing list