@NoOffset public static class Node.Input extends Pointer
| Modifier and Type | Class and Description |
|---|---|
static class |
Node.Input.Type |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
Input(Node par,
ByteBuffer group,
ByteBuffer n,
int t,
boolean blocking,
int queueSize,
boolean waitForMessage,
Node.DatatypeHierarchy types) |
Input(Node par,
ByteBuffer group,
ByteBuffer n,
Node.Input.Type t,
boolean blocking,
int queueSize,
boolean waitForMessage,
Node.DatatypeHierarchy types) |
Input(Node par,
ByteBuffer n,
int t,
boolean blocking,
int queueSize,
boolean waitForMessage,
Node.DatatypeHierarchy types) |
Input(Node par,
ByteBuffer n,
int t,
boolean blocking,
int queueSize,
Node.DatatypeHierarchy types) |
Input(Node par,
ByteBuffer n,
int t,
Node.DatatypeHierarchy types) |
Input(Node par,
ByteBuffer n,
Node.Input.Type t,
boolean blocking,
int queueSize,
boolean waitForMessage,
Node.DatatypeHierarchy types) |
Input(Node par,
ByteBuffer n,
Node.Input.Type t,
boolean blocking,
int queueSize,
Node.DatatypeHierarchy types) |
Input(Node par,
ByteBuffer n,
Node.Input.Type t,
Node.DatatypeHierarchy types) |
Input(Node par,
BytePointer group,
BytePointer n,
int t,
boolean blocking,
int queueSize,
boolean waitForMessage,
Node.DatatypeHierarchy types) |
Input(Node par,
BytePointer group,
BytePointer n,
Node.Input.Type t,
boolean blocking,
int queueSize,
boolean waitForMessage,
Node.DatatypeHierarchy types)
Constructs Input with specified blocking and queueSize as well as additional options
|
Input(Node par,
BytePointer n,
int t,
boolean blocking,
int queueSize,
boolean waitForMessage,
Node.DatatypeHierarchy types) |
Input(Node par,
BytePointer n,
int t,
boolean blocking,
int queueSize,
Node.DatatypeHierarchy types) |
Input(Node par,
BytePointer n,
int t,
Node.DatatypeHierarchy types) |
Input(Node par,
BytePointer n,
Node.Input.Type t,
boolean blocking,
int queueSize,
boolean waitForMessage,
Node.DatatypeHierarchy types)
Constructs Input with specified blocking and queueSize as well as additional options
|
Input(Node par,
BytePointer n,
Node.Input.Type t,
boolean blocking,
int queueSize,
Node.DatatypeHierarchy types)
Constructs Input with specified blocking and queueSize options
|
Input(Node par,
BytePointer n,
Node.Input.Type t,
Node.DatatypeHierarchy types)
Constructs Input with default blocking and queueSize options
|
Input(Node par,
String n,
int t,
boolean blocking,
int queueSize,
boolean waitForMessage,
Node.DatatypeHierarchy types) |
Input(Node par,
String n,
int t,
boolean blocking,
int queueSize,
Node.DatatypeHierarchy types) |
Input(Node par,
String n,
int t,
Node.DatatypeHierarchy types) |
Input(Node par,
String n,
Node.Input.Type t,
boolean blocking,
int queueSize,
boolean waitForMessage,
Node.DatatypeHierarchy types) |
Input(Node par,
String n,
Node.Input.Type t,
boolean blocking,
int queueSize,
Node.DatatypeHierarchy types) |
Input(Node par,
String n,
Node.Input.Type t,
Node.DatatypeHierarchy types) |
Input(Node par,
String group,
String n,
int t,
boolean blocking,
int queueSize,
boolean waitForMessage,
Node.DatatypeHierarchy types) |
Input(Node par,
String group,
String n,
Node.Input.Type t,
boolean blocking,
int queueSize,
boolean waitForMessage,
Node.DatatypeHierarchy types) |
Input(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
BoolOptional |
blocking() |
boolean |
defaultBlocking() |
int |
defaultQueueSize() |
boolean |
defaultWaitForMessage() |
boolean |
getBlocking()
Get input queue behavior
|
Node |
getParent() |
int |
getQueueSize()
Get input queue size.
|
boolean |
getReusePreviousMessage()
Equivalent to getWaitForMessage but with inverted logic.
|
boolean |
getWaitForMessage()
Get behavior whether to wait for this input when a Node processes certain data or not
|
BytePointer |
group() |
BytePointer |
name() |
Node.DatatypeHierarchy |
possibleDatatypes() |
IntOptional |
queueSize() |
void |
setBlocking(boolean blocking)
Overrides default input queue behavior.
|
void |
setQueueSize(int size)
Overrides default input queue size.
|
void |
setReusePreviousMessage(boolean reusePreviousMessage)
Equivalent to setWaitForMessage but with inverted logic.
|
void |
setWaitForMessage(boolean waitForMessage)
Overrides default wait for message behavior.
|
String |
toString()
Input to string representation
|
Node.Input.Type |
type() |
BoolOptional |
waitForMessage() |
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, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic Input(Pointer p)
Pointer(Pointer).public Input(@ByRef Node par, @StdString BytePointer n, Node.Input.Type t, @StdVector Node.DatatypeHierarchy types)
public Input(@ByRef Node par, @StdString ByteBuffer n, @Cast(value="dai::Node::Input::Type") int t, @StdVector Node.DatatypeHierarchy types)
public Input(@ByRef Node par, @StdString String n, Node.Input.Type t, @StdVector Node.DatatypeHierarchy types)
public Input(@ByRef Node par, @StdString BytePointer n, @Cast(value="dai::Node::Input::Type") int t, @StdVector Node.DatatypeHierarchy types)
public Input(@ByRef Node par, @StdString ByteBuffer n, Node.Input.Type t, @StdVector Node.DatatypeHierarchy types)
public Input(@ByRef Node par, @StdString String n, @Cast(value="dai::Node::Input::Type") int t, @StdVector Node.DatatypeHierarchy types)
public Input(@ByRef Node par, @StdString BytePointer n, Node.Input.Type t, @Cast(value="bool") boolean blocking, int queueSize, @StdVector Node.DatatypeHierarchy types)
public Input(@ByRef Node par, @StdString ByteBuffer n, @Cast(value="dai::Node::Input::Type") int t, @Cast(value="bool") boolean blocking, int queueSize, @StdVector Node.DatatypeHierarchy types)
public Input(@ByRef Node par, @StdString String n, Node.Input.Type t, @Cast(value="bool") boolean blocking, int queueSize, @StdVector Node.DatatypeHierarchy types)
public Input(@ByRef Node par, @StdString BytePointer n, @Cast(value="dai::Node::Input::Type") int t, @Cast(value="bool") boolean blocking, int queueSize, @StdVector Node.DatatypeHierarchy types)
public Input(@ByRef Node par, @StdString ByteBuffer n, Node.Input.Type t, @Cast(value="bool") boolean blocking, int queueSize, @StdVector Node.DatatypeHierarchy types)
public Input(@ByRef Node par, @StdString String n, @Cast(value="dai::Node::Input::Type") int t, @Cast(value="bool") boolean blocking, int queueSize, @StdVector Node.DatatypeHierarchy types)
public Input(@ByRef Node par, @StdString BytePointer n, Node.Input.Type t, @Cast(value="bool") boolean blocking, int queueSize, @Cast(value="bool") boolean waitForMessage, @StdVector Node.DatatypeHierarchy types)
public Input(@ByRef Node par, @StdString ByteBuffer n, @Cast(value="dai::Node::Input::Type") int t, @Cast(value="bool") boolean blocking, int queueSize, @Cast(value="bool") boolean waitForMessage, @StdVector Node.DatatypeHierarchy types)
public Input(@ByRef Node par, @StdString String n, Node.Input.Type t, @Cast(value="bool") boolean blocking, int queueSize, @Cast(value="bool") boolean waitForMessage, @StdVector Node.DatatypeHierarchy types)
public Input(@ByRef Node par, @StdString BytePointer n, @Cast(value="dai::Node::Input::Type") int t, @Cast(value="bool") boolean blocking, int queueSize, @Cast(value="bool") boolean waitForMessage, @StdVector Node.DatatypeHierarchy types)
public Input(@ByRef Node par, @StdString ByteBuffer n, Node.Input.Type t, @Cast(value="bool") boolean blocking, int queueSize, @Cast(value="bool") boolean waitForMessage, @StdVector Node.DatatypeHierarchy types)
public Input(@ByRef Node par, @StdString String n, @Cast(value="dai::Node::Input::Type") int t, @Cast(value="bool") boolean blocking, int queueSize, @Cast(value="bool") boolean waitForMessage, @StdVector Node.DatatypeHierarchy types)
public Input(@ByRef Node par, @StdString BytePointer group, @StdString BytePointer n, Node.Input.Type t, @Cast(value="bool") boolean blocking, int queueSize, @Cast(value="bool") boolean waitForMessage, @StdVector Node.DatatypeHierarchy types)
public Input(@ByRef Node par, @StdString ByteBuffer group, @StdString ByteBuffer n, @Cast(value="dai::Node::Input::Type") int t, @Cast(value="bool") boolean blocking, int queueSize, @Cast(value="bool") boolean waitForMessage, @StdVector Node.DatatypeHierarchy types)
public Input(@ByRef Node par, @StdString String group, @StdString String n, Node.Input.Type t, @Cast(value="bool") boolean blocking, int queueSize, @Cast(value="bool") boolean waitForMessage, @StdVector Node.DatatypeHierarchy types)
public Input(@ByRef Node par, @StdString BytePointer group, @StdString BytePointer n, @Cast(value="dai::Node::Input::Type") int t, @Cast(value="bool") boolean blocking, int queueSize, @Cast(value="bool") boolean waitForMessage, @StdVector Node.DatatypeHierarchy types)
public Input(@ByRef Node par, @StdString ByteBuffer group, @StdString ByteBuffer n, Node.Input.Type t, @Cast(value="bool") boolean blocking, int queueSize, @Cast(value="bool") boolean waitForMessage, @StdVector Node.DatatypeHierarchy types)
public Input(@ByRef Node par, @StdString String group, @StdString String n, @Cast(value="dai::Node::Input::Type") int t, @Cast(value="bool") boolean blocking, int queueSize, @Cast(value="bool") boolean waitForMessage, @StdVector Node.DatatypeHierarchy types)
@MemberGetter @StdString public BytePointer group()
@MemberGetter @StdString public BytePointer name()
@MemberGetter public Node.Input.Type type()
@MemberGetter @Cast(value="bool") public boolean defaultBlocking()
@MemberGetter public int defaultQueueSize()
@MemberGetter @ByRef public BoolOptional blocking()
@MemberGetter @ByRef @Cast(value="tl::optional<int>*") public IntOptional queueSize()
@MemberGetter @ByRef public BoolOptional waitForMessage()
@MemberGetter @Cast(value="bool") public boolean defaultWaitForMessage()
@MemberGetter @StdVector public Node.DatatypeHierarchy possibleDatatypes()
@StdString public String toString()
public void setBlocking(@Cast(value="bool") boolean blocking)
blocking - True blocking, false overwriting@Cast(value="bool") public boolean getBlocking()
public void setQueueSize(int size)
blocking attributesize - Maximum input queue sizepublic int getQueueSize()
public void setWaitForMessage(@Cast(value="bool") boolean waitForMessage)
waitForMessage - Whether to wait for message to arrive to this input or not@Cast(value="bool") public boolean getWaitForMessage()
public void setReusePreviousMessage(@Cast(value="bool") boolean reusePreviousMessage)
Copyright © 2023. All rights reserved.