@Namespace(value="dai") @NoOffset @Properties(inherit=depthai.class) public class DeviceInfo extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
DeviceInfo() |
DeviceInfo(ByteBuffer mxidOrName) |
DeviceInfo(ByteBuffer name,
ByteBuffer mxid,
int state,
int protocol,
int platform,
int status) |
DeviceInfo(BytePointer mxidOrName)
Creates a DeviceInfo by checking whether supplied parameter is a MXID or IP/USB name
|
DeviceInfo(BytePointer name,
BytePointer mxid,
int state,
int protocol,
int platform,
int status) |
DeviceInfo(deviceDesc_t desc) |
DeviceInfo(long size)
Native array allocator.
|
DeviceInfo(Pointer p)
Pointer cast constructor.
|
DeviceInfo(String mxidOrName) |
DeviceInfo(String name,
String mxid,
int state,
int protocol,
int platform,
int status) |
| Modifier and Type | Method and Description |
|---|---|
BytePointer |
getMxId() |
DeviceInfo |
getPointer(long i) |
deviceDesc_t |
getXLinkDeviceDesc() |
BytePointer |
mxid() |
DeviceInfo |
mxid(BytePointer setter) |
BytePointer |
name() |
DeviceInfo |
name(BytePointer setter) |
int |
platform() |
DeviceInfo |
platform(int setter) |
DeviceInfo |
position(long position) |
int |
protocol() |
DeviceInfo |
protocol(int setter) |
int |
state() |
DeviceInfo |
state(int setter) |
int |
status() |
DeviceInfo |
status(int setter) |
String |
toString() |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic DeviceInfo(Pointer p)
Pointer(Pointer).public DeviceInfo(long size)
Pointer.position(long).public DeviceInfo()
public DeviceInfo(@StdString BytePointer name, @StdString BytePointer mxid, @Cast(value="XLinkDeviceState_t") int state, @Cast(value="XLinkProtocol_t") int protocol, @Cast(value="XLinkPlatform_t") int platform, @Cast(value="XLinkError_t") int status)
public DeviceInfo(@StdString ByteBuffer name, @StdString ByteBuffer mxid, @Cast(value="XLinkDeviceState_t") int state, @Cast(value="XLinkProtocol_t") int protocol, @Cast(value="XLinkPlatform_t") int platform, @Cast(value="XLinkError_t") int status)
public DeviceInfo(@StdString String name, @StdString String mxid, @Cast(value="XLinkDeviceState_t") int state, @Cast(value="XLinkProtocol_t") int protocol, @Cast(value="XLinkPlatform_t") int platform, @Cast(value="XLinkError_t") int status)
public DeviceInfo(@StdString BytePointer mxidOrName)
mxidOrName - Either MXID, IP Address or USB port namepublic DeviceInfo(@StdString ByteBuffer mxidOrName)
public DeviceInfo(@StdString String mxidOrName)
public DeviceInfo(@Const @ByRef deviceDesc_t desc)
public DeviceInfo position(long position)
public DeviceInfo getPointer(long i)
getPointer in class Pointer@ByVal public deviceDesc_t getXLinkDeviceDesc()
@StdString public BytePointer getMxId()
@StdString public String toString()
@StdString public BytePointer name()
public DeviceInfo name(BytePointer setter)
@StdString public BytePointer mxid()
public DeviceInfo mxid(BytePointer setter)
public DeviceInfo state(int setter)
public DeviceInfo protocol(int setter)
public DeviceInfo platform(int setter)
public DeviceInfo status(int setter)
Copyright © 2023. All rights reserved.