|
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.event.BasicEvent
net.sf.jaer.event.TypedEvent
net.sf.jaer.event.PolarityEvent
public class PolarityEvent
Represents an event with a polarity that is On or Off type
| Nested Class Summary | |
|---|---|
static class |
PolarityEvent.Polarity
|
| Field Summary | |
|---|---|
PolarityEvent.Polarity |
polarity
|
| Fields inherited from class net.sf.jaer.event.TypedEvent |
|---|
type |
| Fields inherited from class net.sf.jaer.event.BasicEvent |
|---|
timestamp, x, y |
| Constructor Summary | |
|---|---|
PolarityEvent()
Creates a new instance of PolarityEvent |
|
| Method Summary | |
|---|---|
void |
copyFrom(BasicEvent src)
copies fields from source event src to this event |
int |
getNumCellTypes()
Returns the number of types this type of event has, e.g. |
int |
getType()
Returns the int type of the event, by convention starting with 0 |
java.lang.String |
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 |
| Field Detail |
|---|
public PolarityEvent.Polarity polarity
| Constructor Detail |
|---|
public PolarityEvent()
| Method Detail |
|---|
public java.lang.String toString()
toString in class TypedEventpublic void copyFrom(BasicEvent src)
copyFrom in interface EventInterface<BasicEvent>copyFrom in class TypedEventsrc - the event to copy frompublic int getNumCellTypes()
EventInterface
getNumCellTypes in interface EventInterface<BasicEvent>getNumCellTypes in class BasicEventpublic int getType()
EventInterface
getType in interface EventInterface<BasicEvent>getType in class TypedEvent
|
jAER project on SourceForge | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||