C# Class 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.
Inheritance: MessageReaderBase
Afficher le fichier Open project: simoneb/ak-f1-timing Class Usage Examples

Private Properties

Свойство Type Description
Initialise void
Write void
WriteDelay void

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
DisposeOfManagedResources ( ) : void
ReadImpl ( ) : Message

Private Methods

Méthode Description
Initialise ( IMessageReader inner, Stream output, bool ownsOutput ) : void
Write ( Message message ) : void
WriteDelay ( ) : void

Method Details

DisposeOfManagedResources() protected méthode

protected DisposeOfManagedResources ( ) : void
Résultat void

ReadImpl() protected méthode

protected ReadImpl ( ) : Message
Résultat Message

RecordingMessageReader() public méthode

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; .
Résultat System

RecordingMessageReader() public méthode

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.
Résultat System