FFTHalfLogicImpl

abstract class FFTHalfLogicImpl(name: String, shape: FanInShape4[D, I, I, I, D], layer: Layer)(implicit a: Allocator) extends Handlers[FanInShape4[D, I, I, I, D]] with FFTLogicImpl
trait WindowedInAOutA[Double]
trait WindowedInAOutB[Double, Double, Double]
class Handlers[FanInShape4[D, I, I, I, D]]
class NodeImpl[FanInShape4[D, I, I, I, D]]
trait Node
class GraphStageLogic
class Object
trait Matchable
class Any

Type members

Inherited classlikes

class SubSinkInlet[T]
Inherited from:
GraphStageLogic
Inherited from:
GraphStageLogic

Deprecated and Inherited classlikes

@deprecated("Should move to using Handlers", since = "2.35.1")
abstract class InHandlerImpl[A](in: In[A]) extends InHandler
Deprecated
[Since version 2.35.1]
Inherited from:
NodeImpl

Value members

Concrete methods

final def winBufSize: Int

Inherited methods

final protected def aTpe: DataType[Double]
Inherited from:
WindowedInAOutA
final def async(body: => Unit): Unit
Inherited from:
NodeImpl
final protected def bTpe: DataType[Double]
Inherited from:
WindowedInAOutA
final def cancelStage(cause: Throwable): Unit
Inherited from:
GraphStageLogic
protected def clearWindowTail(): Unit

The default implementation clears from readOff to the end of the window buffer. This method is not called if fullLastWindow returns false!

The default implementation clears from readOff to the end of the window buffer. This method is not called if fullLastWindow returns false!

Inherited from:
WindowedInAOutA
def completeAsync(): Future[Unit]
Inherited from:
NodeImpl
final def completeStage(): Unit
Inherited from:
GraphStageLogic
final def failAsync(ex: Exception): Unit
Inherited from:
NodeImpl
final def failStage(ex: Throwable): Unit
Inherited from:
GraphStageLogic
protected def gainFor(fftSize: Int): Double
Inherited from:
FFTLogicImpl
final def getAsyncCallback[T](handler: T => Unit): AsyncCallback[T]
Inherited from:
GraphStageLogic
final def grabIn[A](in: Inlet[A]): A

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
final def isAvailable[T](out: Outlet[T]): Boolean
Inherited from:
GraphStageLogic
final def isInAvailable[A](inlet: Inlet[A]): Boolean

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
final def isInClosed[A](inlet: Inlet[A]): Boolean

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
final def isOutAvailable[A](outlet: Outlet[A]): Boolean

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
final def isOutClosed[A](outlet: Outlet[A]): Boolean

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
protected def launch(): Unit
Inherited from:
NodeImpl
final def launchAsync(): Future[Unit]
Inherited from:
NodeImpl
protected def newWindowBuffer(n: Int): Array[Double]
Inherited from:
WindowedInAOutA
final protected def notifyFail(ex: Throwable): Unit
Inherited from:
NodeImpl
protected def onDone(inlet: Inlet[_]): Unit
Inherited from:
WindowedInAOutB
protected def performFFT(): Unit
Inherited from:
FFTLogicImpl
final override def postStop(): Unit

Invoked by Akka after processing of external events stopped because the operator is about to stop or fail. Calls stopped and then removes the node from the control.

Invoked by Akka after processing of external events stopped because the operator is about to stop or fail. Calls stopped and then removes the node from the control.

Definition Classes
Inherited from:
Node
final override def preStart(): Unit

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

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

Definition Classes
Inherited from:
Node
@tailrec
final protected def process(): Unit
Inherited from:
WindowedInAOutB
final override protected def processWindow(): Unit
Definition Classes
Inherited from:
FFTLogicImpl
final def pushOut[A](out: Outlet[A], elem: A): Unit

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
protected def readIntoWindow(n: Int): Unit

Reads in a number of frames. The default implementation copies to the window buffer.

Reads in a number of frames. The default implementation copies to the window buffer.

Inherited from:
WindowedInAOutA
protected def readWinSize: Long

The default number of frames to read in per window equals the window buffer size

The default number of frames to read in per window equals the window buffer size

Inherited from:
WindowedInAOutB
final protected def setFFTSize(n: Int): Unit
Inherited from:
FFTLogicImpl
final def setInHandler[A](in: Inlet[A], handler: InHandler): Unit

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
final def setOutHandler[A](out: Outlet[A], handler: OutHandler): Unit

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
final def stageActor: StageActor
Inherited from:
GraphStageLogic
override protected def stopped(): Unit
Definition Classes
Inherited from:
FFTLogicImpl
override def toString: String
Definition Classes
NodeImpl -> GraphStageLogic -> Any
Inherited from:
NodeImpl
protected def tryObtainWinParams(): Boolean

Tries to prepare the parameters for the next window. If successful, returns true otherwise false. If successful, it must be possible to successively call winBufSize.

Tries to prepare the parameters for the next window. If successful, returns true otherwise false. If successful, it must be possible to successively call winBufSize.

Inherited from:
WindowedInAOutB
final def tryPullIn[A](in: Inlet[A]): Unit

Workaround for Dotty

Workaround for Dotty

Inherited from:
NodeImpl
protected def writeFromWindow(n: Int): Unit

Writes out a number of frames. The default implementation copies from the window buffer.

Writes out a number of frames. The default implementation copies from the window buffer.

Inherited from:
WindowedInAOutA
protected def writeWinSize: Long

The number of frames to write out per window. This is polled once after processWindow. The default equals the window buffer size (winBufSize). If an implementation wants to truncate the last window when the input terminates, it should override fullLastWindow to return false, in which case the default implementation of writeWinSize will return ``

The number of frames to write out per window. This is polled once after processWindow. The default equals the window buffer size (winBufSize). If an implementation wants to truncate the last window when the input terminates, it should override fullLastWindow to return false, in which case the default implementation of writeWinSize will return ``

Inherited from:
WindowedInAOutB

Concrete fields

final protected val hIn: InDMain
final protected val hMode: InIAux
final protected val hOut: OutDMain
final protected val hPadding: InIAux
final protected val hSize: InIAux
final protected var mode: Int

Inherited fields

final protected var fft: DoubleFFT_1D
Inherited from:
FFTLogicImpl
final protected var fftSize: Int
Inherited from:
FFTLogicImpl
protected val fullLastWindow: Boolean
Inherited from:
WindowedInAOutB
final protected var gain: Double
Inherited from:
FFTLogicImpl
final protected var readOff: Long
Inherited from:
WindowedInAOutB
final protected var readRem: Long
Inherited from:
WindowedInAOutB
final protected var timeSize: Int
Inherited from:
FFTLogicImpl
final protected val tpe: DataType[Double]
Inherited from:
WindowedInDOutD
final protected var winBuf: Array[Double]
Inherited from:
WindowedInAOutB
final protected var writeOff: Long
Inherited from:
WindowedInAOutB
final protected var writeRem: Long
Inherited from:
WindowedInAOutB

Implicits

Inherited implicits

final implicit override val allocator: Allocator
Inherited from:
NodeImpl
final implicit override val control: Control
Inherited from:
NodeImpl