Class

de.sciss.processor.impl

ProcessWrapper

Related Doc: package impl

Permalink

class ProcessWrapper extends ProcessorImpl[Int, Processor[Int]] with Processor[Int]

Linear Supertypes
Processor[Int], ProcessorImpl[Int, Processor[Int]], FutureProxy[Int], ModelImpl[Update[Int, Processor[Int]]], Body, Prepared, ProcessorLike[Int, Processor[Int]], Model[Update[Int, Processor[Int]]], Future[Int], Awaitable[Int], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProcessWrapper
  2. Processor
  3. ProcessorImpl
  4. FutureProxy
  5. ModelImpl
  6. Body
  7. Prepared
  8. ProcessorLike
  9. Model
  10. Future
  11. Awaitable
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ProcessWrapper(name: String, process: Process)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def abort(): Unit

    Permalink

    Asynchronously aborts the process.

    Asynchronously aborts the process. This method returns immediately. Once the process is aborted, it will dispatch an Aborted event. This method may be called repeatedly, although calling it twice does not have any particular effect.

    Definition Classes
    ProcessorImplProcessorLike
  5. final def aborted: Boolean

    Permalink

    Returns true if the abort method had been called.

    Returns true if the abort method had been called.

    Definition Classes
    ProcessorImplBody
  6. def addListener(pf: Listener[Update[Int, Processor[Int]]]): pf.type

    Permalink
    Definition Classes
    ModelImpl → Model
  7. def andThen[U](pf: PartialFunction[Try[Int], U])(implicit executor: ExecutionContext): Future[Int]

    Permalink
    Definition Classes
    Future
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. final def await[B](that: ProcessorLike[B, Any], offset: Double = 0.0, weight: Double = 1.0): B

    Permalink
    Attributes
    protected
    Definition Classes
    ProcessorImpl
  10. def body(): Int

    Permalink

    The main processing body.

    The main processing body.

    Attributes
    protected
    Definition Classes
    ProcessWrapperProcessorImpl
  11. final def checkAborted(): Unit

    Permalink

    Checks if the process was aborted.

    Checks if the process was aborted. If so, throws an Aborted exception. The main body should _not_ try to catch this exception, which will be handled by the underlying infrastructure. However, the main body should put resource operations in proper try ... finally blocks, so that these resources are freed when Abort exception is thrown. Alternatively, the cleanUp method can be overridden to perform such tasks.

    Definition Classes
    ProcessorImplBody
  12. def cleanUp(): Unit

    Permalink

    Subclasses may override this to perform further cleanup when the process is aborted.

    Subclasses may override this to perform further cleanup when the process is aborted.

    Attributes
    protected
    Definition Classes
    ProcessorImpl
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def collect[S](pf: PartialFunction[Int, S])(implicit executor: ExecutionContext): Future[S]

    Permalink
    Definition Classes
    Future
  15. final def dispatch(update: Update[Int, Processor[Int]]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ModelImpl
  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  18. implicit final def executionContext: ExecutionContext

    Permalink

    Keeps a record of the execution context used for starting this processor.

    Keeps a record of the execution context used for starting this processor. You may use this to start intermediate sub processes. This method may only be used in the body method.

    Attributes
    protected
    Definition Classes
    ProcessorImpl
  19. def failed: Future[Throwable]

    Permalink
    Definition Classes
    Future
  20. def fallbackTo[U >: Int](that: Future[U]): Future[U]

    Permalink
    Definition Classes
    Future
  21. def filter(p: (Int) ⇒ Boolean)(implicit executor: ExecutionContext): Future[Int]

    Permalink
    Definition Classes
    Future
  22. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def flatMap[S](f: (Int) ⇒ Future[S])(implicit executor: ExecutionContext): Future[S]

    Permalink
    Definition Classes
    Future
  24. def foreach[U](f: (Int) ⇒ U)(implicit executor: ExecutionContext): Unit

    Permalink
    Definition Classes
    Future
  25. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  26. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  27. def isCompleted: Boolean

    Permalink
    Definition Classes
    FutureProxy → Future
  28. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  29. def map[S](f: (Int) ⇒ S)(implicit executor: ExecutionContext): Future[S]

    Permalink
    Definition Classes
    Future
  30. def mapTo[S](implicit tag: ClassTag[S]): Future[S]

    Permalink
    Definition Classes
    Future
  31. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  32. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. def notifyAborted(): Unit

    Permalink

    Subclasses may override this to be informed immediately.

    Subclasses may override this to be informed immediately. about an abort request. Otherwise they can pull the aborted status any time by invoking checkAborted().

    Attributes
    protected
    Definition Classes
    ProcessWrapperProcessorImpl
  34. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  35. def onComplete[U](func: (Try[Int]) ⇒ U)(implicit executor: ExecutionContext): Unit

    Permalink
    Definition Classes
    FutureProxy → Future
  36. def onFailure[U](pf: PartialFunction[Throwable, U])(implicit executor: ExecutionContext): Unit

    Permalink
    Definition Classes
    Future
  37. def onSuccess[U](pf: PartialFunction[Int, U])(implicit executor: ExecutionContext): Unit

    Permalink
    Definition Classes
    Future
  38. final def peerFuture: Future[Int]

    Permalink
    Attributes
    protected
    Definition Classes
    ProcessorImplFutureProxy
  39. final def progress: Double

    Permalink

    Queries the correct progress which is value between 0.0 and 1.0

    Queries the correct progress which is value between 0.0 and 1.0

    Definition Classes
    ProcessorImplBodyProcessorLike
  40. val progressResolution: Int

    Permalink

    The resolution at which progress reports are dispatched.

    The resolution at which progress reports are dispatched. The default of 100 means that a Processor.Progress message is only dispatched if the progress has advanced by at least 1 percent. Higher values give finer granularity (sub classes may override this value).

    Attributes
    protected
    Definition Classes
    ProcessorImpl
  41. final def progress_=(f: Double): Unit

    Permalink

    Invoke this to signalize progress

    Invoke this to signalize progress

    f

    the processor's progress in percent (0 to 1). Values outside the 0 to 1 range will be clipped.

    Definition Classes
    ProcessorImplBody
  42. def ready(atMost: Duration)(implicit permit: CanAwait): ProcessWrapper.this.type

    Permalink
    Definition Classes
    FutureProxy → Awaitable
  43. def recover[U >: Int](pf: PartialFunction[Throwable, U])(implicit executor: ExecutionContext): Future[U]

    Permalink
    Definition Classes
    Future
  44. def recoverWith[U >: Int](pf: PartialFunction[Throwable, Future[U]])(implicit executor: ExecutionContext): Future[U]

    Permalink
    Definition Classes
    Future
  45. def releaseListeners(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ModelImpl
  46. def removeListener(pf: Listener[Update[Int, Processor[Int]]]): Unit

    Permalink
    Definition Classes
    ModelImpl → Model
  47. def result(atMost: Duration)(implicit permit: CanAwait): Int

    Permalink
    Definition Classes
    FutureProxy → Awaitable
  48. final def start()(implicit executionContext: ExecutionContext): Unit

    Permalink
    Definition Classes
    ProcessorImplPrepared
  49. def startListening(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ModelImpl
  50. def stopListening(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ModelImpl
  51. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  52. def toString(): String

    Permalink
    Definition Classes
    ProcessWrapper → AnyRef → Any
  53. def transform[S](s: (Int) ⇒ S, f: (Throwable) ⇒ Throwable)(implicit executor: ExecutionContext): Future[S]

    Permalink
    Definition Classes
    Future
  54. def value: Option[Try[Int]]

    Permalink
    Definition Classes
    FutureProxy → Future
  55. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. final def withFilter(p: (Int) ⇒ Boolean)(implicit executor: ExecutionContext): Future[Int]

    Permalink
    Definition Classes
    Future
  59. def zip[U](that: Future[U]): Future[(Int, U)]

    Permalink
    Definition Classes
    Future

Inherited from Processor[Int]

Inherited from ProcessorImpl[Int, Processor[Int]]

Inherited from FutureProxy[Int]

Inherited from ModelImpl[Update[Int, Processor[Int]]]

Inherited from Body

Inherited from Prepared

Inherited from ProcessorLike[Int, Processor[Int]]

Inherited from Model[Update[Int, Processor[Int]]]

Inherited from Future[Int]

Inherited from Awaitable[Int]

Inherited from AnyRef

Inherited from Any

Ungrouped