fr.emn.reactiveinput.devices
Class DInstanceOf

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

public class DInstanceOf
extends AbstractDevice

Title:

Description:

Copyright: Copyright (c) 2002

Company:

Version:
1.0
Author:
unascribed

Field Summary
 In in
           
 Out out
           
 
Fields inherited from class fr.emn.reactiveinput.AbstractDevice
currIndex, ins, outs
 
Fields inherited from interface fr.emn.reactiveinput.Device
AUTO_PROPERTIES
 
Constructor Summary
DInstanceOf()
           
 
Method Summary
 java.lang.String getClassToTest()
           
 boolean isOpenable()
          Returns true if the device can be opened.
 void setClassToTest(java.lang.String s)
           
 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, 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

out

public final Out out
Constructor Detail

DInstanceOf

public DInstanceOf()
Method Detail

isOpenable

public boolean isOpenable()
Description copied from class: AbstractDevice
Returns true if the device can be opened.

By default, returns true if all obligatory input slots are valid. Subclass this method to add more conditions.

Specified by:
isOpenable in interface Device
Overrides:
isOpenable in class AbstractDevice

setClassToTest

public void setClassToTest(java.lang.String s)

getClassToTest

public java.lang.String getClassToTest()

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()