Example #1
0
 public void ResetDevice()
 {
     this.Stop();
     this.Destroy();
     if (this.Create(CLEyeCameraDevice.CameraUUID(0)))
     {
         this.Start();
     }
 }
Example #2
0
 protected void Dispose(bool disposing)
 {
     if (disposing)
     {
         // free managed resources
         if (Device != null)
         {
             Device.Stop();
             Device.Dispose();
             Device = null;
         }
     }
     // free native resources if there are any.
 }
 public ClEyeImagingEventArgs(CLEyeCameraDevice parent, BitmapFrame bitmap, int frame, long timestamp)
     : base(bitmap, frame, timestamp)
 {
     this.parent = parent;
 }
Example #4
0
 public CLEyeCameraImage()
 {
     Device = new CLEyeCameraDevice();
     Device.BitmapReady += OnBitmapReady;
 }