jAER project on SourceForge

net.sf.jaer.eventprocessing
Enum FilterChain.ProcessingMode

java.lang.Object
  extended by java.lang.Enum<FilterChain.ProcessingMode>
      extended by net.sf.jaer.eventprocessing.FilterChain.ProcessingMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FilterChain.ProcessingMode>
Enclosing class:
FilterChain

public static enum FilterChain.ProcessingMode
extends java.lang.Enum<FilterChain.ProcessingMode>

Filters can either be processed in the rendering or the data acquisition cycle. Procesing in the rendering cycle is certainly more efficient because events are processed in larger packets, but latency is increased to the rendering frame rate delay. Processing in the data acquisition thread has the shortest possible latency and if the filter annotates graphics this processing can cause threading problems, e.g. if the annotation modifies the graphics buffer while the image is being rendered.


Enum Constant Summary
ACQUISITION
           
RENDERING
           
 
Method Summary
static FilterChain.ProcessingMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FilterChain.ProcessingMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

RENDERING

public static final FilterChain.ProcessingMode RENDERING

ACQUISITION

public static final FilterChain.ProcessingMode ACQUISITION
Method Detail

values

public static FilterChain.ProcessingMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (FilterChain.ProcessingMode c : FilterChain.ProcessingMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static FilterChain.ProcessingMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

jAER project on SourceForge