com.veromodo.tempo.filters
Class BasicFilter

java.lang.Object
  extended by com.veromodo.tempo.filters.BasicFilter
All Implemented Interfaces:
Connectable, Filter
Direct Known Subclasses:
IdentityFilter, PrintLogFilter

public abstract class BasicFilter
extends java.lang.Object
implements Filter

A very basic implementation of Filter. Provides a basic implementation of the connect() method.


Constructor Summary
BasicFilter()
           
 
Method Summary
 void connect(Connectable first, Connectable second)
          Connects module
 void setInput(Connectable input)
          This method should not have any effect for filters.
 void setOutput(Connectable output)
          This method should not have any effect for filters.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.veromodo.tempo.filters.Connectable
transfer
 

Constructor Detail

BasicFilter

public BasicFilter()
Method Detail

connect

public void connect(Connectable first,
                    Connectable second)
Description copied from interface: Filter
Connects module
first
to module
second
via this filter.

Specified by:
connect in interface Filter
Parameters:
first - The "left-hand-side" module
second - The "right-hand-side" module

setOutput

public void setOutput(Connectable output)
This method should not have any effect for filters. (connect() takes care of the output)

Specified by:
setOutput in interface Connectable

setInput

public void setInput(Connectable input)
This method should not have any effect for filters. (connect() takes care of the input)

Specified by:
setInput in interface Connectable