Interface IMountedDataPage
Represents a section of data in the mounted session, for a requested channel.
The page is the minimum unit of work, much like a virtual memory system. Large pages will result in significant over-read, while very small pages will be unnecessarily inefficient.
Paging could be set based on time, sequence or file offset: it doesn't matter as long as the result is consistent across calls.
Namespace: MESL.SqlRace.Domain.MountedSessions
Assembly: MESL.SqlRace.Domain.dll
Syntax
public interface IMountedDataPage
Properties
SampleSize
Gets the sample width for the requested channel, for use with CopyRawSamples(Byte[], Int32, Int32).
Declaration
int SampleSize { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
TimeRange
Gets the time range (inclusive) represented by this page.
Declaration
TimeRange TimeRange { get; }
Property Value
Type | Description |
---|---|
TimeRange |
Methods
Read(ReadDirection)
Returns a IMountedDataPageReader to read through the page
in the specified direction
.
Declaration
IMountedDataPageReader Read(ReadDirection direction)
Parameters
Type | Name | Description |
---|---|---|
ReadDirection | direction | Read direction. |
Returns
Type | Description |
---|---|
IMountedDataPageReader | Reader. |