Package clickDetector.echoDetection
Class SimpleEchoDetector
java.lang.Object
clickDetector.echoDetection.SimpleEchoDetector
- All Implemented Interfaces:
EchoDetector
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleEchoDetector(SimpleEchoDetectionSystem simpleEchoDetectionSystem, ClickControl clickControl, ClickDetector.ChannelGroupDetector channelGroupDetector, int channelBitmap) -
Method Summary
Modifier and TypeMethodDescriptionvoidInitialise the echo detectorbooleanisEcho(ClickDetection clickDetection) Test to see if a single click is an echo or not.
-
Constructor Details
-
SimpleEchoDetector
public SimpleEchoDetector(SimpleEchoDetectionSystem simpleEchoDetectionSystem, ClickControl clickControl, ClickDetector.ChannelGroupDetector channelGroupDetector, int channelBitmap) - Parameters:
simpleEchoDetectionSystem-clickControl-channelGroupDetector-channelBitmap-
-
-
Method Details
-
initialise
public void initialise()Description copied from interface:EchoDetectorInitialise the echo detector- Specified by:
initialisein interfaceEchoDetector
-
isEcho
Description copied from interface:EchoDetectorTest to see if a single click is an echo or not.- Specified by:
isEchoin interfaceEchoDetector- Parameters:
clickDetection- a single click detection.- Returns:
- true if the click is an echo.
-