Universe

trait Universe[T <: Txn[T]] extends Observable[T, Update[T]]
Companion
object
trait Observable[T, Update[T]]
class Object
trait Matchable
class Any

Value members

Abstract methods

def auralContext(implicit t: T): Option[AuralContext[T]]
def mkChild(newAuralSystem: AuralSystem, newScheduler: Scheduler[T])(implicit tx: T): Universe[T]

Creates a new derived universe with a new aural system and a fresh scheduler.

Creates a new derived universe with a new aural system and a fresh scheduler.

def mkRunner(obj: Obj[T])(implicit tx: T): Option[Runner[T]]
def runners(implicit tx: T): Iterator[Runner[T]]

Concrete methods

def cast[T1 <: Txn[LazyRef(...)]]: Universe[T1]

Since we obtain Universe[_] from some methods, this is lesser evil, since we cannot make totally "wrong" casts here.

Since we obtain Universe[_] from some methods, this is lesser evil, since we cannot make totally "wrong" casts here.

Inherited methods

def react(fun: T => Update[T] => Unit)(implicit 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
def cursor: Cursor[T]
implicit
implicit
implicit
def workspace: Workspace[T]