예제 #1
0
 /// <summary>
 /// Removes a OnNotDetectedDelegate
 /// See docs for AddOnNotDetectedDelegate()
 /// </summary>
 /// <param name="del"></param>
 public void RemoveOnNotDetectedDelegate(OnNotDetectedDelegate del)
 {
     this.onNotDetectedDelegates -= del;
 }
예제 #2
0
 /// <summary>
 /// Add a new delegate to be triggered when a target is dropped by a perimieter for
 /// any reason; leaves or is removed.
 /// The delegate signature is:  delegate(TargetTracker source)
 /// See TargetTracker documentation for usage of the provided 'source'
 /// </summary>
 /// <param name="del"></param>
 public void AddOnNotDetectedDelegate(OnNotDetectedDelegate del)
 {
     this.onNotDetectedDelegates += del;
 }
예제 #3
0
 /// <summary>
 /// This replaces all older delegates rather than adding a new one to the list.
 /// See docs for AddOnNotDetectedDelegate()
 /// </summary>
 /// <param name="del"></param>
 public void SetOnNotDetectedDelegate(OnNotDetectedDelegate del)
 {
     this.onNotDetectedDelegates = del;
 }
예제 #4
0
        internal protected OnNotDetectedDelegate onNotDetectedDelegates;          // Executed by Area

        /// <summary>
        /// Add a new delegate to be triggered when a target is first found by an Area.
        /// The delegate signature is:  bool delegate(TargetTracker source, Target target)
        /// Return true to have no effect on the TargetTracker functioning
        /// Return false to cause the TargetTracker to ignore the new target entirely.
        /// **This will only allow a delegate to be added once.**
        /// </summary>
        /// <param name="del"></param>
        public void AddOnNotDetectedDelegate(OnNotDetectedDelegate del)
        {
            this.onNotDetectedDelegates -= del;              // Cheap way to ensure unique (add only once)
            this.onNotDetectedDelegates += del;
        }
예제 #5
0
 /// <summary>
 /// Removes a OnNotDetectedDelegate 
 /// See docs for AddOnNotDetectedDelegate()
 /// </summary>
 /// <param name="del"></param>
 public void RemoveOnNotDetectedDelegate(OnNotDetectedDelegate del)
 {
     this.onNotDetectedDelegates -= del;
 }
예제 #6
0
 /// <summary>
 /// This replaces all older delegates rather than adding a new one to the list.
 /// See docs for AddOnNotDetectedDelegate()
 /// </summary>
 /// <param name="del"></param>
 public void SetOnNotDetectedDelegate(OnNotDetectedDelegate del)
 {
     this.onNotDetectedDelegates = del;
 }
예제 #7
0
 /// <summary>
 /// Add a new delegate to be triggered when a target is dropped by a perimieter for
 /// any reason; leaves or is removed.
 /// 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 AddOnNotDetectedDelegate(OnNotDetectedDelegate del)
 {
     this.onNotDetectedDelegates -= del;  // Cheap way to ensure unique (add only once)
     this.onNotDetectedDelegates += del;
 }
예제 #8
0
 /// <summary>
 /// Add a new delegate to be triggered when a target is dropped by a perimieter for
 /// any reason; leaves or is removed.
 /// The delegate signature is:  delegate(TargetTracker source)
 /// See TargetTracker documentation for usage of the provided 'source'
 /// </summary>
 /// <param name="del"></param>
 public void AddOnNotDetectedDelegate(OnNotDetectedDelegate del)
 {
     this.onNotDetectedDelegates += del;
 }