org.mbari.siam.utils
Class FilterInput

java.lang.Object
  extended by org.mbari.siam.utils.FilterInput

public class FilterInput
extends java.lang.Object


Field Summary
protected  java.text.NumberFormat _dfmt
           
protected  java.util.Vector _filters
           
protected  int _id
           
protected  boolean _inhibit
           
protected  double _initialValue
           
protected  boolean _isChange
           
protected  boolean _isUpdate
           
protected static org.apache.log4j.Logger _log4j
          Log4j logger
protected  int _mode
           
protected  java.lang.String _name
           
protected  double _offset
           
protected  double _rawValue
           
protected  double _value
           
protected  double _weight
           
static int DEFAULT_ID
           
static int DEFAULT_MODE
           
static java.lang.String DEFAULT_NAME
           
static double DEFAULT_OFFSET
           
static double DEFAULT_WEIGHT
           
static int TRIGGER_ON_CHANGE
           
static int TRIGGER_ON_UPDATE
           
 
Constructor Summary
FilterInput()
           
FilterInput(int id)
           
FilterInput(int id, double weight, double offset)
           
FilterInput(int id, int mode)
           
FilterInput(java.lang.String name)
           
FilterInput(java.lang.String name, int id)
           
FilterInput(java.lang.String name, int id, double weight, double offset)
           
FilterInput(java.lang.String name, int id, double weight, double offset, int mode)
           
FilterInput(java.lang.String name, int id, int mode)
           
 
Method Summary
 void attach(Filter filter)
          Attach this FilterInput to a Filter
 double doubleValue()
           
 boolean getInhibit()
           
 int id()
           
 int intValue()
           
 boolean isChange()
           
 boolean isUpdate()
           
 long longValue()
           
 java.lang.String name()
           
 double offset()
           
 void put(double value)
           
 void put(int value)
           
 void put(long value)
           
 void reset()
           
 void reset(double value)
           
 void reset(int value)
           
 void reset(long value)
           
 void set(double value)
           
 void set(int value)
           
 void set(long value)
           
 void setID(int id)
           
 void setInhibit(boolean value)
           
 void setInit(double value)
           
 void setInit(int value)
           
 void setInit(long value)
           
 void setName(java.lang.String name)
           
 void setOffset(double value)
           
 void setWeight(double value)
           
 java.lang.String toString()
           
 void trigger()
           
 double weight()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_log4j

protected static org.apache.log4j.Logger _log4j
Log4j logger


TRIGGER_ON_UPDATE

public static final int TRIGGER_ON_UPDATE
See Also:
Constant Field Values

TRIGGER_ON_CHANGE

public static final int TRIGGER_ON_CHANGE
See Also:
Constant Field Values

DEFAULT_WEIGHT

public static final double DEFAULT_WEIGHT
See Also:
Constant Field Values

DEFAULT_OFFSET

public static final double DEFAULT_OFFSET
See Also:
Constant Field Values

DEFAULT_MODE

public static final int DEFAULT_MODE
See Also:
Constant Field Values

DEFAULT_NAME

public static final java.lang.String DEFAULT_NAME
See Also:
Constant Field Values

DEFAULT_ID

public static final int DEFAULT_ID
See Also:
Constant Field Values

_isChange

protected boolean _isChange

_isUpdate

protected boolean _isUpdate

_inhibit

protected boolean _inhibit

_value

protected double _value

_rawValue

protected double _rawValue

_initialValue

protected double _initialValue

_weight

protected double _weight

_offset

protected double _offset

_name

protected java.lang.String _name

_id

protected int _id

_filters

protected java.util.Vector _filters

_mode

protected int _mode

_dfmt

protected java.text.NumberFormat _dfmt
Constructor Detail

FilterInput

public FilterInput()

FilterInput

public FilterInput(int id)

FilterInput

public FilterInput(java.lang.String name)

FilterInput

public FilterInput(java.lang.String name,
                   int id)

FilterInput

public FilterInput(int id,
                   int mode)

FilterInput

public FilterInput(java.lang.String name,
                   int id,
                   int mode)

FilterInput

public FilterInput(int id,
                   double weight,
                   double offset)

FilterInput

public FilterInput(java.lang.String name,
                   int id,
                   double weight,
                   double offset)

FilterInput

public FilterInput(java.lang.String name,
                   int id,
                   double weight,
                   double offset,
                   int mode)
Method Detail

attach

public void attach(Filter filter)
Attach this FilterInput to a Filter


isChange

public boolean isChange()

isUpdate

public boolean isUpdate()

set

public void set(double value)

set

public void set(long value)

set

public void set(int value)

put

public void put(double value)

put

public void put(int value)

put

public void put(long value)

trigger

public void trigger()

getInhibit

public boolean getInhibit()

setInhibit

public void setInhibit(boolean value)

setInit

public void setInit(double value)

setInit

public void setInit(int value)

setInit

public void setInit(long value)

reset

public void reset(double value)

reset

public void reset()

reset

public void reset(int value)

reset

public void reset(long value)

intValue

public int intValue()

doubleValue

public double doubleValue()

longValue

public long longValue()

setName

public void setName(java.lang.String name)

name

public java.lang.String name()

id

public int id()

setID

public void setID(int id)

setWeight

public void setWeight(double value)

setOffset

public void setOffset(double value)

weight

public double weight()

offset

public double offset()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.