de.sciss.processor.impl

ProcessorImpl

trait ProcessorImpl[Prod, Repr] extends ProcessorLike[Prod, Repr] with Prepared with Body with ModelImpl[Update[Prod, Repr]] with FutureProxy[Prod]

An implementation of Processor along with Processor.Prepared that handles everything except the main processing loop. This must be specified as the only abstract method body.

Prod

the result of the process

Repr

the self type of the processor

Self Type
ProcessorImpl[Prod, Repr] with Repr
Linear Supertypes
FutureProxy[Prod], ModelImpl[Update[Prod, Repr]], Body, Prepared, ProcessorLike[Prod, Repr], Model[Update[Prod, Repr]], Future[Prod], Awaitable[Prod], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ProcessorImpl
  2. FutureProxy
  3. ModelImpl
  4. Body
  5. Prepared
  6. ProcessorLike
  7. Model
  8. Future
  9. Awaitable
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def body(): Prod

    The main processing body.

    The main processing body.

    Attributes
    protected

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. 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
  7. 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
  8. def addListener(pf: model.Model.Listener[Update[Prod, Repr]]): pf.type

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

    Definition Classes
    Future
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. final def await[B](that: ProcessorLike[B, Any], offset: Double = 0, weight: Double = 1): B

    Attributes
    protected
  12. 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
  13. 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
  14. def clone(): AnyRef

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

    Definition Classes
    Future
  16. final def dispatch(update: Update[Prod, Repr]): Unit

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

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

    Definition Classes
    AnyRef → Any
  19. 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
  20. def failed: Future[Throwable]

    Definition Classes
    Future
  21. def fallbackTo[U >: Prod](that: Future[U]): Future[U]

    Definition Classes
    Future
  22. def filter(pred: (Prod) ⇒ Boolean)(implicit executor: ExecutionContext): Future[Prod]

    Definition Classes
    Future
  23. def finalize(): Unit

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

    Definition Classes
    Future
  25. def foreach[U](f: (Prod) ⇒ U)(implicit executor: ExecutionContext): Unit

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

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

    Definition Classes
    AnyRef → Any
  28. def isCompleted: Boolean

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

    Definition Classes
    Any
  30. def map[S](f: (Prod) ⇒ 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
  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
  35. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  36. def onComplete[U](func: (Try[Prod]) ⇒ U)(implicit executor: ExecutionContext): Unit

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

    Definition Classes
    Future
  38. def onSuccess[U](pf: PartialFunction[Prod, U])(implicit executor: ExecutionContext): Unit

    Definition Classes
    Future
  39. final def peerFuture: Future[Prod]

    Attributes
    protected
    Definition Classes
    ProcessorImplFutureProxy
  40. final def progress: Double

    Queries the correct progress which is value between 0.

    Queries the correct progress which is value between 0.0 and 1.0

    Definition Classes
    ProcessorImplBodyProcessorLike
  41. 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
  42. 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
  43. def ready(atMost: Duration)(implicit permit: CanAwait): ProcessorImpl.this

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

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

    Definition Classes
    Future
  46. def releaseListeners(): Unit

    Attributes
    protected
    Definition Classes
    ModelImpl
  47. def removeListener(pf: model.Model.Listener[Update[Prod, Repr]]): Unit

    Definition Classes
    ModelImpl → Model
  48. def result(atMost: Duration)(implicit permit: CanAwait): Prod

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

    Definition Classes
    ProcessorImplPrepared
  50. def startListening(): Unit

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

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

    Definition Classes
    AnyRef
  53. def toString(): String

    Definition Classes
    AnyRef → Any
  54. def transform[S](s: (Prod) ⇒ S, f: (Throwable) ⇒ Throwable)(implicit executor: ExecutionContext): Future[S]

    Definition Classes
    Future
  55. def value: Option[Try[Prod]]

    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
    @throws( ... )
  59. final def withFilter(p: (Prod) ⇒ Boolean)(implicit executor: ExecutionContext): Future[Prod]

    Definition Classes
    Future
  60. def zip[U](that: Future[U]): Future[(Prod, U)]

    Definition Classes
    Future

Inherited from FutureProxy[Prod]

Inherited from ModelImpl[Update[Prod, Repr]]

Inherited from Body

Inherited from Prepared

Inherited from ProcessorLike[Prod, Repr]

Inherited from Model[Update[Prod, Repr]]

Inherited from Future[Prod]

Inherited from Awaitable[Prod]

Inherited from AnyRef

Inherited from Any

Ungrouped