C# 클래스 CyrusBuilt.MonoPi.Devices.PiCamera.PiCameraDevice

An abstraction of the RaspiCam device. RaspiCam is a peripheral camera device designed specifically for use with the Raspberry Pi. The class provides a threaded wrapper around the raspistill utility and thus a means for still capture control. See http://www.raspberrypi.org/wp-content/uploads/2013/07/RaspiCam-Documentation.pdf for instructions on how to install and configure RaspiCam support.
상속: IDisposable
파일 보기 프로젝트 열기: cyrusbuilt/MonoPi

공개 메소드들

메소드 설명
Cancel ( ) : void

Cancels the still capture process, if running.

Dispose ( ) : void

Releases all resource used by the CyrusBuilt.MonoPi.Devices.PiCamera.PiCameraDevice object.

Call Dispose when you are finished using the CyrusBuilt.MonoPi.Devices.PiCamera.PiCameraDevice. The Dispose method leaves the CyrusBuilt.MonoPi.Devices.PiCamera.PiCameraDevice in an unusable state. After calling Dispose, you must release all references to the CyrusBuilt.MonoPi.Devices.PiCamera.PiCameraDevice so the garbage collector can reclaim the memory that the CyrusBuilt.MonoPi.Devices.PiCamera.PiCameraDevice was occupying.

PiCameraDevice ( ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Devices.PiCamera.PiCameraDevice class. This is the default constructor.

PiCameraDevice ( StillCaptureSettings settings ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Devices.PiCamera.PiCameraDevice class with the image capture settings.

Start ( ) : void

Starts the capture process on a separate thread, then immediately returns will the process continues in the background.

보호된 메소드들

메소드 설명
OnCaptureDone ( CaptureDoneEventArgs e ) : void

Raises the CyrusBuilt.MonoPi.Devices.PiCamera.PiCameraDevice.CaptureDone event.

OnCaptureOutputRecieved ( CaptureOutputEventArgs e ) : void

Raises the CyrusBuilt.MonoPi.Devices.PiCamera.PiCameraDevice.CaptureOutputReceived event.

OnCaptureStarted ( CaptureStartEventArgs e ) : void

Raises the CyrusBuilt.MonoPi.Devices.PiCamera.PiCameraDevice.CaptureStarted event.

비공개 메소드들

메소드 설명
MonitorCapture ( ) : void

Monitors the capture process.

메소드 상세

Cancel() 공개 메소드

Cancels the still capture process, if running.
public Cancel ( ) : void
리턴 void

Dispose() 공개 메소드

Releases all resource used by the CyrusBuilt.MonoPi.Devices.PiCamera.PiCameraDevice object.
Call Dispose when you are finished using the CyrusBuilt.MonoPi.Devices.PiCamera.PiCameraDevice. The Dispose method leaves the CyrusBuilt.MonoPi.Devices.PiCamera.PiCameraDevice in an unusable state. After calling Dispose, you must release all references to the CyrusBuilt.MonoPi.Devices.PiCamera.PiCameraDevice so the garbage collector can reclaim the memory that the CyrusBuilt.MonoPi.Devices.PiCamera.PiCameraDevice was occupying.
public Dispose ( ) : void
리턴 void

OnCaptureDone() 보호된 메소드

Raises the CyrusBuilt.MonoPi.Devices.PiCamera.PiCameraDevice.CaptureDone event.
protected OnCaptureDone ( CaptureDoneEventArgs e ) : void
e CaptureDoneEventArgs /// The event arguments. ///
리턴 void

OnCaptureOutputRecieved() 보호된 메소드

Raises the CyrusBuilt.MonoPi.Devices.PiCamera.PiCameraDevice.CaptureOutputReceived event.
protected OnCaptureOutputRecieved ( CaptureOutputEventArgs e ) : void
e CaptureOutputEventArgs /// The event arguments. ///
리턴 void

OnCaptureStarted() 보호된 메소드

Raises the CyrusBuilt.MonoPi.Devices.PiCamera.PiCameraDevice.CaptureStarted event.
protected OnCaptureStarted ( CaptureStartEventArgs e ) : void
e CaptureStartEventArgs /// The event arguments. ///
리턴 void

PiCameraDevice() 공개 메소드

Initializes a new instance of the CyrusBuilt.MonoPi.Devices.PiCamera.PiCameraDevice class. This is the default constructor.
public PiCameraDevice ( ) : System
리턴 System

PiCameraDevice() 공개 메소드

Initializes a new instance of the CyrusBuilt.MonoPi.Devices.PiCamera.PiCameraDevice class with the image capture settings.
public PiCameraDevice ( StillCaptureSettings settings ) : System
settings StillCaptureSettings /// The image capture settings to use. ///
리턴 System

Start() 공개 메소드

Starts the capture process on a separate thread, then immediately returns will the process continues in the background.
public Start ( ) : void
리턴 void