RTBus Class |
Encapsulates a hardware bus as a stream.
SystemObject
SystemMarshalByRefObject
System.IOStream
IntervalZero.RTX64.RTAPI.IORTBus
Namespace:
IntervalZero.RTX64.RTAPI.IOSystemMarshalByRefObject
System.IOStream
IntervalZero.RTX64.RTAPI.IORTBus
Assembly: IntervalZero.RTX64 (in IntervalZero.RTX64.dll) Version: 3.3.0.0 (File version: 3.5.0)
The RTBus type exposes the following members.
| Name | Description | |
|---|---|---|
| BusDataType |
The bus data type.
| |
| BusNumber |
The bus number.
| |
| CanRead |
Always returns true.
(Overrides StreamCanRead.) | |
| CanSeek |
Always returns true.
(Overrides StreamCanSeek.) | |
| CanWrite |
Always returns true.
(Overrides StreamCanWrite.) | |
| Length |
Gets the mapped length of the bus.
(Overrides StreamLength.) | |
| Position |
Gets or sets the current position (offset from the base address) in the stream.
(Overrides StreamPosition.) | |
| Slot |
The slot on the bus.
|
| Name | Description | |
|---|---|---|
| Flush |
Overrides method Stream.Flush(). Currently, this method does nothing.
(Overrides StreamFlush.) | |
| Read |
Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes.
(Overrides StreamRead(Byte, Int32, Int32).) | |
| Seek |
Sets the position within the current stream.
(Overrides StreamSeek(Int64, SeekOrigin).) | |
| SetLength |
Not supported. Throws a NotSupportedException.
(Overrides StreamSetLength(Int64).) | |
| TranslateBusAddress |
Translates a bus address.
| |
| Write |
Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
(Overrides StreamWrite(Byte, Int32, Int32).) |