ImageFileInImpl

trait ImageFileInImpl[S <: Shape] extends NodeHasInitImpl with OutHandler

Common building block for ImageFileIn and ImageFileSeqIn

trait OutHandler
trait Node
class Object
trait Matchable
class Any

Value members

Abstract methods

protected def freeInputBuffers(): Unit
protected def numChannels: Int
protected def outlets: IndexedSeq[OutD]
protected def process(): Unit

Concrete methods

final protected def canWrite: Boolean
final protected def closeImage(): Unit
final protected def freeOutputBuffers(): Unit
final override def onDownstreamFinish(cause: Throwable): Unit
Definition Classes
OutHandler
final override def onPull(): Unit
Definition Classes
OutHandler
final protected def openImage(uri: URI): Unit

Resets framesRead.

Resets framesRead.

final protected def processChunk(outOff: Int, chunk: Int): Unit
override protected def stopped(): Unit
Definition Classes
final protected def writeOuts(chunk: Int): Unit

Inherited methods

def completeAsync(): Future[Unit]
Inherited from:
Node
def failAsync(ex: Exception): Unit
Inherited from:
Node
protected def init(): Unit
Inherited from:
NodeHasInitImpl
final def initAsync(): Future[Unit]
Inherited from:
NodeHasInitImpl
final protected def isInitialized: Boolean
Inherited from:
NodeHasInitImpl
def launchAsync(): Future[Unit]
Inherited from:
Node
Inherited from:
Node
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
def shape: Shape
Inherited from:
Node

Deprecated and Inherited methods

@deprecated(message = "Call onDownstreamFinish with a cancellation cause.", since = "2.6.0") @deprecatedOverriding(message = "Override `def onDownstreamFinish(cause: Throwable)`, instead.", since = "2.6.0") @throws(classOf[Exception])
def onDownstreamFinish(): Unit
Deprecated
[Since version 2.6.0] Call onDownstreamFinish with a cancellation cause.
Inherited from:
OutHandler

Concrete fields

final protected var framesRead: Int
final protected var img: BufferedImage
final protected var numFrames: Int

Implicits

Inherited implicits

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