@Namespace(value="dai") @NoOffset @Properties(inherit=depthai.class) public class Device extends DeviceBase
DeviceBase.ConfigPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Modifier and Type | Field and Description |
|---|---|
static long |
EVENT_QUEUE_MAXIMUM_SIZE |
DEFAULT_SYSTEM_INFORMATION_LOGGING_RATE_HZ, DEFAULT_TIMESYNC_NUM_SAMPLES, DEFAULT_TIMESYNC_RANDOM| Constructor and Description |
|---|
Device() |
Device(ByteBuffer nameOrDeviceId) |
Device(ByteBuffer nameOrDeviceId,
depthai.UsbSpeed maxUsbSpeed) |
Device(ByteBuffer nameOrDeviceId,
int maxUsbSpeed) |
Device(BytePointer nameOrDeviceId) |
Device(BytePointer nameOrDeviceId,
depthai.UsbSpeed maxUsbSpeed) |
Device(BytePointer nameOrDeviceId,
int maxUsbSpeed) |
Device(DeviceBase.Config config) |
Device(DeviceBase.Config config,
DeviceInfo devInfo) |
Device(DeviceInfo devInfo) |
Device(DeviceInfo devInfo,
depthai.UsbSpeed maxUsbSpeed) |
Device(DeviceInfo devInfo,
int maxUsbSpeed) |
Device(int version) |
Device(int version,
depthai.UsbSpeed maxUsbSpeed) |
Device(int version,
DeviceInfo devInfo) |
Device(int version,
DeviceInfo devInfo,
depthai.UsbSpeed maxUsbSpeed) |
Device(int version,
DeviceInfo devInfo,
int maxUsbSpeed) |
Device(int version,
DeviceInfo devInfo,
Path pathToCmd) |
Device(int version,
int maxUsbSpeed) |
Device(int version,
Path pathToCmd) |
Device(long size)
Native array allocator.
|
Device(Pipeline pipeline) |
Device(Pipeline pipeline,
depthai.UsbSpeed maxUsbSpeed) |
Device(Pipeline pipeline,
DeviceInfo devInfo) |
Device(Pipeline pipeline,
DeviceInfo devInfo,
depthai.UsbSpeed maxUsbSpeed) |
Device(Pipeline pipeline,
DeviceInfo devInfo,
int maxUsbSpeed) |
Device(Pipeline pipeline,
DeviceInfo devInfo,
Path pathToCmd) |
Device(Pipeline pipeline,
int maxUsbSpeed) |
Device(Pipeline pipeline,
Path pathToCmd) |
Device(Pointer p)
Pointer cast constructor.
|
Device(String nameOrDeviceId) |
Device(String nameOrDeviceId,
depthai.UsbSpeed maxUsbSpeed) |
Device(String nameOrDeviceId,
int maxUsbSpeed) |
| Modifier and Type | Method and Description |
|---|---|
static long |
EVENT_QUEUE_MAXIMUM_SIZE()
Maximum number of elements in event queue
|
DataInputQueue |
getInputQueue(ByteBuffer name) |
DataInputQueue |
getInputQueue(ByteBuffer name,
int maxSize) |
DataInputQueue |
getInputQueue(ByteBuffer name,
int maxSize,
boolean blocking) |
DataInputQueue |
getInputQueue(BytePointer name)
Gets an input queue corresponding to stream name.
|
DataInputQueue |
getInputQueue(BytePointer name,
int maxSize) |
DataInputQueue |
getInputQueue(BytePointer name,
int maxSize,
boolean blocking)
Gets an input queue corresponding to stream name.
|
DataInputQueue |
getInputQueue(String name) |
DataInputQueue |
getInputQueue(String name,
int maxSize) |
DataInputQueue |
getInputQueue(String name,
int maxSize,
boolean blocking) |
StringVector |
getInputQueueNames()
Get all available input queue names
|
DataOutputQueue |
getOutputQueue(ByteBuffer name) |
DataOutputQueue |
getOutputQueue(ByteBuffer name,
int maxSize) |
DataOutputQueue |
getOutputQueue(ByteBuffer name,
int maxSize,
boolean blocking) |
DataOutputQueue |
getOutputQueue(BytePointer name)
Gets an output queue corresponding to stream name.
|
DataOutputQueue |
getOutputQueue(BytePointer name,
int maxSize) |
DataOutputQueue |
getOutputQueue(BytePointer name,
int maxSize,
boolean blocking)
Gets a queue corresponding to stream name, if it exists, otherwise it throws.
|
DataOutputQueue |
getOutputQueue(String name) |
DataOutputQueue |
getOutputQueue(String name,
int maxSize) |
DataOutputQueue |
getOutputQueue(String name,
int maxSize,
boolean blocking) |
StringVector |
getOutputQueueNames()
Get all available output queue names
|
Device |
getPointer(long i) |
BytePointer |
getQueueEvent() |
ByteBuffer |
getQueueEvent(ByteBuffer queueName) |
ByteBuffer |
getQueueEvent(ByteBuffer queueName,
Pointer timeout) |
BytePointer |
getQueueEvent(BytePointer queueName) |
BytePointer |
getQueueEvent(BytePointer queueName,
Pointer timeout)
Gets or waits until specified queue has received a message
|
BytePointer |
getQueueEvent(Pointer timeout)
Gets or waits until any queue has received a message
|
String |
getQueueEvent(String queueName) |
String |
getQueueEvent(String queueName,
Pointer timeout) |
BytePointer |
getQueueEvent(StringVector queueNames) |
BytePointer |
getQueueEvent(StringVector queueNames,
Pointer timeout)
Gets or waits until any of specified queues has received a message
|
StringVector |
getQueueEvents() |
StringVector |
getQueueEvents(ByteBuffer queueName) |
StringVector |
getQueueEvents(ByteBuffer queueName,
long maxNumEvents,
Pointer timeout) |
StringVector |
getQueueEvents(BytePointer queueName) |
StringVector |
getQueueEvents(BytePointer queueName,
long maxNumEvents,
Pointer timeout)
Gets or waits until specified queue has received a message
|
StringVector |
getQueueEvents(long maxNumEvents,
Pointer timeout)
Gets or waits until any queue has received a message
|
StringVector |
getQueueEvents(String queueName) |
StringVector |
getQueueEvents(String queueName,
long maxNumEvents,
Pointer timeout) |
StringVector |
getQueueEvents(StringVector queueNames) |
StringVector |
getQueueEvents(StringVector queueNames,
long maxNumEvents,
Pointer timeout)
Gets or waits until any of specified queues has received a message
|
Device |
position(long position) |
_close, addLogCallback, DEFAULT_SEARCH_TIME, DEFAULT_SYSTEM_INFORMATION_LOGGING_RATE_HZ, DEFAULT_TIMESYNC_NUM_SAMPLES, DEFAULT_TIMESYNC_PERIOD, DEFAULT_TIMESYNC_RANDOM, DEFAULT_USB_SPEED, factoryResetCalibration, flashCalibration, flashCalibration2, flashEepromClear, flashFactoryCalibration, flashFactoryEepromClear, getAllAvailableDevices, getAllConnectedDevices, getAnyAvailableDevice, getAnyAvailableDevice, getAnyAvailableDevice, getBootloaderVersion, getCameraSensorNames, getChipTemperature, getCmxMemoryUsage, getConnectedCameraFeatures, getConnectedCameras, getConnectedIMU, getConnection, getCrashDump, getDdrMemoryUsage, getDefaultSearchTime, getDeviceByMxId, getDeviceByMxId, getDeviceByMxId, getDeviceInfo, getDeviceName, getEmbeddedDeviceBinary, getEmbeddedDeviceBinary, getEmbeddedDeviceBinary, getEmbeddedIMUFirmwareVersion, getFirstAvailableDevice, getFirstAvailableDevice, getIMUFirmwareUpdateStatus, getIMUFirmwareVersion, getIrDrivers, getLeonCssCpuUsage, getLeonCssHeapUsage, getLeonMssCpuUsage, getLeonMssHeapUsage, getLogLevel, getLogOutputLevel, getMxId, getSystemInformationLoggingRate, getUsbSpeed, getXLinkChunkSize, hasCrashDump, isClosed, isEepromAvailable, isPipelineRunning, readCalibration, readCalibration2, readCalibrationOrDefault, readCalibrationRaw, readFactoryCalibration, readFactoryCalibrationOrDefault, readFactoryCalibrationRaw, removeLogCallback, setIrFloodLightBrightness, setIrFloodLightBrightness, setIrLaserDotProjectorBrightness, setIrLaserDotProjectorBrightness, setLogLevel, setLogLevel, setLogOutputLevel, setLogOutputLevel, setSystemInformationLoggingRate, setTimesync, setTimesync, setXLinkChunkSize, startIMUFirmwareUpdate, startIMUFirmwareUpdate, startPipeline, startPipelineaddress, 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, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic Device(@Const @ByRef Pipeline pipeline, depthai.UsbSpeed maxUsbSpeed)
public Device(@Const @ByRef Pipeline pipeline, @Const @ByRef DeviceInfo devInfo, depthai.UsbSpeed maxUsbSpeed)
public Device(@Const @ByRef Pipeline pipeline, @Const @ByRef DeviceInfo devInfo, @Cast(value="dai::UsbSpeed") int maxUsbSpeed)
public Device(@Const @ByRef Pipeline pipeline, @Const @ByRef DeviceInfo devInfo, @Const @ByRef Path pathToCmd)
public Device()
public Device(@Cast(value="dai::OpenVINO::Version") int version, depthai.UsbSpeed maxUsbSpeed)
public Device(@Cast(value="dai::OpenVINO::Version") int version, @Cast(value="dai::UsbSpeed") int maxUsbSpeed)
public Device(@Cast(value="dai::OpenVINO::Version") int version, @Const @ByRef Path pathToCmd)
public Device(@Cast(value="dai::OpenVINO::Version") int version, @Const @ByRef DeviceInfo devInfo)
public Device(@Cast(value="dai::OpenVINO::Version") int version, @Const @ByRef DeviceInfo devInfo, depthai.UsbSpeed maxUsbSpeed)
public Device(@Cast(value="dai::OpenVINO::Version") int version, @Const @ByRef DeviceInfo devInfo, @Cast(value="dai::UsbSpeed") int maxUsbSpeed)
public Device(@Cast(value="dai::OpenVINO::Version") int version, @Const @ByRef DeviceInfo devInfo, @Const @ByRef Path pathToCmd)
public Device(@ByVal DeviceBase.Config config)
public Device(@ByVal DeviceBase.Config config, @Const @ByRef DeviceInfo devInfo)
public Device(@Const @ByRef DeviceInfo devInfo)
public Device(@Const @ByRef DeviceInfo devInfo, depthai.UsbSpeed maxUsbSpeed)
public Device(@Const @ByRef DeviceInfo devInfo, @Cast(value="dai::UsbSpeed") int maxUsbSpeed)
public Device(@StdString BytePointer nameOrDeviceId)
public Device(@StdString ByteBuffer nameOrDeviceId)
public Device(@StdString String nameOrDeviceId)
public Device(@StdString BytePointer nameOrDeviceId, depthai.UsbSpeed maxUsbSpeed)
public Device(@StdString ByteBuffer nameOrDeviceId, @Cast(value="dai::UsbSpeed") int maxUsbSpeed)
public Device(@StdString String nameOrDeviceId, depthai.UsbSpeed maxUsbSpeed)
public Device(@StdString BytePointer nameOrDeviceId, @Cast(value="dai::UsbSpeed") int maxUsbSpeed)
public Device(@StdString ByteBuffer nameOrDeviceId, depthai.UsbSpeed maxUsbSpeed)
public Device(@StdString String nameOrDeviceId, @Cast(value="dai::UsbSpeed") int maxUsbSpeed)
public Device(Pointer p)
Pointer(Pointer).public Device(long size)
Pointer.position(long).public Device getPointer(long i)
getPointer in class Pointer@MemberGetter @Cast(value="const std::size_t") public static long EVENT_QUEUE_MAXIMUM_SIZE()
@SharedPtr public DataOutputQueue getOutputQueue(@StdString BytePointer name)
name - Queue/stream name, created by XLinkOut node@SharedPtr public DataOutputQueue getOutputQueue(@StdString ByteBuffer name)
@SharedPtr public DataOutputQueue getOutputQueue(@StdString String name)
@SharedPtr public DataOutputQueue getOutputQueue(@StdString BytePointer name, @Cast(value="unsigned int") int maxSize, @Cast(value="bool") boolean blocking)
name - Queue/stream name, set in XLinkOut nodemaxSize - Maximum number of messages in queueblocking - Queue behavior once full. True specifies blocking and false overwriting of oldest messages. Default: true@SharedPtr public DataOutputQueue getOutputQueue(@StdString BytePointer name, @Cast(value="unsigned int") int maxSize)
@SharedPtr public DataOutputQueue getOutputQueue(@StdString ByteBuffer name, @Cast(value="unsigned int") int maxSize, @Cast(value="bool") boolean blocking)
@SharedPtr public DataOutputQueue getOutputQueue(@StdString ByteBuffer name, @Cast(value="unsigned int") int maxSize)
@SharedPtr public DataOutputQueue getOutputQueue(@StdString String name, @Cast(value="unsigned int") int maxSize, @Cast(value="bool") boolean blocking)
@SharedPtr public DataOutputQueue getOutputQueue(@StdString String name, @Cast(value="unsigned int") int maxSize)
@ByVal public StringVector getOutputQueueNames()
@SharedPtr public DataInputQueue getInputQueue(@StdString BytePointer name)
name - Queue/stream name, set in XLinkIn node@SharedPtr public DataInputQueue getInputQueue(@StdString ByteBuffer name)
@SharedPtr public DataInputQueue getInputQueue(@StdString String name)
@SharedPtr public DataInputQueue getInputQueue(@StdString BytePointer name, @Cast(value="unsigned int") int maxSize, @Cast(value="bool") boolean blocking)
name - Queue/stream name, set in XLinkOut nodemaxSize - Maximum number of messages in queueblocking - Queue behavior once full. True: blocking, false: overwriting of oldest messages. Default: true@SharedPtr public DataInputQueue getInputQueue(@StdString BytePointer name, @Cast(value="unsigned int") int maxSize)
@SharedPtr public DataInputQueue getInputQueue(@StdString ByteBuffer name, @Cast(value="unsigned int") int maxSize, @Cast(value="bool") boolean blocking)
@SharedPtr public DataInputQueue getInputQueue(@StdString ByteBuffer name, @Cast(value="unsigned int") int maxSize)
@SharedPtr public DataInputQueue getInputQueue(@StdString String name, @Cast(value="unsigned int") int maxSize, @Cast(value="bool") boolean blocking)
@SharedPtr public DataInputQueue getInputQueue(@StdString String name, @Cast(value="unsigned int") int maxSize)
@ByVal public StringVector getInputQueueNames()
@ByVal public StringVector getQueueEvents(@Const @ByRef StringVector queueNames, @Cast(value="std::size_t") long maxNumEvents, @ByVal(nullValue="std::chrono::microseconds(-1)") @Cast(value="std::chrono::microseconds*") Pointer timeout)
queueNames - Names of queues for which to blockmaxNumEvents - Maximum number of events to remove from queue - Default is unlimitedtimeout - Timeout after which return regardless. If negative then wait is indefinite - Default is -1@ByVal public StringVector getQueueEvents(@Const @ByRef StringVector queueNames)
@ByVal public StringVector getQueueEvents(@StdString BytePointer queueName, @Cast(value="std::size_t") long maxNumEvents, @ByVal(nullValue="std::chrono::microseconds(-1)") @Cast(value="std::chrono::microseconds*") Pointer timeout)
queueName - Name of queues for which to wait formaxNumEvents - Maximum number of events to remove from queue. Default is unlimitedtimeout - Timeout after which return regardless. If negative then wait is indefinite. Default is -1@ByVal public StringVector getQueueEvents(@StdString BytePointer queueName)
@ByVal public StringVector getQueueEvents(@StdString ByteBuffer queueName, @Cast(value="std::size_t") long maxNumEvents, @ByVal(nullValue="std::chrono::microseconds(-1)") @Cast(value="std::chrono::microseconds*") Pointer timeout)
@ByVal public StringVector getQueueEvents(@StdString ByteBuffer queueName)
@ByVal public StringVector getQueueEvents(@StdString String queueName, @Cast(value="std::size_t") long maxNumEvents, @ByVal(nullValue="std::chrono::microseconds(-1)") @Cast(value="std::chrono::microseconds*") Pointer timeout)
@ByVal public StringVector getQueueEvents(@StdString String queueName)
@ByVal public StringVector getQueueEvents(@Cast(value="std::size_t") long maxNumEvents, @ByVal(nullValue="std::chrono::microseconds(-1)") @Cast(value="std::chrono::microseconds*") Pointer timeout)
maxNumEvents - Maximum number of events to remove from queue. Default is unlimitedtimeout - Timeout after which return regardless. If negative then wait is indefinite. Default is -1@ByVal public StringVector getQueueEvents()
@StdString public BytePointer getQueueEvent(@Const @ByRef StringVector queueNames, @ByVal(nullValue="std::chrono::microseconds(-1)") @Cast(value="std::chrono::microseconds*") Pointer timeout)
queueNames - Names of queues for which to wait fortimeout - Timeout after which return regardless. If negative then wait is indefinite. Default is -1@StdString public BytePointer getQueueEvent(@Const @ByRef StringVector queueNames)
@StdString public BytePointer getQueueEvent(@StdString BytePointer queueName, @ByVal(nullValue="std::chrono::microseconds(-1)") @Cast(value="std::chrono::microseconds*") Pointer timeout)
queueNames - Name of queues for which to wait fortimeout - Timeout after which return regardless. If negative then wait is indefinite. Default is -1@StdString public BytePointer getQueueEvent(@StdString BytePointer queueName)
@StdString public ByteBuffer getQueueEvent(@StdString ByteBuffer queueName, @ByVal(nullValue="std::chrono::microseconds(-1)") @Cast(value="std::chrono::microseconds*") Pointer timeout)
@StdString public ByteBuffer getQueueEvent(@StdString ByteBuffer queueName)
@StdString public String getQueueEvent(@StdString String queueName, @ByVal(nullValue="std::chrono::microseconds(-1)") @Cast(value="std::chrono::microseconds*") Pointer timeout)
@StdString public String getQueueEvent(@StdString String queueName)
@StdString public BytePointer getQueueEvent(@ByVal(nullValue="std::chrono::microseconds(-1)") @Cast(value="std::chrono::microseconds*") Pointer timeout)
timeout - Timeout after which return regardless. If negative then wait is indefinite. Default is -1@StdString public BytePointer getQueueEvent()
Copyright © 2023. All rights reserved.