コード例 #1
0
ファイル: TaskMgr.cs プロジェクト: fj1981/mvp_frame
 public bool RunTasks(NotifyImageReady liveImageArrived)
 {
     if (tasks_ == null)
     {
         return(false);
     }
     foreach (var task in tasks_)
     {
         task.SetShowDelegate(liveImageArrived);
         task.Run();
     }
     return(true);
 }
コード例 #2
0
 public void SetShowDelegate(NotifyImageReady notifyImageReady)
 {
     notifyImageReady_ = notifyImageReady;
 }
コード例 #3
0
ファイル: RunEvent.cs プロジェクト: fj1981/mvp_frame
 public RunEvent(NotifyImageReady notifyLiveDataReady, NotifyImageReady notifyCaptureDataReady)
 {
     notifyLiveDataReady_    = notifyLiveDataReady;
     notifyLiveDataReady_   += keepImageData;
     notifyCaptureDataReady_ = notifyCaptureDataReady;
 }