@Namespace(value="dai::node") @NoOffset @Properties(inherit=depthai.class) public class XLinkIn extends XLinkInPropertiesNode
Node.Connection, Node.DatatypeHierarchy, Node.Input, Node.InputMap, Node.Output, Node.OutputMap
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
XLinkIn(PipelineImpl par,
long nodeId) |
XLinkIn(PipelineImpl par,
long nodeId,
XLinkInProperties props) |
XLinkIn(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getMaxDataSize()
Get maximum messages size in bytes
|
int |
getNumFrames()
Get number of frames in pool
|
BytePointer |
getStreamName()
Get stream name
|
static BytePointer |
NAME() |
Node.Output |
out()
Outputs message of same type as send from host.
|
void |
setMaxDataSize(int maxDataSize)
Set maximum message size it can receive
|
void |
setNumFrames(int numFrames)
Set number of frames in pool for sending messages forward
|
void |
setStreamName(ByteBuffer name) |
void |
setStreamName(BytePointer name)
Specifies XLink stream name to use.
|
void |
setStreamName(String name) |
clone, getName, properties, properties
assetManager, getAssetManager, getInputRefs, getInputs, getOutputRefs, getOutputs, getParentPipeline, getProperties, getRequiredOpenVINOVersion, id, inputMapRefs, inputRefs, outputMapRefs, outputRefs, propertiesHolder, setInputMapRefs, setInputRefs, setOutputMapRefs, setOutputRefs
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 XLinkIn(Pointer p)
Pointer(Pointer)
.public XLinkIn(@SharedPtr PipelineImpl par, @Cast(value="int64_t") long nodeId)
public XLinkIn(@SharedPtr PipelineImpl par, @Cast(value="int64_t") long nodeId, @UniquePtr XLinkInProperties props)
@MemberGetter @Cast(value="const char*") public static BytePointer NAME()
@MemberGetter @ByRef public Node.Output out()
public void setStreamName(@StdString BytePointer name)
name
- Stream namepublic void setStreamName(@StdString ByteBuffer name)
public void setStreamName(@StdString String name)
public void setMaxDataSize(@Cast(value="std::uint32_t") int maxDataSize)
maxDataSize
- Maximum size in bytespublic void setNumFrames(@Cast(value="std::uint32_t") int numFrames)
numFrames
- Maximum number of frames in pool@StdString public BytePointer getStreamName()
@Cast(value="std::uint32_t") public int getMaxDataSize()
Copyright © 2024. All rights reserved.