eBUS SDK .NET API
  • Getting Started
    • Getting started with the eBUS SDK .NET API
    • Configuring Your IDE
    • Receiving Data from a GigE Vision or USB3 Vision Transmitter
    • Sample Applications
    • GigE Vision Device Communication Parameters
    • USB3 Vision Device Communication Parameters
    • PvStream USB3 Vision Parameters
    • PvStream GigE Vision Parameters
  • eBUS SDK .NET API Reference
    • API Overview
    • eBUSDotNet
    • eBUSDotNetReceive
    • eBUSDotNetEdge
Search Results for

    Show / Hide Table of Contents
      • GenDCComponentFlagsGroup
      • GenDCComponentHeader
      • GenDCComponentHeaderBase
      • GenDCComponentType
      • GenDCContainerFlagsGroup
      • GenDCContainerHeader
      • GenDCContainerHeaderBase
      • GenDCContainerVariableFieldsGroup
      • GenDCFlowTable
      • GenDCFlowTableHeader
      • GenDCGenericPartType
      • GenDCHeaderType
      • GenDCInfoTypeSpecificH264
      • GenDCInfoTypeSpecificH264.H264Flags
      • GenDCInfoTypeSpecificJPEG
      • GenDCPartFlagsGroup
      • GenDCPartHeader
      • GenDCPartHeader1D
      • GenDCPartHeader1DBase
      • GenDCPartHeader2D
      • GenDCPartHeader2DBase
      • GenDCPartHeaderBase
      • GenDCPartHeaderGenICamChunk
      • GenDCPartHeaderGenICamXML
      • GenDCPartHeaderH264
      • GenDCPartHeaderJPEG
      • GenDCPartHeaderJPEG2000
      • GenDCPartType
      • GenDCPredefinedComponentValue
      • GenDCPredefinedPartValue
      • GenDCPredefinedValue16
      • GenDCPredefinedValue32
      • GenDCPredefinedValue64
      • GenDCReservedValue
      • GenDCSignature
      • GenDCVersionValue
      • IPvChunkData
      • IPvFilter
      • IPvGenDCChunkData
      • IPvGenDCChunkWriter
      • IPvGenDCImage
      • IPvGenDCManager
      • IPvGenericDataComponent
      • IPvGenericDataContainer
      • IPvGenericDataPart
      • IPvH264AccessUnit
      • IPvImage
      • IPvImageJPEG
      • IPvMultiPartContainer
      • IPvMultiPartContainerReader
      • IPvMultiPartContainerWriter
      • IPvMultiPartSection
      • OnDeviceFoundHandler
      • OnParameterUpdateHandler
      • PvBuffer
      • PvChunkData
      • PvComponentType
      • PvCompressionFilter
      • PvDeInterlacer
      • PvDecompressionFilter
      • PvDeviceClass
      • PvDeviceInfo
      • PvDeviceInfoGEV
      • PvDeviceInfoPleoraProtocol
      • PvDeviceInfoType
      • PvDeviceInfoU3V
      • PvDeviceInfoUSB
      • PvDeviceType
      • PvEncodingEnum
      • PvException
      • PvFPSStabilizer
      • PvGenAccessMode
      • PvGenBoolean
      • PvGenCache
      • PvGenCategory
      • PvGenCommand
      • PvGenDCPart1DFields
      • PvGenDCPart2DFields
      • PvGenDCPartH264Fields
      • PvGenDCPartH264Fields.H264Flags
      • PvGenDCPartMetadataFields
      • PvGenDCPartType
      • PvGenDCVariableField
      • PvGenEndianness
      • PvGenEnum
      • PvGenEnumEntry
      • PvGenEventSink
      • PvGenEventSinkSwigInterface
      • PvGenFile
      • PvGenFloat
      • PvGenInteger
      • PvGenNameSpace
      • PvGenOpenMode
      • PvGenParameter
      • PvGenParameterArray
      • PvGenParameterList
      • PvGenRefresh
      • PvGenRegister
      • PvGenRepresentation
      • PvGenSign
      • PvGenStateStack
      • PvGenString
      • PvGenType
      • PvGenVisibility
      • PvImage
      • PvInterface
      • PvInterfaceType
      • PvMultiPartDataType
      • PvNetworkAdapter
      • PvPayloadType
      • PvPixelType
      • PvPleoraCompressed
      • PvRawData
      • PvResult
      • PvResult.Code
      • PvResult.Code.CodeEnum
      • PvSessionInfo
      • PvString
      • PvStringList
      • PvSystem
      • PvSystemEventSink
      • PvTapFilter
      • PvTapGeometryEnum
      • PvTftpClient
      • PvUSBHostController
      • PvUSBSpeed
      • PvUSBStatus
      • SWIGTYPE_p_PV_GENAPI_NS__INode
      • SWIGTYPE_p_PV_GENAPI_NS__INodeMap
      • SWIGTYPE_p_long_long
      • SWIGTYPE_p_unsigned_char
      • SWIGTYPE_p_unsigned_long_long
      • eBUSDotNet
      • uint24_t

    Class PvChunkData

    Raw data interface to a PvBuffer.

    Inheritance
    object
    IPvChunkData
    PvChunkData
    Implements
    IDisposable
    Inherited Members
    IPvChunkData.swigCMemOwn
    IPvChunkData.Dispose()
    IPvChunkData.ResetChunks()
    IPvChunkData.AddChunk(uint, byte[], uint)
    IPvChunkData.HasChunks()
    IPvChunkData.GetChunkIDByIndex(uint, out uint)
    IPvChunkData.GetChunkSizeByIndex(uint)
    IPvChunkData.GetChunkSizeByID(uint)
    IPvChunkData.GetChunkRawDataByIndex(uint)
    IPvChunkData.GetChunkRawDataByID(uint)
    IPvChunkData.ChunkLayoutID
    IPvChunkData.ChunkCount
    IPvChunkData.ChunkDataSize
    IPvChunkData.ChunkDataCapacity
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: eBUSDotNet
    Assembly: eBUSDotNet.dll
    Syntax
    public class PvChunkData : IPvChunkData, IDisposable
    Remarks

    A PvBuffer represents a generic buffer with no specific payload type. If the payload type is chunk data, the user can obtain a pointer to a PvChunkData buffer interface through PvBuffer.GetChunkData.

    This PvChunkData pointer is owned by the PvBuffer and does not need to be released after use. It is valid as long as the PvBuffer exists.

    To use in a receiver context, retrieve PvBuffer from PvStream or PvPipeline and when PvBuffer.GetPayloadType is PvPayloadChunkData use PvBuffer.GetChunkData to retrieve a pointer to this interface. Use the various chunk methods in this class to access the chunk data by ID or index or alternatively attach the PvBuffer to the GenApi interface of the transmitter with PvGenParameterArray.AttachDataChunks to access the chunk data using GenApi.

    To use in a transmitter context, create a PvBuffer, set its payload type to PvPayloadChunkData with SetPayloadType, use PvBuffer.GetChunkData to retrieve a point to this interface, use PvChunkData.Alloc to allocate enough memory for all chunks and their headers (64 bytes per chunk for the headers) and then add chunks to the buffer using PvChunkData.AddChunk. Use PvTransmitterGEV to transmit the buffer.

    Properties

    View Source

    ChunkDataPayloadLength

    Chunk data payload length of PvChunkData.

    Declaration
    public ulong ChunkDataPayloadLength { get; }
    Property Value
    Type Description
    ulong

    Methods

    View Source

    Alloc(uint)

    Allocates memory for this #PvChunkData.

    Declaration
    public virtual PvResult Alloc(uint aMaximumChunkLength)
    Parameters
    Type Name Description
    uint aMaximumChunkLength

    Maximum size in bytes to store chunk data (must include extra 64 bits for each chunk header).

    Returns
    Type Description
    PvResult

    Includes:

    • #PvResult::Code::OK
    • #PvResult::Code::NOT_ENOUGH_MEMORY
    View Source

    Attach(byte[], uint)

    Attach this #PvChunkData to an external memory buffer.

    Declaration
    public PvResult Attach(byte[] aRawBuffer, uint aMaximumChunkLength)
    Parameters
    Type Name Description
    byte[] aRawBuffer

    A pointer to the buffer.

    uint aMaximumChunkLength

    Attached buffer size: chunk length sum + 64 bits for each chunk header.

    Returns
    Type Description
    PvResult

    Includes:

    • #PvResult::Code::OK
    • #PvResult::Code::INVALID_PARAMETER
    View Source

    Detach()

    Releases an attached memory buffer.

    Declaration
    public virtual byte* Detach()
    Returns
    Type Description
    byte*

    The buffer's location in memory.

    View Source

    Dispose(bool)

    Dispose

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing
    Overrides
    IPvChunkData.Dispose(bool)
    View Source

    Free()

    Frees (de-allocates) the buffer's internal memory.

    Declaration
    public virtual void Free()

    Implements

    IDisposable
    • View Source
    In this article
    Back to top Generated by DocFX