@Namespace(value="dai") @NoOffset @Properties(inherit=depthai.class) public class XLinkStream extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
XLinkStream(Pointer p)
Pointer cast constructor.
|
XLinkStream(XLinkConnection conn,
ByteBuffer name,
long maxWriteSize) |
XLinkStream(XLinkConnection conn,
BytePointer name,
long maxWriteSize) |
XLinkStream(XLinkConnection conn,
String name,
long maxWriteSize) |
XLinkStream(XLinkStream stream) |
Modifier and Type | Method and Description |
---|---|
int |
getStreamId() |
XLinkStream |
put(XLinkStream stream) |
BytePointer |
read() |
void |
read(byte[] data) |
boolean |
read(byte[] data,
Pointer timeout) |
void |
read(byte[] data,
XLinkTimespec timestampReceived) |
void |
read(ByteBuffer data) |
boolean |
read(ByteBuffer data,
Pointer timeout) |
void |
read(ByteBuffer data,
XLinkTimespec timestampReceived) |
void |
read(BytePointer data) |
boolean |
read(BytePointer data,
Pointer timeout) |
void |
read(BytePointer data,
XLinkTimespec timestampReceived) |
BytePointer |
read(XLinkTimespec timestampReceived) |
StreamPacketDesc |
readMove() |
boolean |
readMove(StreamPacketDesc packet,
Pointer timeout) |
streamPacketDesc_t |
readRaw()
Deprecated.
|
boolean |
readRaw(streamPacketDesc_t pPacket,
Pointer timeout)
Deprecated.
|
void |
readRawRelease()
Deprecated.
|
void |
write(byte[] data) |
void |
write(byte[] data,
long size) |
boolean |
write(byte[] data,
long size,
Pointer timeout) |
boolean |
write(byte[] data,
Pointer timeout) |
void |
write(ByteBuffer data) |
void |
write(ByteBuffer data,
long size) |
boolean |
write(ByteBuffer data,
long size,
Pointer timeout) |
boolean |
write(ByteBuffer data,
Pointer timeout) |
void |
write(BytePointer data) |
void |
write(BytePointer data,
long size) |
boolean |
write(BytePointer data,
long size,
Pointer timeout) |
boolean |
write(BytePointer data,
Pointer timeout) |
void |
write(Pointer data,
long size) |
boolean |
write(Pointer data,
long size,
Pointer timeout) |
void |
writeSplit(ByteVector data,
long split) |
void |
writeSplit(Pointer data,
long size,
long split) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public XLinkStream(Pointer p)
Pointer(Pointer)
.public XLinkStream(@SharedPtr XLinkConnection conn, @StdString BytePointer name, @Cast(value="std::size_t") long maxWriteSize)
public XLinkStream(@SharedPtr XLinkConnection conn, @StdString ByteBuffer name, @Cast(value="std::size_t") long maxWriteSize)
public XLinkStream(@SharedPtr XLinkConnection conn, @StdString String name, @Cast(value="std::size_t") long maxWriteSize)
public XLinkStream(@ByRef(value=true) XLinkStream stream)
@ByRef @Name(value="operator =") public XLinkStream put(@ByRef(value=true) XLinkStream stream)
public void write(@Cast(value="const std::uint8_t*") BytePointer data, @Cast(value="std::size_t") long size)
public void write(@Cast(value="const std::uint8_t*") ByteBuffer data, @Cast(value="std::size_t") long size)
public void write(@Cast(value="const std::uint8_t*") byte[] data, @Cast(value="std::size_t") long size)
public void write(@Cast(value="std::uint8_t*") @StdVector BytePointer data)
public void write(@Cast(value="std::uint8_t*") @StdVector ByteBuffer data)
public void write(@Cast(value="std::uint8_t*") @StdVector byte[] data)
@Cast(value="std::uint8_t*") @StdVector @Function public BytePointer read()
@Cast(value="std::uint8_t*") @StdVector @Function public BytePointer read(@ByRef XLinkTimespec timestampReceived)
@Function public void read(@Cast(value="std::uint8_t*") @StdVector BytePointer data)
@Function public void read(@Cast(value="std::uint8_t*") @StdVector ByteBuffer data)
@Function public void read(@Cast(value="std::uint8_t*") @StdVector byte[] data)
@Function public void read(@Cast(value="std::uint8_t*") @StdVector BytePointer data, @ByRef XLinkTimespec timestampReceived)
@Function public void read(@Cast(value="std::uint8_t*") @StdVector ByteBuffer data, @ByRef XLinkTimespec timestampReceived)
@Function public void read(@Cast(value="std::uint8_t*") @StdVector byte[] data, @ByRef XLinkTimespec timestampReceived)
public void writeSplit(@Const Pointer data, @Cast(value="std::size_t") long size, @Cast(value="std::size_t") long split)
public void writeSplit(@Const @ByRef ByteVector data, @Cast(value="std::size_t") long split)
@ByVal public StreamPacketDesc readMove()
@Cast(value="bool") public boolean write(@Const Pointer data, @Cast(value="std::size_t") long size, @ByVal @Cast(value="std::chrono::milliseconds*") Pointer timeout)
@Cast(value="bool") public boolean write(@Cast(value="const std::uint8_t*") BytePointer data, @Cast(value="std::size_t") long size, @ByVal @Cast(value="std::chrono::milliseconds*") Pointer timeout)
@Cast(value="bool") public boolean write(@Cast(value="const std::uint8_t*") ByteBuffer data, @Cast(value="std::size_t") long size, @ByVal @Cast(value="std::chrono::milliseconds*") Pointer timeout)
@Cast(value="bool") public boolean write(@Cast(value="const std::uint8_t*") byte[] data, @Cast(value="std::size_t") long size, @ByVal @Cast(value="std::chrono::milliseconds*") Pointer timeout)
@Cast(value="bool") public boolean write(@Cast(value="std::uint8_t*") @StdVector BytePointer data, @ByVal @Cast(value="std::chrono::milliseconds*") Pointer timeout)
@Cast(value="bool") public boolean write(@Cast(value="std::uint8_t*") @StdVector ByteBuffer data, @ByVal @Cast(value="std::chrono::milliseconds*") Pointer timeout)
@Cast(value="bool") public boolean write(@Cast(value="std::uint8_t*") @StdVector byte[] data, @ByVal @Cast(value="std::chrono::milliseconds*") Pointer timeout)
@Cast(value="bool") @Function public boolean read(@Cast(value="std::uint8_t*") @StdVector BytePointer data, @ByVal @Cast(value="std::chrono::milliseconds*") Pointer timeout)
@Cast(value="bool") @Function public boolean read(@Cast(value="std::uint8_t*") @StdVector ByteBuffer data, @ByVal @Cast(value="std::chrono::milliseconds*") Pointer timeout)
@Cast(value="bool") @Function public boolean read(@Cast(value="std::uint8_t*") @StdVector byte[] data, @ByVal @Cast(value="std::chrono::milliseconds*") Pointer timeout)
@Cast(value="bool") public boolean readMove(@ByRef StreamPacketDesc packet, @ByVal @Cast(value="const std::chrono::milliseconds*") Pointer timeout)
@Deprecated public streamPacketDesc_t readRaw()
@Cast(value="bool") @Deprecated public boolean readRaw(@ByPtrRef streamPacketDesc_t pPacket, @ByVal @Cast(value="std::chrono::milliseconds*") Pointer timeout)
@Deprecated public void readRawRelease()
Copyright © 2024. All rights reserved.