/// <summary> /// Callback used to pass the postprocessor a reference to the object /// that will run the postprocessor's <code>IPostProcessor.Process</code> /// method when the client requires. /// </summary> public void SetCallback(IRepeatedPostprocessorRunner runner) { lock (_gate) { _callback = runner; } }
/// <summary> /// Used when a new postprocessing of the last received result is requested. /// </summary> public void Update() { IRepeatedPostprocessorRunner callback = GetCallback(); if (callback != null) { callback.Update(); } }