public WiFiSensor(WaitHandle stopThread, WaitHandle pauseThread, WaitHandle playThread, SensorToLocalizer<SensorOutput> output) { _client = new WlanClient(); _threadControls[0] = stopThread; _threadControls[1] = pauseThread; _play = playThread; _output = output; }
public LocationLocalizer(WaitHandle stopThread, WaitHandle pauseThread, WaitHandle playThread, SensorToLocalizer<SensorOutput> input, LocalizationAlgorithm algorithm) { _inputQueue = input; _algorithm = algorithm; _threadControls[0] = stopThread; _threadControls[1] = pauseThread; _threadControls[2] = input.FullHandle; _play = playThread; }