|
jAER project on SourceForge | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jaer.aemapper.AbstractAEMapper
public abstract class AbstractAEMapper
An abstract AEMapper that only needs implementation of getMapping method.
| Constructor Summary | |
|---|---|
AbstractAEMapper()
|
|
| Method Summary | |
|---|---|
abstract int[] |
getMapping(int src)
get the array of destination addresses for a source address |
boolean |
isMappingEnabled()
|
boolean |
isMappingPassThrough()
|
AEPacketRaw |
mapPacket(AEPacketRaw input)
Iterates over events in input packet to supply output packet |
void |
setMappingEnabled(boolean yes)
Enables mapping. |
void |
setMappingPassThrough(boolean yes)
Sets identity mapping - all events just pass straight through. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractAEMapper()
| Method Detail |
|---|
public abstract int[] getMapping(int src)
src - the source address
public void setMappingPassThrough(boolean yes)
setMappingPassThrough in interface AEMapperyes - true to set identity mapping, false to activate normal mapper function.public boolean isMappingPassThrough()
isMappingPassThrough in interface AEMapperpublic void setMappingEnabled(boolean yes)
setMappingEnabled in interface AEMapperyes - true to enable mapping. False means that events will not be mapped from input to output.public boolean isMappingEnabled()
isMappingEnabled in interface AEMapperpublic AEPacketRaw mapPacket(AEPacketRaw input)
mapPacket in interface AEMapperinput - the packet of raw input events
|
jAER project on SourceForge | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||