ImageFileOutReadsSpec

trait ImageFileOutReadsSpec[S <: Shape] extends ImageFileOutImpl[S]
trait ImageFileOutImpl[S]
trait WindowedMultiInOut
trait NodeHasInitImpl
trait NodeHasInit
trait Node
class Object
trait Matchable
class Any
Handlers[S]

Value members

Abstract methods

protected def fileOrTemplate: URI
protected def hFileType: InIAux
protected def hHeight: InIAux
protected def hQuality: InIAux
protected def hSampleFormat: InIAux
protected def hWidth: InIAux

Concrete methods

protected def tryObtainSpec(): Boolean

Inherited methods

final protected def closeImage(): Unit
Inherited from:
ImageFileOutImpl
def completeAsync(): Future[Unit]
Inherited from:
Node
def failAsync(ex: Exception): Unit
Inherited from:
Node
protected def flushOut(): Boolean
Inherited from:
ImageFileOutImpl
protected def hImg: Array[InDMain]
Inherited from:
ImageFileOutImpl
final protected def imagesWritten: Int
Inherited from:
ImageFileOutImpl
protected def init(): Unit
Inherited from:
NodeHasInitImpl
final def initAsync(): Future[Unit]
Inherited from:
NodeHasInitImpl
protected def initSpec(spec: Spec): Unit
Inherited from:
ImageFileOutImpl
protected def isHotIn(inlet: Inlet[_]): Boolean
Inherited from:
ImageFileOutImpl
final protected def isInitialized: Boolean
Inherited from:
NodeHasInitImpl
def launchAsync(): Future[Unit]
Inherited from:
Node
def layer: Layer
Inherited from:
Node
protected def mainInAvailable: Int
Inherited from:
ImageFileOutImpl
protected def mainInDone: Boolean
Inherited from:
ImageFileOutImpl
protected def numChannels: Int
Inherited from:
ImageFileOutImpl
protected def onDone(outlet: Outlet[_]): Unit
Inherited from:
WindowedMultiInOut
protected def onDone(inlet: Inlet[_]): Unit
Inherited from:
WindowedMultiInOut
final protected def openImage(uri: URI): Unit

Resets framesWritten.

Resets framesWritten.

Inherited from:
ImageFileOutImpl
protected def outAvailable: Int
Inherited from:
ImageFileOutImpl
protected def outDone: Boolean
Inherited from:
ImageFileOutImpl
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
Node
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
Node
Inherited from:
Node
@tailrec
final protected def process(): Unit
Inherited from:
WindowedMultiInOut
protected def processWindow(): Unit

Called after a window has been fully read in.

Called after a window has been fully read in.

Inherited from:
WindowedMultiInOut
final protected def readIntoWindow(chunk: Int): Unit
Inherited from:
ImageFileOutImpl
protected def readWinSize: Long
Inherited from:
ImageFileOutImpl
def shape: Shape
Inherited from:
Node
override protected def stopped(): Unit
Definition Classes
ImageFileOutImpl -> Node
Inherited from:
ImageFileOutImpl
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 readWinSize. Most likely, the implementation will allocate an internal window buffer here.

Tries to prepare the parameters for the next window. If successful, returns true otherwise false. If successful, it must be possible to successively call readWinSize. Most likely, the implementation will allocate an internal window buffer here.

Inherited from:
WindowedMultiInOut
protected def writeFromWindow(n: Int): Unit
Inherited from:
ImageFileOutImpl
protected def writeWinSize: Long
Inherited from:
ImageFileOutImpl

Inherited fields

final protected var framesWritten: Int
Inherited from:
ImageFileOutImpl
final protected var gain: Double
Inherited from:
ImageFileOutImpl
final protected var img: BufferedImage
Inherited from:
ImageFileOutImpl
final protected var numFrames: Int
Inherited from:
ImageFileOutImpl
final protected var readOff: Long
Inherited from:
WindowedMultiInOut
final protected var readRem: Long
Inherited from:
WindowedMultiInOut
final protected var writeOff: Long
Inherited from:
WindowedMultiInOut
final protected var writeRem: Long
Inherited from:
WindowedMultiInOut

Implicits

Inherited implicits

implicit protected def allocator: Allocator
Inherited from:
Node
implicit protected def control: Control
Inherited from:
Node