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, setupclear, forcekill, getComponentName, getEventChannelOut, isSetuppublic final Classifier.Options options
public OptionList getOptions()
getOptions in class Componentpublic void enter(Stream[] stream_in) throws SSJFatalException
Consumerenter in class Consumerstream_in - Stream[]SSJFatalException - causes immediate pipeline terminationpublic void consume(Stream[] stream_in, Event trigger) throws SSJFatalException
Consumerconsume in class Consumerstream_in - Stream[]trigger - SSJFatalExceptionpublic void setModel(Model model)
setModel in interface IModelHandlerpublic Model getModel()
getModel in interface IModelHandler