Class SpinnakerNET::GenApi::Helper::PortWrapper¶
Wrapper for native GenApi::IPort object.
Inherits the following classes: SpinnakerNET::GenApi::Port
Public Attributes¶
| Type | Name |
|---|---|
| property SpinnakerNET::GenApi::AccessMode | AccessMode = /* multi line expression */Gets the AccessMode for thePort . |
Public Functions¶
| Type | Name |
|---|---|
| __clrcall | PortWrapper (IntPtr handle) Constructor. |
| virtual void | Read (IntPtr buffer, __int64 address, __int64 length) override Reads length bytes from__address of this Port to the preallocated memory at__buffer . |
| virtual void | Read (__int64 address, array< System::Byte > ^ buffer) override Reads buffer .Length bytes from__address of this Port to the given__buffer . |
| virtual void | Write (IntPtr buffer, __int64 address, __int64 length) override Writes length bytes to__address of this Port from the preallocated memory at__buffer . |
| virtual void | Write (__int64 address, array< System::Byte > ^ buffer) override Writes buffer .Length bytes to__address of this Port from the given__buffer . |
| virtual __clrcall | ~PortWrapper (void) Disposes all managed and unmanaged resources. |
Public Attributes Documentation¶
variable AccessMode¶
Gets the AccessMode for thePort .
virtual property SpinnakerNET::GenApi::AccessMode SpinnakerNET::GenApi::Helper::PortWrapper::AccessMode;
GenICam.GenApi.AccessMode of this Port.
Public Functions Documentation¶
function PortWrapper¶
Constructor.
Parameters:
handlePointer to the nativeGenApi::IPortobject.
function Read [1/2]¶
Reads length bytes from__address of thisPort to the preallocated memory at__buffer .
Parameters:
bufferPointer to the preallocated memory chunk of at least length bytes.addressRegister address to access. Must be multiples of four.lengthNumber of bytes to be read fromPort. Must be multiples of four.
function Read [2/2]¶
Reads buffer .Length bytes from__address of thisPort to the given__buffer .
Parameters:
addressRegister address to access. Must be multiples of four.bufferArray to which the data is written to. Length must be multiples of four.
function Write [1/2]¶
Writes length bytes to__address of thisPort from the preallocated memory at__buffer .
Parameters:
bufferPointer to the preallocated memory chunk of at least length bytes.addressRegister address to access. Must be multiples of four.lengthNumber of bytes to be written toPort. Must be multiples of four.
function Write [2/2]¶
Writes buffer .Length bytes to__address of thisPort from the given__buffer .
Parameters:
addressRegister address to access. Must be multiples of four.bufferArray from which the data is written. Length must be multiples of four.
function ~PortWrapper¶
Disposes all managed and unmanaged resources.
The documentation for this class was generated from the following file /workspace/src/SpinnakerNET/GenApiNet/PortWrapper.h