public class KinetDatagram extends LXDatagram
Modifier and Type | Class and Description |
---|---|
static class |
KinetDatagram.Version |
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 |
---|
KinetDatagram(LX lx,
int[] indexBuffer,
int kinetPort)
Constructs a datagram that sends on the given kinet supply output port
|
KinetDatagram(LX lx,
int[] indexBuffer,
int kinetPort,
KinetDatagram.Version version)
Constructs a datagram that sends on the given kinet supply output port
|
KinetDatagram(LX lx,
LXModel model,
int kinetPort)
Constructs a datagram that sends on the given kinet supply output port
|
KinetDatagram(LX lx,
LXModel model,
int kinetPort,
KinetDatagram.Version version)
Constructs a datagram that sends on the given kinet supply output port
|
Modifier and Type | Method and Description |
---|---|
protected int |
getDataBufferOffset()
Offset into raw byte buffer where color data is written
|
KinetDatagram |
setKinetPort(byte kinetPort) |
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 KinetDatagram(LX lx, LXModel model, int kinetPort)
lx
- LX instancemodel
- Model to output points forkinetPort
- Number of the output port on the kinet power supplypublic KinetDatagram(LX lx, LXModel model, int kinetPort, KinetDatagram.Version version)
lx
- LX instancemodel
- Model that this datagram outputs points forkinetPort
- Number of the output port on the kinet power supplyversion
- Version of Kinet Protocolpublic KinetDatagram(LX lx, int[] indexBuffer, int kinetPort)
lx
- LX instanceindexBuffer
- A list of the point indices that should be sent on this portkinetPort
- Number of the output port on the kinet power supplypublic KinetDatagram(LX lx, int[] indexBuffer, int kinetPort, KinetDatagram.Version version)
lx
- LX instanceindexBuffer
- Index buffer that this datagram outputs points forkinetPort
- Number of the output port on the kinet power supplyversion
- Version of Kinet Protocolpublic KinetDatagram setKinetPort(byte kinetPort)
protected int getDataBufferOffset()
LXBufferOutput
getDataBufferOffset
in class LXBufferOutput
LX library by Mark C. Slee. © 2012-2020