コード例 #1
0
ファイル: WiFiSensor.cs プロジェクト: poros/whereless
 public WiFiSensor(WaitHandle stopThread, WaitHandle pauseThread, WaitHandle playThread, SensorToLocalizer<SensorOutput> output)
 {
     _client = new WlanClient();
     _threadControls[0] = stopThread;
     _threadControls[1] = pauseThread;
     _play = playThread;
     _output = output;
 }
コード例 #2
0
ファイル: LocationLocalizer.cs プロジェクト: poros/whereless
        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;
        }