public class OPCDatagram extends LXDatagram implements OPCOutput
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
CHANNEL_BROADCAST, COMMAND_SET_PIXEL_COLORS, COMMAND_SYSTEM_EXCLUSIVE, DEFAULT_PORT, HEADER_LEN, OFFSET_CHANNEL, OFFSET_COMMAND, OFFSET_DATA, OFFSET_DATA_LEN_LSB, OFFSET_DATA_LEN_MSB
NO_PORT
Constructor and Description |
---|
OPCDatagram(LX lx,
int[] indexBuffer) |
OPCDatagram(LX lx,
int[] indexBuffer,
byte channel) |
OPCDatagram(LX lx,
int[] indexBuffer,
LXBufferOutput.ByteOrder byteOrder,
byte channel) |
OPCDatagram(LX lx,
LXModel model) |
OPCDatagram(LX lx,
LXModel model,
byte channel) |
Modifier and Type | Method and Description |
---|---|
byte |
getChannel() |
protected int |
getDataBufferOffset()
Offset into raw byte buffer where color data is written
|
OPCDatagram |
setChannel(byte channel) |
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
getAddress, getPort, setAddress, setPort
get, get, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, getComponent, getComponent, getParameter, getParameter
public static final int MAX_DATA_LENGTH
public OPCDatagram(LX lx, int[] indexBuffer)
public OPCDatagram(LX lx, int[] indexBuffer, byte channel)
public OPCDatagram(LX lx, int[] indexBuffer, LXBufferOutput.ByteOrder byteOrder, byte channel)
public OPCDatagram setChannel(byte channel)
setChannel
in interface OPCOutput
public byte getChannel()
protected int getDataBufferOffset()
LXBufferOutput
getDataBufferOffset
in class LXBufferOutput
LX library by Mark C. Slee. © 2012-2020