C# 클래스 GSF.TimeSeries.FrameQueue

Represents a real-time queue of TrackingFrame instances used by the ConcentratorBase class.
상속: IDisposable
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf 1 사용 예제들

공개 메소드들

메소드 설명
Clear ( ) : void

Clears the FrameQueue.

Dispose ( ) : void

Releases all the resources used by the FrameQueue object.

ExamineQueueState ( int expectedMeasurements ) : string

Examines and returns the status of the FrameQueue.

GetFrame ( long ticks ) : GSF.TimeSeries.TrackingFrame

Gets TrackingFrame from the queue with the specified timestamp, in ticks. If no frame exists for the specified timestamp, one will be created.

Ticks can be any point in time so long time requested is greater than time of last published frame; this queue is used in a real-time scenario with time moving forward. If a frame is requested for an old timestamp, null will be returned. Note that frame returned will be "best-fit" for given timestamp based on FramesPerSecond.

Pop ( ) : void

Removes current Head frame from the FrameQueue after it has been processed and assigns a new Head.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases the unmanaged resources used by the FrameQueue object and optionally releases the managed resources.

비공개 메소드들

메소드 설명
FrameQueue ( CreateNewFrameFunction createNewFrame ) : System

Creates a new FrameQueue.

메소드 상세

Clear() 공개 메소드

Clears the FrameQueue.
public Clear ( ) : void
리턴 void

Dispose() 공개 메소드

Releases all the resources used by the FrameQueue object.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Releases the unmanaged resources used by the FrameQueue object and optionally releases the managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
리턴 void

ExamineQueueState() 공개 메소드

Examines and returns the status of the FrameQueue.
public ExamineQueueState ( int expectedMeasurements ) : string
expectedMeasurements int Number of expected measurements per frame.
리턴 string

GetFrame() 공개 메소드

Gets TrackingFrame from the queue with the specified timestamp, in ticks. If no frame exists for the specified timestamp, one will be created.
Ticks can be any point in time so long time requested is greater than time of last published frame; this queue is used in a real-time scenario with time moving forward. If a frame is requested for an old timestamp, null will be returned. Note that frame returned will be "best-fit" for given timestamp based on FramesPerSecond.
public GetFrame ( long ticks ) : GSF.TimeSeries.TrackingFrame
ticks long Timestamp, in ticks, for which to get or create .
리턴 GSF.TimeSeries.TrackingFrame

Pop() 공개 메소드

Removes current Head frame from the FrameQueue after it has been processed and assigns a new Head.
public Pop ( ) : void
리턴 void