|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.beadsproject.beads.core.Bead net.beadsproject.beads.analysis.FeatureRecorder
public class FeatureRecorder
A FeatureRecorder records feature data from a feature extraction process to a FeatureTrack
. Typically, a FeatureRecorder is given a set of FeatureExtractor
s to log data from, and is set to listen to a Segmenter
, which lets the FeatureRecorder know when the FeatureExtractor
s have new data to log.
Constructor Summary | |
---|---|
FeatureRecorder()
Instantiates a new feature recorder. |
Method Summary | |
---|---|
void |
addFeatureExtractor(FeatureExtractor<?,?> e)
Adds a new FeatureExtractor. |
FeatureTrack |
getFeatureTrack()
Gets the FeatureTrack. |
void |
messageReceived(Bead bead)
Responds to an incoming message. |
void |
removeFeatureExtractor(FeatureExtractor<?,?> e)
Removes the specified FeatureExtractor. |
void |
setFeatureTrack(FeatureTrack ft)
Sets the FeatureTrack. |
Methods inherited from class net.beadsproject.beads.core.Bead |
---|
getKillListener, getName, isDeleted, isPaused, kill, message, pause, setKillListener, setName, start, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FeatureRecorder()
Method Detail |
---|
public void addFeatureExtractor(FeatureExtractor<?,?> e)
e
- the FeatureExtractor.public void removeFeatureExtractor(FeatureExtractor<?,?> e)
e
- the FeatureExtractor.public void messageReceived(Bead bead)
Bead
messageReceived
in class Bead
bead
- the messagepublic void setFeatureTrack(FeatureTrack ft)
ft
- the new FeatureTrackpublic FeatureTrack getFeatureTrack()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |