Class SpinnakerNET::GenApi::ChunkPort¶
ClassList > SpinnakerNET > GenApi > ChunkPort
Port attachable to an chunk port node.
#include <ChunkPort.h>
Inherits the following classes: SpinnakerNET::GenApi::Port
Public Attributes¶
| Type | Name |
|---|---|
| property int | ChunkIDLength = /* multi line expression */Gets the length of the ID of the attached node. |
Public Functions¶
| Type | Name |
|---|---|
| void __clrcall | AttachChunk (IntPtr baseAddress, __int64 offset, __int64 length) Attaches the given event data to the attached node. |
| bool __clrcall | AttachPort (SpinnakerNET::GenApi::IPort ^ port) Attaches an port to this adapter to which the events will be attached. |
| bool __clrcall | CheckChunkID (array< Byte > ^ chunkID) Checks whether the given chunkID matches the one of the attached port. |
| __clrcall | ChunkPort (void) Constructor for an unattached managed ChunkPort . |
| __clrcall | ChunkPort (SpinnakerNET::GenApi::IPort ^ port) Constructor for an attached managed ChunkPort . |
| void __clrcall | DetachChunk () Detaches the event data from the attached node. |
| void __clrcall | DetachPort () Detaches the port from this adapter. |
| void __clrcall | Invalidate () Invalidates the attached port. |
| virtual void __clrcall | 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 . |
| void __clrcall | UpdateChunk (IntPtr baseAddress) Updates just the base address of the chunk data. |
| virtual void __clrcall | 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 | ~ChunkPort (void) Disposes all managed and unmanaged resources. |
Public Static Functions¶
| Type | Name |
|---|---|
| ChunkPort __clrcall | FromHandle (IntPtr handle) Creates an ChunkPort from the given__handle . |
Protected Functions¶
| Type | Name |
|---|---|
| void __clrcall | CheckStatus () |
| __clrcall | ChunkPort (IntPtr handle) Constructor for a native CChunkPort from the given__handle . |
Public Attributes Documentation¶
variable ChunkIDLength¶
Gets the length of the ID of the attached node.
The length in bytes of the chunk ID.
Public Functions Documentation¶
function AttachChunk¶
Attaches the given event data to the attached node.
void __clrcall SpinnakerNET::GenApi::ChunkPort::AttachChunk (
IntPtr baseAddress,
__int64 offset,
__int64 length
)
Parameters:
baseAddressBase address of chunk data to attach.offsetOffset from the baseAddress .lengthChunks data length to attach.
function AttachPort¶
Attaches an port to this adapter to which the events will be attached.
Parameters:
portIPortto which the events will be attached to.
Returns:
true on success; false otherwise.
function CheckChunkID¶
Checks whether the given chunkID matches the one of the attached port.
Parameters:
chunkIDChunk ID to be checked.
Returns:
true if the IDs match; false otherwise.
function ChunkPort [1/3]¶
Constructor for an unattached managed ChunkPort .
function ChunkPort [2/3]¶
Constructor for an attached managed ChunkPort .
Parameters:
portIPortobject to attach to.
function DetachChunk¶
Detaches the event data from the attached node.
function DetachPort¶
Detaches the port from this adapter.
function Invalidate¶
Invalidates the attached port.
function Read [1/2]¶
Reads length bytes from__address of thisPort to the preallocated memory at__buffer .
virtual void __clrcall SpinnakerNET::GenApi::ChunkPort::Read (
IntPtr buffer,
__int64 address,
__int64 length
) override
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 .
virtual void SpinnakerNET::GenApi::ChunkPort::Read (
__int64 address,
array < System::Byte > ^ buffer
) override
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 UpdateChunk¶
Updates just the base address of the chunk data.
Parameters:
baseAddressBase address of chunk data to attach.
function Write [1/2]¶
Writes length bytes to__address of thisPort from the preallocated memory at__buffer .
virtual void __clrcall SpinnakerNET::GenApi::ChunkPort::Write (
IntPtr buffer,
__int64 address,
__int64 length
) override
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 .
virtual void SpinnakerNET::GenApi::ChunkPort::Write (
__int64 address,
array < System::Byte > ^ buffer
) override
Parameters:
addressRegister address to access. Must be multiples of four.bufferArray from which the data is written. Length must be multiples of four.
function ~ChunkPort¶
Disposes all managed and unmanaged resources.
Public Static Functions Documentation¶
function FromHandle¶
Creates an ChunkPort from the given__handle .
Parameters:
handlePointer to nativeCChunkPortobject.
Protected Functions Documentation¶
function CheckStatus¶
function ChunkPort [3/3]¶
Constructor for a native CChunkPort from the given__handle .
Parameters:
handlePointer to nativeCChunkPortobject.
The documentation for this class was generated from the following file /workspace/src/SpinnakerNET/GenApiNet/ChunkPort.h