Click or drag to resize

MemoryX Class

A class for representing a section of shared memory for data exchange.
Inheritance Hierarchy
SystemObject
  Demo3D.Net.IPCMemoryX

Namespace:  Demo3D.Net.IPC
Assembly:  Demo3D.IO (in Demo3D.IO.dll) Version: 14.0.0.10531
Syntax
C#
public abstract class MemoryX

The MemoryX type exposes the following members.

Constructors
  NameDescription
Protected methodMemoryX
Initializes a new instance of the MemoryX class
Top
Properties
  NameDescription
Public propertyAddress
The memory exchange address.
Public propertyLength
The memory exchange length.
Public propertyMemName
The shared memory map or file name (or null for in-core memory).
Public propertyViewHandle
A handle to the view of the memory-mapped file (or null).
Top
Methods
  NameDescription
Public methodAllocMemory
Allocate a sub address range within this memory exchange.
Public methodFree
Free this memory exchange.
Protected methodFreeMemory
Free this memory exchange.
Public methodReadByte
Reads the memory exchange from the specified offset and returns the data as a value.
Public methodReadBytes(Int32, ArraySegmentByte)
Read data out of shared memory into the specified buffer.
Public methodReadBytes(Int32, Int32)
Reads the memory exchange from the specified offset and returns the data as a value.
Public methodReadDoubleLE
Reads the memory exchange from the specified offset and returns the data as a value.
Public methodReadInt16LE
Reads the memory exchange from the specified offset and returns the data as a value.
Public methodReadInt32LE
Reads the memory exchange from the specified offset and returns the data as a value.
Public methodReadInt64LE
Reads the memory exchange from the specified offset and returns the data as a value.
Public methodReadSingleLE
Reads the memory exchange from the specified offset and returns the data as a value.
Public methodReadString
Reads the memory exchange from the specified offset and returns the data as a value.
Public methodReadUInt16LE
Reads the memory exchange from the specified offset and returns the data as a value.
Public methodReadUInt32LE
Reads the memory exchange from the specified offset and returns the data as a value.
Public methodReadUInt64LE
Reads the memory exchange from the specified offset and returns the data as a value.
Public methodWriteByte
Write a value to the memory exchange at the specified offset.
Public methodWriteBytes
Write data into shared memory from the specified buffer.
Public methodWriteDoubleLE
Write a value to the memory exchange at the specified offset.
Public methodWriteInt16LE
Write a value to the memory exchange at the specified offset.
Public methodWriteInt32LE
Write a value to the memory exchange at the specified offset.
Public methodWriteInt64LE
Write a value to the memory exchange at the specified offset.
Public methodWriteSingleLE
Write a value to the memory exchange at the specified offset.
Public methodWriteString
Write a value to the memory exchange at the specified offset.
Public methodWriteUInt16LE
Write a value to the memory exchange at the specified offset.
Public methodWriteUInt32LE
Write a value to the memory exchange at the specified offset.
Public methodWriteUInt64LE
Write a value to the memory exchange at the specified offset.
Top
Events
  NameDescription
Public eventOnFree
Occurs when Free is called, just before the memory is freed.
Top
See Also