C# 클래스 AK.F1.Timing.Playback.RecordingMessageReader

Provides a AK.F1.Timing.IMessageReader decorator which records the AK.F1.Timing.Messages read from an inner AK.F1.Timing.IMessageReader.
상속: MessageReaderBase
파일 보기 프로젝트 열기: simoneb/ak-f1-timing 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Initialise void
Write void
WriteDelay void

공개 메소드들

메소드 설명
RecordingMessageReader ( IMessageReader inner, Stream output, bool ownsOutput ) : System

Initialises a new instance of the RecordingMessageReader class and specified the inner message reader, the output stream and a value indicating if the decorator owns the output.

RecordingMessageReader ( IMessageReader inner, string path ) : System

Initialises a new instance of the RecordingMessageReader class and specified the inner message reader and the output file path.

보호된 메소드들

메소드 설명
DisposeOfManagedResources ( ) : void
ReadImpl ( ) : Message

비공개 메소드들

메소드 설명
Initialise ( IMessageReader inner, Stream output, bool ownsOutput ) : void
Write ( Message message ) : void
WriteDelay ( ) : void

메소드 상세

DisposeOfManagedResources() 보호된 메소드

protected DisposeOfManagedResources ( ) : void
리턴 void

ReadImpl() 보호된 메소드

protected ReadImpl ( ) : Message
리턴 Message

RecordingMessageReader() 공개 메소드

Initialises a new instance of the RecordingMessageReader class and specified the inner message reader, the output stream and a value indicating if the decorator owns the output.
/// Thrown when or is /// . ///
public RecordingMessageReader ( IMessageReader inner, Stream output, bool ownsOutput ) : System
inner IMessageReader The inner message reader.
output Stream The output stream.
ownsOutput bool if the decorator owns the specified output /// stream, otherwise; .
리턴 System

RecordingMessageReader() 공개 메소드

Initialises a new instance of the RecordingMessageReader class and specified the inner message reader and the output file path.
/// Thrown when or is /// . /// /// Thrown when an IO error occurs whilst creating the internal /// using the supplied arguments. ///
public RecordingMessageReader ( IMessageReader inner, string path ) : System
inner IMessageReader The inner message reader.
path string The output file path.
리턴 System