FFT2FullLogicImpl

abstract
class FFT2FullLogicImpl(name: String, shape: FanInShape3[BufD, BufI, BufI, BufD], layer: Layer)(implicit ctrl: Control) extends Handlers[FanInShape3[BufD, BufI, BufI, BufD]] with FFT2LogicImpl
trait WindowedInAOutA[Double, BufD]
trait WindowedInAOutB[Double, BufD, Double, BufD, Double]
class Handlers[FanInShape3[BufD, BufI, BufI, BufD]]
class NodeImpl[FanInShape3[BufD, BufI, BufI, BufD]]
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, E <: BufElem[A]](in: Inlet[E])
Deprecated
[Since version 2.35.1]
Inherited from
NodeImpl

Value members

Concrete methods

final protected
def tryObtainWinParams(): Boolean
final
def winBufSize: Int

Inherited methods

final protected
def aTpe: StreamType[Double, BufD]
Inherited from
WindowedInAOutA
final
def async(body: => Unit): Unit
Inherited from
NodeImpl
final protected
def bTpe: StreamType[Double, BufD]
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
FFT2LogicImpl
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
FFT2LogicImpl
final override
def postStop(): Unit

Calls stopped and then removes the node from the control.

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
FFT2LogicImpl
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(r: Int, c: Int): Unit
Inherited from
FFT2LogicImpl
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
FFT2LogicImpl
override
def toString: String
Definition Classes
NodeImpl -> GraphStageLogic -> Any
Inherited from
NodeImpl
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
final protected
final protected
final protected

Inherited fields

final protected
var fft: DoubleFFT_2D
Inherited from
FFT2LogicImpl
final protected
var fftCols: Int
Inherited from
FFT2LogicImpl
final protected
var fftRows: Int
Inherited from
FFT2LogicImpl
final protected
var fftSize: Int
Inherited from
FFT2LogicImpl
protected
val fullLastWindow: Boolean
Inherited from
WindowedInAOutB
final protected
var gain: Double
Inherited from
FFT2LogicImpl
final protected
var readOff: Long
Inherited from
WindowedInAOutB
final protected
var readRem: Long
Inherited from
WindowedInAOutB
final protected
val tpe: StreamType[Double, BufD]
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
Inherited from
NodeImpl