public class DDPDatagram extends LXDatagram
LXDatagram.ErrorState
LXBufferOutput.ByteOrder
LXOutput.GammaMode, LXOutput.InetOutput
LXComponent.Placeholder, LXComponent.Renamable
LXSerializable.Utils
Modifier and Type | Field and Description |
---|---|
static int |
MAX_DATA_LENGTH |
buffer, error
byteOrder, byteOrderBuffer, indexBuffer
brightness, enabled, framesPerSecond, gamma, gammaMode
controlSurfaceSemaphore, KEY_CLASS, KEY_COMPONENT_ID, KEY_ID, KEY_PARAMETER_PATH, KEY_PATH, label, lx, modulationColor
NO_PORT
Constructor and Description |
---|
DDPDatagram(LX lx,
int[] indexBuffer) |
DDPDatagram(LX lx,
int[] indexBuffer,
int dataOffset) |
DDPDatagram(LX lx,
LXModel model) |
Modifier and Type | Method and Description |
---|---|
protected int |
getDataBufferOffset()
Offset into raw byte buffer where color data is written
|
DDPDatagram |
setDataOffset(int offset)
Sets the data offset for this packet
|
DDPDatagram |
setPushFlag(boolean push)
Sets whether the push flag is set on this datagram.
|
dispose, getAddress, getDataBuffer, getErrorState, getPort, onSend, setAddress, setPort, setSocket, updateSequenceNumber, validateBufferSize
setByteOrder, setByteOrder, updateDataBuffer, updateIndexBuffer
error, error, getGammaLut, log, onParameterChanged, onSend, send, send, setGammaDelegate, setGroup
addArray, addChild, addInternalParameter, addParameter, addParameter, contains, copyParameters, 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 MAX_DATA_LENGTH
public DDPDatagram(LX lx, int[] indexBuffer)
public DDPDatagram(LX lx, int[] indexBuffer, int dataOffset)
public DDPDatagram setPushFlag(boolean push)
push
- Whether push flag is truepublic DDPDatagram setDataOffset(int offset)
offset
- Offset into the remote data bufferprotected int getDataBufferOffset()
LXBufferOutput
getDataBufferOffset
in class LXBufferOutput
LX library by Mark C. Slee. © 2012-2020