Packages

c

de.sciss.processor.impl

ProcessWrapper

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)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def abort(): Unit

    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

    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
    Definition Classes
    ModelImpl → Model
  7. def andThen[U](pf: PartialFunction[Try[Int], U])(implicit executor: ExecutionContext): Future[Int]
    Definition Classes
    Future
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. final def await[B](that: ProcessorLike[B, Any], offset: Double = 0.0, weight: Double = 1.0): B
    Attributes
    protected
    Definition Classes
    ProcessorImpl
  10. def body(): Int

    The main processing body.

    The main processing body.

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

    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

    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
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  14. def collect[S](pf: PartialFunction[Int, S])(implicit executor: ExecutionContext): Future[S]
    Definition Classes
    Future
  15. final def dispatch(update: Update[Int, Processor[Int]]): Unit
    Attributes
    protected
    Definition Classes
    ModelImpl
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  18. implicit final def executionContext: ExecutionContext

    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]
    Definition Classes
    Future
  20. def fallbackTo[U >: Int](that: Future[U]): Future[U]
    Definition Classes
    Future
  21. def filter(p: (Int) ⇒ Boolean)(implicit executor: ExecutionContext): Future[Int]
    Definition Classes
    Future
  22. def finalize(): Unit
    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]
    Definition Classes
    Future
  24. def flatten[S](implicit ev: <:<[Int, Future[S]]): Future[S]
    Definition Classes
    Future
  25. def foreach[U](f: (Int) ⇒ U)(implicit executor: ExecutionContext): Unit
    Definition Classes
    Future
  26. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. def isCompleted: Boolean
    Definition Classes
    FutureProxy → Future
  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. def map[S](f: (Int) ⇒ S)(implicit executor: ExecutionContext): Future[S]
    Definition Classes
    Future
  31. def mapTo[S](implicit tag: ClassTag[S]): Future[S]
    Definition Classes
    Future
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. def notifyAborted(): Unit

    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
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. def onComplete[U](func: (Try[Int]) ⇒ U)(implicit executor: ExecutionContext): Unit
    Definition Classes
    FutureProxy → Future
  37. final def peerFuture: Future[Int]
    Attributes
    protected
    Definition Classes
    ProcessorImplFutureProxy
  38. final def progress: Double

    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
  39. val progressResolution: Int

    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
  40. final def progress_=(f: Double): Unit

    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
  41. def ready(atMost: Duration)(implicit permit: CanAwait): ProcessWrapper.this.type
    Definition Classes
    FutureProxy → Awaitable
  42. def recover[U >: Int](pf: PartialFunction[Throwable, U])(implicit executor: ExecutionContext): Future[U]
    Definition Classes
    Future
  43. def recoverWith[U >: Int](pf: PartialFunction[Throwable, Future[U]])(implicit executor: ExecutionContext): Future[U]
    Definition Classes
    Future
  44. def releaseListeners(): Unit
    Attributes
    protected
    Definition Classes
    ModelImpl
  45. def removeListener(pf: Listener[Update[Int, Processor[Int]]]): Unit
    Definition Classes
    ModelImpl → Model
  46. def result(atMost: Duration)(implicit permit: CanAwait): Int
    Definition Classes
    FutureProxy → Awaitable
  47. final def start()(implicit executionContext: ExecutionContext): Unit
    Definition Classes
    ProcessorImplPrepared
  48. def startListening(): Unit
    Attributes
    protected
    Definition Classes
    ModelImpl
  49. def stopListening(): Unit
    Attributes
    protected
    Definition Classes
    ModelImpl
  50. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  51. def toString(): String
    Definition Classes
    ProcessWrapper → AnyRef → Any
  52. def transform[B](f: (Try[Int]) ⇒ Try[B])(implicit executor: ExecutionContext): Future[B]
    Definition Classes
    FutureProxy → Future
  53. def transform[S](s: (Int) ⇒ S, f: (Throwable) ⇒ Throwable)(implicit executor: ExecutionContext): Future[S]
    Definition Classes
    Future
  54. def transformWith[B](f: (Try[Int]) ⇒ Future[B])(implicit executor: ExecutionContext): Future[B]
    Definition Classes
    FutureProxy → Future
  55. def value: Option[Try[Int]]
    Definition Classes
    FutureProxy → Future
  56. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  59. final def withFilter(p: (Int) ⇒ Boolean)(implicit executor: ExecutionContext): Future[Int]
    Definition Classes
    Future
  60. def zip[U](that: Future[U]): Future[(Int, U)]
    Definition Classes
    Future
  61. def zipWith[U, R](that: Future[U])(f: (Int, U) ⇒ R)(implicit executor: ExecutionContext): Future[R]
    Definition Classes
    Future

Deprecated Value Members

  1. def onFailure[U](pf: PartialFunction[Throwable, U])(implicit executor: ExecutionContext): Unit
    Definition Classes
    Future
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.0) use onComplete or failed.foreach instead (keep in mind that they take total rather than partial functions)

  2. def onSuccess[U](pf: PartialFunction[Int, U])(implicit executor: ExecutionContext): Unit
    Definition Classes
    Future
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.0) use foreach or onComplete instead (keep in mind that they take total rather than partial functions)

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