/// <summary>
 /// constructor
 /// </summary>
 public SurveyorReplayThread(
     WaitCallback callback,
     SurveyorVisionStereo state,
     string teleop_file,
     string zip_utility,
     string record_path,
     string log_identifier)
 {
     if (callback == null) throw new ArgumentNullException("callback");
     _callback = callback;
     this.teleop_file = teleop_file;
     this.zip_utility = zip_utility;
     this.record_path = record_path;
     this.log_identifier = log_identifier;
     this.state = state;
 }
Exemple #2
0
 /// <summary>
 /// constructor
 /// </summary>
 public SurveyorReplayThread(
     WaitCallback callback,
     SurveyorVisionStereo state,
     string teleop_file,
     string zip_utility,
     string record_path,
     string log_identifier)
 {
     if (callback == null)
     {
         throw new ArgumentNullException("callback");
     }
     _callback           = callback;
     this.teleop_file    = teleop_file;
     this.zip_utility    = zip_utility;
     this.record_path    = record_path;
     this.log_identifier = log_identifier;
     this.state          = state;
 }
Exemple #3
0
 /// <summary>
 /// update all cameras
 /// </summary>
 /// <param name="state"></param>
 private void Update(SurveyorVisionStereo state)
 {
     state.update_state();
     _callback(_data);
 }
Exemple #4
0
        /// <summary>
        /// ThreadStart delegate
        /// </summary>
        public void Execute()
        {
            SurveyorVisionStereo state = (SurveyorVisionStereo)_data;

            Update(state);
        }
        /// <summary>
        /// update all cameras
        /// </summary>
        /// <param name="state"></param>
        private void Update(SurveyorVisionStereo state)
        {
			state.update_state();			
		    _callback(_data);
        }