Skip to content

Interface SpinnakerNET::GenApi::IPort

ClassList > SpinnakerNET > GenApi > IPort

Port interface containing only port methods.

  • #include <Port.h>

Inherits the following classes: SpinnakerNET::GenApi::IBase

Inherited by the following classes: SpinnakerNET::GenApi::PortNode, SpinnakerNET::GenApi::abstract

Public Attributes inherited from SpinnakerNET::GenApi::IBase

See SpinnakerNET::GenApi::IBase

Type Name
property SpinnakerNET::GenApi::AccessMode AccessMode = /* multi line expression */
Gets the AccessMode for theNode .

Public Functions

Type Name
void Read (System::IntPtr buffer, __int64 address, __int64 length)
Reads length bytes from__address of thisPort to the preallocated memory at__buffer .
void Read (__int64 address, array< System::Byte > ^ buffer)
Reads buffer .Length bytes from__address of thisPort to the given__buffer .
void Write (System::IntPtr buffer, __int64 address, __int64 length)
Writes length bytes to__address of thisPort from the preallocated memory at__buffer .
void Write (__int64 address, array< System::Byte > ^ buffer)
Writes buffer .Length bytes to__address of thisPort from the given__buffer .

Public Functions Documentation

function Read [1/2]

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

void SpinnakerNET::GenApi::IPort::Read (
    System::IntPtr buffer,
    __int64 address,
    __int64 length
) 

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 .

void SpinnakerNET::GenApi::IPort::Read (
    __int64 address,
    array < System::Byte > ^ buffer
) 

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 .

void SpinnakerNET::GenApi::IPort::Write (
    System::IntPtr buffer,
    __int64 address,
    __int64 length
) 

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 .

void SpinnakerNET::GenApi::IPort::Write (
    __int64 address,
    array < System::Byte > ^ buffer
) 

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.


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