@Namespace(value="dai") @NoOffset @Properties(inherit=depthai.class) public class XLinkConnection extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
XLinkConnection(DeviceInfo deviceDesc) |
XLinkConnection(DeviceInfo deviceDesc,
byte[] mvcmdBinary) |
XLinkConnection(DeviceInfo deviceDesc,
byte[] mvcmdBinary,
int expectedState) |
XLinkConnection(DeviceInfo deviceDesc,
ByteBuffer mvcmdBinary) |
XLinkConnection(DeviceInfo deviceDesc,
ByteBuffer mvcmdBinary,
int expectedState) |
XLinkConnection(DeviceInfo deviceDesc,
BytePointer mvcmdBinary) |
XLinkConnection(DeviceInfo deviceDesc,
BytePointer mvcmdBinary,
int expectedState) |
XLinkConnection(DeviceInfo deviceDesc,
int expectedState) |
XLinkConnection(DeviceInfo deviceDesc,
String pathToMvcmd) |
XLinkConnection(DeviceInfo deviceDesc,
String pathToMvcmd,
int expectedState) |
XLinkConnection(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
_close()
Explicitly closes xlink connection.
|
static DeviceInfo |
getAllConnectedDevices() |
static DeviceInfo |
getAllConnectedDevices(int state) |
static Pointer |
getDeviceByMxId(BytePointer arg0) |
static Pointer |
getDeviceByMxId(BytePointer arg0,
int state) |
static Pointer |
getDeviceByMxId(String arg0) |
static Pointer |
getDeviceByMxId(String arg0,
int state) |
static Pointer |
getFirstDevice() |
static Pointer |
getFirstDevice(int state) |
int |
getLinkId() |
boolean |
getRebootOnDestruction() |
boolean |
isClosed()
Is the connection already closed (or disconnected)
|
void |
setRebootOnDestruction(boolean reboot) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic XLinkConnection(Pointer p)
Pointer(Pointer).public XLinkConnection(@Const @ByRef DeviceInfo deviceDesc, @Cast(value="std::uint8_t*") @StdVector BytePointer mvcmdBinary, @Cast(value="XLinkDeviceState_t") int expectedState)
public XLinkConnection(@Const @ByRef DeviceInfo deviceDesc, @Cast(value="std::uint8_t*") @StdVector BytePointer mvcmdBinary)
public XLinkConnection(@Const @ByRef DeviceInfo deviceDesc, @Cast(value="std::uint8_t*") @StdVector ByteBuffer mvcmdBinary, @Cast(value="XLinkDeviceState_t") int expectedState)
public XLinkConnection(@Const @ByRef DeviceInfo deviceDesc, @Cast(value="std::uint8_t*") @StdVector ByteBuffer mvcmdBinary)
public XLinkConnection(@Const @ByRef DeviceInfo deviceDesc, @Cast(value="std::uint8_t*") @StdVector byte[] mvcmdBinary, @Cast(value="XLinkDeviceState_t") int expectedState)
public XLinkConnection(@Const @ByRef DeviceInfo deviceDesc, @Cast(value="std::uint8_t*") @StdVector byte[] mvcmdBinary)
public XLinkConnection(@Const @ByRef DeviceInfo deviceDesc, @StdString String pathToMvcmd, @Cast(value="XLinkDeviceState_t") int expectedState)
public XLinkConnection(@Const @ByRef DeviceInfo deviceDesc, @StdString String pathToMvcmd)
public XLinkConnection(@Const @ByRef DeviceInfo deviceDesc, @Cast(value="XLinkDeviceState_t") int expectedState)
public XLinkConnection(@Const @ByRef DeviceInfo deviceDesc)
@StdVector public static DeviceInfo getAllConnectedDevices(@Cast(value="XLinkDeviceState_t") int state)
@StdVector public static DeviceInfo getAllConnectedDevices()
@ByVal @Cast(value="std::tuple<bool,dai::DeviceInfo>*") public static Pointer getFirstDevice(@Cast(value="XLinkDeviceState_t") int state)
@ByVal @Cast(value="std::tuple<bool,dai::DeviceInfo>*") public static Pointer getFirstDevice()
@ByVal @Cast(value="std::tuple<bool,dai::DeviceInfo>*") public static Pointer getDeviceByMxId(@StdString BytePointer arg0, @Cast(value="XLinkDeviceState_t") int state)
@ByVal @Cast(value="std::tuple<bool,dai::DeviceInfo>*") public static Pointer getDeviceByMxId(@StdString BytePointer arg0)
@ByVal @Cast(value="std::tuple<bool,dai::DeviceInfo>*") public static Pointer getDeviceByMxId(@StdString String arg0, @Cast(value="XLinkDeviceState_t") int state)
@ByVal @Cast(value="std::tuple<bool,dai::DeviceInfo>*") public static Pointer getDeviceByMxId(@StdString String arg0)
public int getLinkId()
@Name(value="close") public void _close()
Copyright © 2021. All rights reserved.