jAER project on SourceForge

ch.unizh.ini.jaer.chip.cochlea
Class BinauralCochleaEvent

java.lang.Object
  extended by net.sf.jaer.event.BasicEvent
      extended by net.sf.jaer.event.TypedEvent
          extended by ch.unizh.ini.jaer.chip.cochlea.BinauralCochleaEvent
All Implemented Interfaces:
EventInterface<BasicEvent>
Direct Known Subclasses:
CochleaAMSEvent

public class BinauralCochleaEvent
extends TypedEvent

The events that a generic binarual cochlea returns.

Author:
tobi

Nested Class Summary
static class BinauralCochleaEvent.Ear
           
 
Field Summary
 
Fields inherited from class net.sf.jaer.event.TypedEvent
type
 
Fields inherited from class net.sf.jaer.event.BasicEvent
timestamp, x, y
 
Constructor Summary
BinauralCochleaEvent()
           
 
Method Summary
 BinauralCochleaEvent.Ear getEar()
           
 int getNumCellTypes()
          Overrides getNumCellTypes to be 2, one for each ear.
 
Methods inherited from class net.sf.jaer.event.TypedEvent
copyFrom, getType, toString
 
Methods inherited from class net.sf.jaer.event.BasicEvent
getTimestamp, getX, getY, setTimestamp, setX, setY
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BinauralCochleaEvent

public BinauralCochleaEvent()
Method Detail

getNumCellTypes

public int getNumCellTypes()
Overrides getNumCellTypes to be 2, one for each ear. 0=right ear, 1=left ear.

Specified by:
getNumCellTypes in interface EventInterface<BasicEvent>
Overrides:
getNumCellTypes in class BasicEvent
Returns:
2

getEar

public BinauralCochleaEvent.Ear getEar()

jAER project on SourceForge