Skip to content

Class SpinnakerNET::GenApi::Helper::PortWrapper

ClassList > 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 thisPort to the preallocated memory at__buffer .
virtual void Read (__int64 address, array< System::Byte > ^ buffer) override
Reads buffer .Length bytes from__address of thisPort to the given__buffer .
virtual void Write (IntPtr buffer, __int64 address, __int64 length) override
Writes length bytes to__address of thisPort from the preallocated memory at__buffer .
virtual void Write (__int64 address, array< System::Byte > ^ buffer) override
Writes buffer .Length bytes to__address of thisPort 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.

__clrcall PortWrapper::PortWrapper (
    IntPtr handle
) 

Parameters:

  • handle Pointer to the native GenApi::IPort object.

function Read [1/2]

Reads length bytes from__address of thisPort to the preallocated memory at__buffer .

virtual void PortWrapper::Read (
    IntPtr buffer,
    __int64 address,
    __int64 length
) override

Parameters:

  • buffer Pointer to the preallocated memory chunk of at least length bytes.
  • address Register address to access. Must be multiples of four.
  • length Number of bytes to be read from Port. Must be multiples of four.

function Read [2/2]

Reads buffer .Length bytes from__address of thisPort to the given__buffer .

virtual void PortWrapper::Read (
    __int64 address,
    array < System::Byte > ^ buffer
) override

Parameters:

  • address Register address to access. Must be multiples of four.
  • buffer Array 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 .

virtual void PortWrapper::Write (
    IntPtr buffer,
    __int64 address,
    __int64 length
) override

Parameters:

  • buffer Pointer to the preallocated memory chunk of at least length bytes.
  • address Register address to access. Must be multiples of four.
  • length Number of bytes to be written to Port. Must be multiples of four.

function Write [2/2]

Writes buffer .Length bytes to__address of thisPort from the given__buffer .

virtual void PortWrapper::Write (
    __int64 address,
    array < System::Byte > ^ buffer
) override

Parameters:

  • address Register address to access. Must be multiples of four.
  • buffer Array from which the data is written. Length must be multiples of four.

function ~PortWrapper

Disposes all managed and unmanaged resources.

virtual __clrcall PortWrapper::~PortWrapper (
    void
) 



The documentation for this class was generated from the following file /workspace/src/SpinnakerNET/GenApiNet/PortWrapper.h