@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,
BytePointer name,
long maxWriteSize) |
XLinkStream(XLinkConnection conn,
String name,
long maxWriteSize) |
XLinkStream(XLinkStream stream) |
| Modifier and Type | Method and Description |
|---|---|
int |
getStreamId() |
BytePointer |
read() |
void |
read(byte[] data) |
boolean |
read(byte[] data,
Pointer timeout) |
void |
read(ByteBuffer data) |
boolean |
read(ByteBuffer data,
Pointer timeout) |
void |
read(BytePointer data) |
boolean |
read(BytePointer data,
Pointer timeout) |
streamPacketDesc_t |
readRaw() |
boolean |
readRaw(streamPacketDesc_t pPacket,
Pointer timeout) |
void |
readRawRelease() |
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(byte[] data,
long split) |
void |
writeSplit(ByteBuffer data,
long split) |
void |
writeSplit(BytePointer 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, 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 XLinkStream(Pointer p)
Pointer(Pointer).public XLinkStream(@Const @ByRef XLinkConnection conn, @StdString BytePointer name, @Cast(value="std::size_t") long maxWriteSize)
public XLinkStream(@Const @ByRef XLinkConnection conn, @StdString String name, @Cast(value="std::size_t") long maxWriteSize)
public XLinkStream(@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()
@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)
public void writeSplit(@Const Pointer data, @Cast(value="std::size_t") long size, @Cast(value="std::size_t") long split)
public void writeSplit(@Cast(value="uint8_t*") @StdVector BytePointer data, @Cast(value="std::size_t") long split)
public void writeSplit(@Cast(value="uint8_t*") @StdVector ByteBuffer data, @Cast(value="std::size_t") long split)
public void writeSplit(@Cast(value="uint8_t*") @StdVector byte[] data, @Cast(value="std::size_t") long split)
public streamPacketDesc_t readRaw()
@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 readRaw(@ByPtrRef streamPacketDesc_t pPacket, @ByVal @Cast(value="std::chrono::milliseconds*") Pointer timeout)
public void readRawRelease()
Copyright © 2021. All rights reserved.