|
jAER project on SourceForge | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AESequencerInterface
Field Summary |
---|
Fields inherited from interface net.sf.jaer.hardwareinterface.usb.USBInterface |
---|
PID_THESYCON_END, PID_THESYCON_START, VID_THESYCON |
Method Summary | |
---|---|
int |
getEstimatedOutEventRate()
Returns estimate of present out event rate on this interface |
int |
getMaxCapacity()
Returns max capacity of this interface in events/sec |
int |
getNumEventsSent()
|
int |
getNumEventsToSend()
|
int |
getTimestampTickUs()
|
boolean |
isEventSequencingEnabled()
|
boolean |
isLoopedSequencingEnabled()
|
void |
offerPacketToSequencer(AEPacketRaw packet)
Offers a packet to be sequenced to the sequencer. |
void |
resetTimestamps()
resets the timestamps to start at zero |
void |
setLoopedSequencingEnabled(boolean set)
enables continuous sequencing, if enabled the AEWriter rewinds if it reaches the end of the packet and restarts sending from the beginning. |
void |
startSequencing(AEPacketRaw eventsToSend)
starts sequencing of events, starts AEWriter. |
void |
stopSequencing()
stops sequencing of events from the driver |
Methods inherited from interface net.sf.jaer.hardwareinterface.usb.USBInterface |
---|
getDID, getPID, getStringDescriptors, getVID, getVIDPID |
Methods inherited from interface net.sf.jaer.hardwareinterface.HardwareInterface |
---|
close, getTypeName, isOpen, open |
Method Detail |
---|
int getNumEventsSent()
int getNumEventsToSend()
void resetTimestamps()
boolean isEventSequencingEnabled()
int getMaxCapacity()
int getEstimatedOutEventRate()
int getTimestampTickUs()
void offerPacketToSequencer(AEPacketRaw packet)
packet
- the packet to add to the tail of the queue.void setLoopedSequencingEnabled(boolean set)
set
- true to loop packet, false to sequence a single packetboolean isLoopedSequencingEnabled()
void startSequencing(AEPacketRaw eventsToSend) throws HardwareInterfaceException
eventsToSend
- the events that should be sequenced, timestamps are realtive to last event,
inter spike interval must not be bigger than 2^16-1
HardwareInterfaceException
void stopSequencing() throws HardwareInterfaceException
HardwareInterfaceException
|
jAER project on SourceForge | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |