Example #1
0
 /// <summary>
 /// Removes a OnDetectedDelegate
 /// See docs for AddOnDetectedDelegate()
 /// </summary>
 /// <param name="del"></param>
 public void RemoveOnDetectedDelegate(OnDetectedDelegate del)
 {
     this.onDetectedDelegates -= del;
 }
Example #2
0
 /// <summary>
 /// Add a new delegate to be triggered when a target is first found by a perimeter.
 /// The delegate signature is:  delegate(TargetTracker source)
 /// See TargetTracker documentation for usage of the provided 'source'
 /// </summary>
 /// <param name="del"></param>
 public void AddOnDetectedDelegate(OnDetectedDelegate del)
 {
     this.onDetectedDelegates += del;
 }
Example #3
0
 /// <summary>
 /// This replaces all older delegates rather than adding a new one to the list.
 /// See docs for AddOnDetectedDelegate()
 /// </summary>
 /// <param name="del"></param>
 public void SetOnDetectedDelegate(OnDetectedDelegate del)
 {
     this.onDetectedDelegates = del;
 }
 /// <summary>
 /// Removes a OnDetectedDelegate 
 /// See docs for AddOnDetectedDelegate()
 /// </summary>
 /// <param name="del"></param>
 public void RemoveOnDetectedDelegate(OnDetectedDelegate del)
 {
     this.onDetectedDelegates -= del;
 }
 /// <summary>
 /// This replaces all older delegates rather than adding a new one to the list.
 /// See docs for AddOnDetectedDelegate()
 /// </summary>
 /// <param name="del"></param>
 public void SetOnDetectedDelegate(OnDetectedDelegate del)
 {
     this.onDetectedDelegates = del;
 }
        /// <summary>
		/// Add a new delegate to be triggered when a target is first found by an Area.
        /// The delegate signature is:  delegate(TargetTracker source)
        /// See TargetTracker documentation for usage of the provided 'source'
        /// **This will only allow a delegate to be added once.**
        /// </summary>
        /// <param name="del"></param>
        public void AddOnDetectedDelegate(OnDetectedDelegate del)
        {
            this.onDetectedDelegates -= del;  // Cheap way to ensure unique (add only once)
            this.onDetectedDelegates += del;
        }
Example #7
0
 /// <summary>
 /// Add a new delegate to be triggered when a target is first found by a perimeter.
 /// The delegate signature is:  delegate(TargetTracker source)
 /// See TargetTracker documentation for usage of the provided 'source'
 /// </summary>
 /// <param name="del"></param>
 public void AddOnDetectedDelegate(OnDetectedDelegate del)
 {
     this.onDetectedDelegates += del;
 }
Example #8
0
 /// <summary>
 /// Add a new delegate to be triggered when a target is first found by an Area.
 /// The delegate signature is:  delegate(TargetTracker source)
 /// See TargetTracker documentation for usage of the provided 'source'
 /// **This will only allow a delegate to be added once.**
 /// </summary>
 /// <param name="del"></param>
 public void AddOnDetectedDelegate(OnDetectedDelegate del)
 {
     this.onDetectedDelegates -= del;  // Cheap way to ensure unique (add only once)
     this.onDetectedDelegates += del;
 }