C# 클래스 HandBrake.ApplicationServices.Services.QueueProcessor

The HandBrake Queue
상속: IQueueProcessor
파일 보기 프로젝트 열기: golgol7777/HandBrakeWinSource

공개 메소드들

메소드 설명
Pause ( ) : void

Requests a pause of the encode queue.

QueueProcessor ( IQueueManager queueManager, IEncode encodeService ) : System

Initializes a new instance of the QueueProcessor class.

QueueProcessor ( int instanceId ) : System

Initializes a new instance of the QueueProcessor class. This call also initializes the Encode and QueueManager services

Start ( ) : void

Starts encoding the first job in the queue and continues encoding until all jobs have been encoded.

비공개 메소드들

메소드 설명
EncodeServiceEncodeCompleted ( object sender, HandBrake.ApplicationServices.EventArgs.EncodeCompletedEventArgs e ) : void

After an encode is complete, move onto the next job.

Finish ( ) : void

Perform an action after an encode. e.g a shutdown, standby, restart etc.

InvokeJobProcessingStarted ( HandBrake.ApplicationServices.EventArgs.QueueProgressEventArgs e ) : void

Invoke the JobProcessingStarted event

InvokeQueueCompleted ( EventArgs e ) : void

Invoke the QueueCompleted event.

InvokeQueuePaused ( EventArgs e ) : void

Invoke the QueuePaused event

ProcessNextJob ( ) : void

Run through all the jobs on the queue.

SendToApplication ( string file ) : void

Send a file to a 3rd party application after encoding has completed.

메소드 상세

Pause() 공개 메소드

Requests a pause of the encode queue.
public Pause ( ) : void
리턴 void

QueueProcessor() 공개 메소드

Initializes a new instance of the QueueProcessor class.
/// Services are not setup ///
public QueueProcessor ( IQueueManager queueManager, IEncode encodeService ) : System
queueManager IQueueManager /// The queue manager. ///
encodeService IEncode /// The encode Service. ///
리턴 System

QueueProcessor() 공개 메소드

Initializes a new instance of the QueueProcessor class. This call also initializes the Encode and QueueManager services
public QueueProcessor ( int instanceId ) : System
instanceId int /// The instance id. ///
리턴 System

Start() 공개 메소드

Starts encoding the first job in the queue and continues encoding until all jobs have been encoded.
public Start ( ) : void
리턴 void