Trait

de.sciss.fscape.stream.impl

WindowedLogicImpl

Related Doc: package impl

Permalink

trait WindowedLogicImpl[S <: Shape] extends ChunkImpl[S]

Self Type
WindowedLogicImpl[S] with GraphStageLogic
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WindowedLogicImpl
  2. ChunkImpl
  3. FullInOutImpl
  4. InOutImpl
  5. Node
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def allocOutputBuffers(): Int

    Permalink
    Attributes
    protected
    Definition Classes
    ChunkImpl
  2. abstract def canRead: Boolean

    Permalink

    Whether all inputs are available or have been closed and buffered.

    Whether all inputs are available or have been closed and buffered.

    Definition Classes
    FullInOutImpl
  3. abstract def canWrite: Boolean

    Permalink

    Whether all outputs are available for pushing.

    Whether all outputs are available for pushing.

    Definition Classes
    InOutImpl
  4. abstract def completeAsync(): Future[Unit]

    Permalink
    Definition Classes
    Node
  5. abstract def completeStage(): Unit

    Permalink

    Exposed from GraphStageLogic API.

    Exposed from GraphStageLogic API.

    Definition Classes
    InOutImpl
  6. implicit abstract def control: Control

    Permalink
    Attributes
    protected
    Definition Classes
    InOutImplNode
  7. abstract def copyInputToWindow(inOff: Int, writeToWinOff: Long, chunk: Int): Unit

    Permalink

    Issues a copy from input buffer to internal window buffer.

    Issues a copy from input buffer to internal window buffer.

    inOff

    current offset into input buffer

    writeToWinOff

    current offset into internal window buffer

    chunk

    number of frames to copy

    Attributes
    protected
  8. abstract def copyWindowToOutput(readFromWinOff: Long, outOff: Int, chunk: Int): Unit

    Permalink
    Attributes
    protected
  9. abstract def failAsync(ex: Exception): Unit

    Permalink
    Definition Classes
    Node
  10. abstract def freeInputBuffers(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    FullInOutImpl
  11. abstract def freeOutputBuffers(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    InOutImpl
  12. abstract def inValid: Boolean

    Permalink

    Whether all input buffers are valid.

    Whether all input buffers are valid.

    Definition Classes
    InOutImpl
  13. abstract def inputsEnded: Boolean

    Permalink

    If crucial inputs have been closed.

    If crucial inputs have been closed.

    Attributes
    protected
  14. abstract def launchAsync(): Future[Unit]

    Permalink
    Definition Classes
    Node
  15. abstract def layer: Layer

    Permalink
    Definition Classes
    Node
  16. abstract def processWindow(writeToWinOff: Long): Long

    Permalink

    Called when the internal window buffer is full, in order to proceed to the next phase of copying from window to output.

    Called when the internal window buffer is full, in order to proceed to the next phase of copying from window to output. (transitioning between copyInputToWindow and copyWindowToOutput)

    writeToWinOff

    the current offset into the internal window buffer. this is basically the amount of frames available for processing.

    returns

    the number of frames available for sending through copyWindowToOutput (this becomes readFromWinRemain).

    Attributes
    protected
  17. abstract def readIns(): Int

    Permalink
    Attributes
    protected
    Definition Classes
    FullInOutImpl
  18. abstract def shape: S

    Permalink
    Definition Classes
    InOutImplNode
  19. abstract def startNextWindow(inOff: Int): Long

    Permalink

    Notifies about the start of the next window.

    Notifies about the start of the next window.

    inOff

    current offset into input buffer

    returns

    the number of frames to write to the internal window buffer (becomes writeToWinRemain)

    Attributes
    protected
  20. abstract def updateCanRead(): Unit

    Permalink

    Requests the update of the canRead status.

    Requests the update of the canRead status.

    Definition Classes
    FullInOutImpl
  21. abstract def updateCanWrite(): Unit

    Permalink

    Requests the update of the canWrite status.

    Requests the update of the canWrite status.

    Definition Classes
    InOutImpl
  22. abstract def writeOuts(outOff: Int): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    InOutImpl

Concrete 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 asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. final var inOff: Int

    Permalink
    Attributes
    protected
    Definition Classes
    ChunkImpl
  12. final var inRemain: Int

    Permalink
    Attributes
    protected
    Definition Classes
    ChunkImpl
  13. final def isInAvailable[A](in: Inlet[A]): Boolean

    Permalink

    Exposed from protected GraphStageLogic API.

    Exposed from protected GraphStageLogic API.

    Definition Classes
    InOutImpl
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def isOutAvailable[A](out: Outlet[A]): Boolean

    Permalink

    Exposed from protected GraphStageLogic API.

    Exposed from protected GraphStageLogic API.

    Definition Classes
    InOutImpl
  16. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final var outOff: Int

    Permalink
    Attributes
    protected
    Definition Classes
    ChunkImpl
  20. final var outRemain: Int

    Permalink
    Attributes
    protected
    Definition Classes
    ChunkImpl
  21. final def postStop(): Unit

    Permalink

    Calls stopped and then removes the node from the control.

    Calls stopped and then removes the node from the control.

    Definition Classes
    Node
  22. final def preStart(): Unit

    Permalink

    Final so we don't accidentally place code here.

    Final so we don't accidentally place code here. In order to initialize state, use NodeHasInitImpl and implement init.

    Definition Classes
    Node
  23. final def process(): Unit

    Permalink
    Definition Classes
    ChunkImplInOutImpl
    Annotations
    @tailrec()
  24. final def processChunk(): Boolean

    Permalink

    Should read and possibly update inRemain, outRemain, inOff, outOff.

    Should read and possibly update inRemain, outRemain, inOff, outOff.

    returns

    true if this method did any actual processing.

    Attributes
    protected
    Definition Classes
    WindowedLogicImplChunkImpl
  25. final def setInHandler[A](in: Inlet[A], h: InHandler): Unit

    Permalink

    Exposed from protected GraphStageLogic API.

    Exposed from protected GraphStageLogic API.

    Definition Classes
    InOutImpl
  26. final def setOutHandler[A](out: Outlet[A], h: OutHandler): Unit

    Permalink

    Exposed from protected GraphStageLogic API.

    Exposed from protected GraphStageLogic API.

    Definition Classes
    InOutImpl
  27. final def shouldComplete(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    WindowedLogicImplChunkImpl
  28. def stopped(): Unit

    Permalink

    Subclasses can override this

    Subclasses can override this

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ChunkImpl[S]

Inherited from FullInOutImpl[S]

Inherited from InOutImpl[S]

Inherited from Node

Inherited from AnyRef

Inherited from Any

Ungrouped