public class Classifier extends Consumer implements IModelHandler
Modifier and Type | Class and Description |
---|---|
class |
Classifier.Options
All options for the consumer
|
Modifier and Type | Field and Description |
---|---|
Classifier.Options |
options |
_doWakeLock, _frame
_evchannel_in, _evchannel_out, _isSetup, _name, _safeToKill, _terminate, threadPriority
Constructor and Description |
---|
Classifier() |
Modifier and Type | Method and Description |
---|---|
void |
consume(Stream[] stream_in,
Event trigger)
main processing method
|
void |
enter(Stream[] stream_in)
initialization specific to sensor implementation (called by local thread after framework start)
|
Model |
getModel() |
OptionList |
getOptions() |
void |
setModel(Model model) |
close, flush, getEventTrigger, init, reset, run, setEventTrigger, setup, setup
clear, forcekill, getComponentName, getEventChannelOut, isSetup
public final Classifier.Options options
public OptionList getOptions()
getOptions
in class Component
public void enter(Stream[] stream_in) throws SSJFatalException
Consumer
enter
in class Consumer
stream_in
- Stream[]SSJFatalException
- causes immediate pipeline terminationpublic void consume(Stream[] stream_in, Event trigger) throws SSJFatalException
Consumer
consume
in class Consumer
stream_in
- Stream[]trigger
- SSJFatalException
public void setModel(Model model)
setModel
in interface IModelHandler
public Model getModel()
getModel
in interface IModelHandler