public class DDPOutput extends LXDatagramOutput
LXComponent.Placeholder, LXComponent.Renamable
LXSerializable.Utils
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_CHUNK_SIZE |
datagrams
brightness, children, enabled, framesPerSecond, gamma, gammaLut
controlSurfaceSemaphore, KEY_CLASS, KEY_COMPONENT_ID, KEY_ID, KEY_PARAMETER_PATH, KEY_PATH, label, lx, modulationColor
Constructor and Description |
---|
DDPOutput(LX lx,
int[] indexBuffer) |
DDPOutput(LX lx,
int[] indexBuffer,
int chunkSize)
Constructs a DDPOutput with a given total set of points and a specified chunkSize.
|
DDPOutput(LX lx,
LXModel model) |
DDPOutput(LX lx,
LXModel model,
int chunkSize) |
Modifier and Type | Method and Description |
---|---|
LXDatagramOutput |
addDatagram(LXDatagram datagram) |
DDPOutput |
setPushAll(boolean pushAll)
Configures whether the push flag is set for all individual DDP datagram packets, or whether
it is only set on the final DDP packet.
|
addDatagrams, addDatagrams, afterSend, beforeSend, onSend, onSend, onSendDatagram, setAddress, setPort
addChild, error, error, log, onParameterChanged, removeChild, send
addArray, addChild, addInternalParameter, addParameter, addParameter, contains, copyParameters, dispose, getChild, getComponentName, getComponentName, getComponentName, getId, getLabel, getLX, getOscAddress, getOscLabel, getOscPath, getParameter, getParameters, getParent, getPath, handleOscMessage, load, loadParameters, removeParameter, removeParameter, save, saveParameters, setParent, toString, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
get, get, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, getComponent, getComponent, getParameter, getParameter
public static final int DEFAULT_CHUNK_SIZE
public DDPOutput(LX lx, LXModel model) throws SocketException
SocketException
public DDPOutput(LX lx, LXModel model, int chunkSize) throws SocketException
SocketException
public DDPOutput(LX lx, int[] indexBuffer) throws SocketException
SocketException
public DDPOutput(LX lx, int[] indexBuffer, int chunkSize) throws SocketException
lx
- LX instanceindexBuffer
- All of the points to sendchunkSize
- Number of points to chunk per packetSocketException
- if a DatagramSocket could not be createdpublic DDPOutput setPushAll(boolean pushAll)
pushAll
- Whether to set the push flag on all packetspublic LXDatagramOutput addDatagram(LXDatagram datagram)
addDatagram
in class LXDatagramOutput
LX library by Mark C. Slee. © 2012-2020