It is mainly a trimmed-down version of EventDetector
that allows to separate the handling of the event once it has been
detected from the prior detection itself.
A separate interface allows a simpler use of predefined events, as in this case user only wants to specialize what to do once the event occurs and often does not want to change the detection code. It also allows to share a handler amon several detectors.
Interface | Description |
---|---|
EventHandler<T extends EventDetector> |
An interface defining how to override event handling behavior in the standard
propagator eventing classes without requiring subclassing.
|
FieldEventHandler<KK extends FieldEventDetector<T>,T extends RealFieldElement<T>> |
An interface defining how to override event handling behavior in the standard
propagator eventing classes without requiring subclassing.
|
Class | Description |
---|---|
ContinueOnEvent<T extends EventDetector> |
Event handler which will always return
continue as a state. |
FieldContinueOnEvent<KK extends FieldEventDetector<T>,T extends RealFieldElement<T>> |
Event handler which will always return
continue as a state. |
FieldStopOnDecreasing<KK extends FieldEventDetector<T>,T extends RealFieldElement<T>> |
Handle a detection event and choose what to do next.
|
FieldStopOnEvent<KK extends FieldEventDetector<T>,T extends RealFieldElement<T>> |
Event handler which will always return
continue as a state. |
FieldStopOnIncreasing<KK extends FieldEventDetector<T>,T extends RealFieldElement<T>> |
Handle a detection event and choose what to do next.
|
RecordAndContinue<T extends EventDetector> |
Handler that will record every time an event occurs and always return
EventHandler.Action.CONTINUE . |
RecordAndContinue.Event<T> |
A single event detected during propagation.
|
StopOnDecreasing<T extends EventDetector> |
Handle a detection event and choose what to do next.
|
StopOnEvent<T extends EventDetector> |
Event handler which will always return
stop as a state. |
StopOnIncreasing<T extends EventDetector> |
Handle a detection event and choose what to do next.
|
Enum | Description |
---|---|
EventHandler.Action |
Enumerate for actions to be performed when an event occurs.
|
FieldEventHandler.Action |
Enumerate for actions to be performed when an event occurs.
|
Copyright © 2002-2018 CS Systèmes d'information. All rights reserved.