public bool RunTasks(NotifyImageReady liveImageArrived) { if (tasks_ == null) { return(false); } foreach (var task in tasks_) { task.SetShowDelegate(liveImageArrived); task.Run(); } return(true); }
public void SetShowDelegate(NotifyImageReady notifyImageReady) { notifyImageReady_ = notifyImageReady; }
public RunEvent(NotifyImageReady notifyLiveDataReady, NotifyImageReady notifyCaptureDataReady) { notifyLiveDataReady_ = notifyLiveDataReady; notifyLiveDataReady_ += keepImageData; notifyCaptureDataReady_ = notifyCaptureDataReady; }