Port nodes are the connection to the remote device. More...
Public Member Functions | |
void | Read (long address, IntPtr bufferPointer, long bufferLength) |
Reads memory from the remote device into the given buffer. More... | |
unsafe void | Read (long address, byte[] buffer) |
Reads memory from the remote device into the given buffer . More... | |
void | Write (long address, IntPtr bufferPointer, long bufferLength) |
Writes memory from the given buffer to the remote device. More... | |
unsafe void | Write (long address, byte[] buffer) |
Writes the the given buffer to the remote device. More... | |
![]() | |
void | Dispose () |
Disposes the native object wrapped by this object immediately. More... | |
void | Close () |
Alias of the Dispose() method. More... | |
void | Read (long address, IntPtr bufferPointer, long bufferLength) |
Reads memory from the remote device into the given buffer. More... | |
void | Read (long address, byte[] buffer) |
Reads memory from the remote device into the given buffer . More... | |
void | Write (long address, IntPtr bufferPointer, long bufferLength) |
Writes memory from the given buffer to the remote device. More... | |
void | Write (long address, byte[] buffer) |
Writes the the given buffer to the remote device. More... | |
Additional Inherited Members | |
![]() | |
void | Detach () |
Detaches this Image object from the native object. More... | |
virtual void | Dispose (bool disposing) |
IDispose helper function. More... | |
![]() | |
readonly IntPtr | UpdatedCallbackID |
Identifier of the registered updated callback. | |
![]() | |
bool | IsDisposed [get] |
Tests whether the native handle has been disposed. | |
IntPtr | Handle [get] |
Native CVB NODE handle. More... | |
NodeMap | NodeMap [get] |
Gets the GenApi.NodeMap this node resides in. | |
string | Name [get] |
Gets the full name of this node. More... | |
string | ToolTip [get] |
Gets the short descriptive text of this node. More... | |
string | Description [get] |
Gets the long descriptive text of this node. More... | |
AccessMode | AccessMode [get] |
Gets the GenApi.AccessMode of this node. | |
bool | IsImplemented [get] |
AccessMode helper to check whether this node is implemented. | |
bool | IsAvailable [get] |
AccessMode helper to check whether this node is available. | |
bool | IsReadable [get] |
AccessMode helper to check whether this node is readable. | |
bool | IsWritable [get] |
AccessMode helper to check whether this node is writable. | |
CacheMode | CacheMode [get] |
Gets the cache mode of this node. More... | |
string | EventID [get] |
Nodes with an event identifier may become invalidated, if an event / message is delivered from the device. | |
bool | IsFeature [get] |
Returns whether this node is considered a feature node. More... | |
bool | IsDeprecated [get] |
Gets whether this node is considered deprecated. More... | |
Visibility | Visibility [get] |
Gets the complexity level of this node. More... | |
Node | AliasNode [get] |
Gets the node, that is an alias value for this node. More... | |
![]() | |
IntPtr | Handle [get] |
The native handle of the object. | |
bool | IsDisposed [get] |
Possibility to check whether the object has already been disposed of. | |
![]() | |
INodeMap | NodeMap [get] |
Gets the INodeMap this node resides in. | |
string | Name [get] |
Gets the full name of this node. More... | |
string | ToolTip [get] |
Gets the short descriptive text of this node. More... | |
string | Description [get] |
Gets the long descriptive text of this node. More... | |
AccessMode | AccessMode [get] |
Gets the GenApi.AccessMode of this node. | |
bool | IsImplemented [get] |
AccessMode helper to check whether this node is implemented. | |
bool | IsAvailable [get] |
AccessMode helper to check whether this node is available. | |
bool | IsReadable [get] |
AccessMode helper to check whether this node is readable. | |
bool | IsWritable [get] |
AccessMode helper to check whether this node is writable. | |
CacheMode | CacheMode [get] |
Gets the cache mode of this node. More... | |
string | EventID [get] |
Nodes with an event identifier may become invalidated if an event/message is delivered from the device. | |
bool | IsFeature [get] |
Gets whether this node is considered a feature node. More... | |
bool | IsDeprecated [get] |
Gets whether this node is considered deprecated. More... | |
Visibility | Visibility [get] |
Gets the complexity level of this node. More... | |
INode | AliasNode [get] |
Gets the node that is an alias value for this node. More... | |
![]() | |
NativeHandleEventDelegate | ObjectDisposing |
Raised when this object is about to be disposed via the IDisposable.Dispose method. More... | |
EventHandler | Updated |
Event signaling that a node property has been updated. More... | |
![]() | |
NativeHandleEventDelegate | ObjectDisposing |
Raised when this object is about to be disposed via the IDisposable.Dispose method. More... | |
Port nodes are the connection to the remote device.
Port nodes enable direct memory access on the remote device.
unsafe void Read | ( | long | address, |
byte[] | buffer | ||
) |
Reads memory from the remote device into the given buffer .
The number of bytes read depend on the Array.Length of the given buffer .
address | Address to read from. |
buffer | Byte array to read to. |
Implements IPortNode.
void Read | ( | long | address, |
IntPtr | bufferPointer, | ||
long | bufferLength | ||
) |
Reads memory from the remote device into the given buffer.
Use of this method is unsafe; prefer using the typed nodes instead or reading into byte-arrays if necessary.
address | Address to read from. |
bufferPointer | Buffer to store data into. |
bufferLength | Number of bytes to read; buffer must have at least that many bytes of allocated memory. |
Implements IPortNode.
unsafe void Write | ( | long | address, |
byte[] | buffer | ||
) |
Writes the the given buffer to the remote device.
The number of bytes written depend on the Array.Length of the given buffer .
address | Address to write to. |
buffer | Byte array to write. |
Implements IPortNode.
void Write | ( | long | address, |
IntPtr | bufferPointer, | ||
long | bufferLength | ||
) |
Writes memory from the given buffer to the remote device.
Use of this method is unsafe; prefer using the typed nodes instead or writing from byte-arrays if necessary.
address | Address to write to. |
bufferPointer | Buffer to write to device. |
bufferLength | Number of bytes in the buffer. |
Implements IPortNode.