Transport

trait Transport[T <: Txn[T]] extends Disposable[T] with Observable[T, Update[T]]

New reduced definition of a t_(P) transport mechanism.

New reduced definition of a t_(P) transport mechanism.

Companion
object
trait Observable[T, Update[T]]
trait Disposable[T]
class Object
trait Matchable
class Any

Value members

Abstract methods

def addObject(obj: Obj[T])(tx: T): Unit
def contextOption(tx: T): Option[AuralContext[T]]
def getView(obj: Obj[T])(tx: T): Option[AuralObj[T]]
def getViewById(id: Ident[T])(tx: T): Option[AuralObj[T]]
def isPlaying(tx: T): Boolean
def play(tx: T): Unit
def position(tx: T): Long
def removeObject(obj: Obj[T])(tx: T): Unit
def seek(position: Long)(tx: T): Unit
def stop(tx: T): Unit
def views(tx: T): Set[AuralObj[T]]

Inherited methods

def dispose(tx: T): Unit
Inherited from
Disposable
def react(fun: T => Update[T] => Unit)(tx: T): Disposable[T]

Registers a live observer with this observable. The method is called with the observing function which receives the observable's update message of type A, and the method generates an opaque Disposable instance, which may be used to remove the observer eventually (through the dispose method).

Registers a live observer with this observable. The method is called with the observing function which receives the observable's update message of type A, and the method generates an opaque Disposable instance, which may be used to remove the observer eventually (through the dispose method).

Inherited from
Observable

Implicits

Implicits

implicit val universe: Universe[T]