Class CLDevicePCIBusInfoKHR.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<CLDevicePCIBusInfoKHR>, NativeResource, Pointer
Enclosing class:
CLDevicePCIBusInfoKHR

public static class CLDevicePCIBusInfoKHR.Buffer extends StructBuffer<CLDevicePCIBusInfoKHR,CLDevicePCIBusInfoKHR.Buffer> implements NativeResource
An array of CLDevicePCIBusInfoKHR structs.
  • Constructor Details Link icon

    • Buffer Link icon

      public Buffer(ByteBuffer container)
      Creates a new CLDevicePCIBusInfoKHR.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by CLDevicePCIBusInfoKHR.SIZEOF, and its mark will be undefined.

      The created buffer instance holds a strong reference to the container object.

    • Buffer Link icon

      public Buffer(long address, int cap)
  • Method Details Link icon

    • pci_domain Link icon

      public int pci_domain()
      Returns:
      the value of the pci_domain field.
    • pci_bus Link icon

      public int pci_bus()
      Returns:
      the value of the pci_bus field.
    • pci_device Link icon

      public int pci_device()
      Returns:
      the value of the pci_device field.
    • pci_function Link icon

      public int pci_function()
      Returns:
      the value of the pci_function field.