serialPort.test
Class DtrImageProcessor

java.lang.Object
  extended by serialPort.test.DtrImageProcessor

public class DtrImageProcessor
extends java.lang.Object


Constructor Summary
DtrImageProcessor(DtrTest dtrTest, java.lang.String portName, float speedInSeconds)
          Serializable is default for all implementors of the ImageProcessorInterface.
 
Method Summary
static void main(java.lang.String[] args)
           
 java.awt.Image process(java.awt.Image image)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DtrImageProcessor

public DtrImageProcessor(DtrTest dtrTest,
                         java.lang.String portName,
                         float speedInSeconds)
Serializable is default for all implementors of the ImageProcessorInterface. However, serial ports are NOT serializable! Thus, their constuction needs to be automated from parameters that have reasonable defaults.

Method Detail

process

public java.awt.Image process(java.awt.Image image)

main

public static void main(java.lang.String[] args)
                 throws UnsupportedCommOperationException
Throws:
UnsupportedCommOperationException