fr.emn.reactiveinput.devices
Class DColorConv

java.lang.Object
  extended byfr.emn.reactiveinput.AbstractDevice
      extended byfr.emn.reactiveinput.devices.DColorConv
All Implemented Interfaces:
Device, Processor

public class DColorConv
extends AbstractDevice

A color converter


Field Summary
 Out b
           
static double[] COLOR_B
           
static double[] COLOR_G
           
static java.lang.String[] COLOR_NAMES
           
static double[] COLOR_R
           
 Out g
           
 In in
           
 Out r
           
 
Fields inherited from class fr.emn.reactiveinput.AbstractDevice
currIndex, ins, outs
 
Fields inherited from interface fr.emn.reactiveinput.Device
AUTO_PROPERTIES
 
Constructor Summary
DColorConv()
           
 
Method Summary
 void update()
          Updates device's output values.
 
Methods inherited from class fr.emn.reactiveinput.AbstractDevice
addIn, addIn, addOut, close, copy, doDisable, doEnable, finalize, getError, getIndex, getInfo, getIns, getName, getOuts, getProperties, hasExternalInput, hasExternalOutput, init, insertAt, insertAtEnd, insertBefore, isCopiable, isEnabled, isOpenable, open, setEnabled, setInfo, setInfo, setLastError, setName
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

in

public final In in

r

public final Out r

g

public final Out g

b

public final Out b

COLOR_NAMES

public static final java.lang.String[] COLOR_NAMES

COLOR_R

public static final double[] COLOR_R

COLOR_G

public static final double[] COLOR_G

COLOR_B

public static final double[] COLOR_B
Constructor Detail

DColorConv

public DColorConv()
Method Detail

update

public void update()
Description copied from class: AbstractDevice
Updates device's output values.

Subclass init() and update() methods if you want the device to process the data itself. Otherwise, subclass getProcessor() method to use extern processors.

Specified by:
update in interface Processor
Overrides:
update in class AbstractDevice
See Also:
Processor.update()