Class RxAsyncDataHelper

  • All Implemented Interfaces:

    
    public class RxAsyncDataHelper
    
                        

    Used to convert in background an array of durations in µs (aka pulse widths) to Hexadecimal data.

    • Constructor Detail

      • RxAsyncDataHelper

        RxAsyncDataHelper()
    • Method Detail

      • computeNow

         boolean computeNow(RxAsyncDataHelper.AnalysisRequest analysisRequest)

        Convert a RfDurationsList stored in AnalysisRequest to a RfDurations object, an algorithm try to remove given glitchs ,then compute it to get hexa stream, this stream will be propagated to all subscribers. WARNING, call computeNow will cancel previous analysis started by a call to computeNow !

      • computeNow

         boolean computeNow(RfDurationsList rfDurationsList)

        Convert a RfDurationsList to a RfDurations object, then compute it to get hexa stream, this stream will be propagated to all subscribers. WARNING, call computeNow will cancel previous analysis started by a call to computeNow !

      • enqueue

         boolean enqueue(RxAsyncDataHelper.AnalysisRequest analysisRequest, boolean runInParallel)

        add to a queue this rfDurations, it will be computed later. when compute is done, subscribers are notified.

        Parameters:
        runInParallel - enqueued analysis will be evaluated when previous analysis obj will be evaluated.
      • isTerminated

         boolean isTerminated()

        Indicates if all task are terminated.