RtBus Class
Encapsulates a hardware bus as a stream.
Inheritance Hierarchy
System.Object
System.MarshalByRefObject
ISystem.IO.Stream
IntervalZero.MaxRT.wRTOS.RtApi.IO.RtBus
Namespace:
IntervalZero.MaxRT.wRTOS.RtApi.IO
Assembly:
IntervalZero.MaxRT.wRTOS (in IntervalZero.MaxRT.wRTOS.dll) Version: 1.0.0.0 (File version: 1.0.1)
Syntax
public class RtBus : Stream
The RtBus class exposes the following members.
Constructors
|
|
Name | Description |
|---|---|---|
|
|
Initializes an instance of the Bus class. |
Properties
| Name | Description | |
|---|---|---|
|
|
The bus data type. |
|
|
|
The bus number. |
|
|
|
Always returns true. (Overrides Stream.CanRead.) |
|
|
|
Always returns true. (Overrides Stream.CanSeek.) |
|
|
|
Always returns true. (Overrides Stream.CanWrite.) |
|
|
|
Gets the mapped length of the bus. (Overrides Stream.Length.) |
|
|
|
Gets or sets the current position (offset from the base address) in the stream. (Overrides Stream.Position.) |
|
|
|
The slot on the bus. |
Methods
| Name | Description | |
|---|---|---|
|
|
Overrides method Stream.Flush(). Currently, this method does nothing. (Overrides Stream.Flush.) |
|
|
|
Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes. (Overrides Stream.Read (Byte, Int32, Int32).) |
|
|
|
Sets the position within the current stream. (Overrides Stream;Seek (Int64, SeekOrigin).) |
|
|
|
Not supported. Throws a NotSupportedException. (Overrides Stream;SetLength (Int64).) |
|
|
|
Translates a bus address. |
|
|
|
Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. (Overrides Stream;Write (Byte, Int32, Int32).) |
See Also: