Packages

  • package root
    Definition Classes
    root
  • package de
    Definition Classes
    root
  • package sciss

    The interfaces are grouped into the following packages:

    Welcome to the Mellite API documentation.

    The interfaces are grouped into the following packages:

    The Lucre transactional object model:

    • de.sciss.lucre.stm is the base package for transactions, with things like Obj, Txn, Sys, and Cursor
    • de.sciss.lucre.artifact is the base package for file system artifacts, with classes Artifact and ArtifactLocation
    • de.sciss.lucre.expr is the base package for expression types such as IntObj, DoubleObj, etc.

    Other useful packages:

    • de.sciss.synth.io for reading and writing audio files
    • de.sciss.osc for general Open Sound Control interfaces
    Definition Classes
    de
  • package lucre
    Definition Classes
    sciss
  • package synth
    Definition Classes
    lucre
  • object InMemoryLike
    Definition Classes
    synth
  • Txn

trait Txn[T <: Txn[T]] extends InMemoryLike.Txn[T] with synth.Txn[T]

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Txn
  2. Txn
  3. RT
  4. Txn
  5. Txn
  6. TxnLike
  7. Exec
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type I = T
    Definition Classes
    TxnTxnExec
  2. final type Id = InMemoryLike.Id[T]
    Definition Classes
    TxnExec
  3. final type Var[A] = InMemoryLike.Var[T, A]
    Definition Classes
    Txn

Abstract Value Members

  1. abstract def addMessage(resource: Resource, m: Message with Send, dependencies: Seq[Resource] = Nil): Unit
    Definition Classes
    RT
  2. abstract def afterCommit(code: => Unit): Unit

    Registers a thunk to be executed after the transaction successfully committed.

    Registers a thunk to be executed after the transaction successfully committed.

    Definition Classes
    TxnLike
  3. abstract def attrMap(obj: Obj[T]): AttrMap[T]
    Definition Classes
    Txn
  4. abstract def attrMapOption(obj: Obj[T]): Option[AttrMap[T]]
    Definition Classes
    Txn
  5. abstract def beforeCommit(fun: (T) => Unit): Unit
    Definition Classes
    Txn
  6. abstract def inMemory: I
    Definition Classes
    Exec
  7. implicit abstract def inMemoryBridge: (T) => I
    Definition Classes
    Exec
  8. implicit abstract def inMemoryCursor: Cursor[I]
    Definition Classes
    Exec
  9. abstract def newHandle[A](value: A)(implicit format: TFormat[T, A]): Source[T, A]

    Creates a handle (in-memory) to refresh a stale version of an object, assuming that the future transaction is issued from the same cursor that is used to create the handle, except for potentially having advanced.

    Creates a handle (in-memory) to refresh a stale version of an object, assuming that the future transaction is issued from the same cursor that is used to create the handle, except for potentially having advanced. This is a mechanism that can be used in live views to gain valid access to a referenced object (e.g. self access).

    value

    the object which will be refreshed when calling get on the returned handle

    format

    used to write and freshly read the object

    returns

    the handle

    Definition Classes
    Exec
  10. abstract def newId(): Id
    Definition Classes
    Exec
  11. abstract def newIdentMap[A]: IdentMap[T, A]

    Creates a new in-memory transactional map for storing and retrieving values based on a mutable's identifier as key.

    Creates a new in-memory transactional map for storing and retrieving values based on a mutable's identifier as key. If a system is confluently persistent, the get operation will find the most recent key that matches the search key. Objects are not serialized but kept live in memory.

    Id maps can be used by observing views to look up associated view meta data even though they may be presented with a more recent access path of the model peer (e.g. when a recent event is fired and observed).

    A

    the value type in the map

    Definition Classes
    Exec
  12. abstract def newInMemoryMap[A, B]: RefMap[T, A, B]
    Definition Classes
    Exec
  13. abstract def newInMemorySet[A]: RefSet[T, A]
    Definition Classes
    Exec
  14. abstract def newRef[A](init: A): Ref[T, A]
    Definition Classes
    Exec
  15. abstract def peer: InTxn

    Every transaction has a plain Scala-STM transaction as a peer.

    Every transaction has a plain Scala-STM transaction as a peer. This comes handy for setting up custom things like TxnLocal, TMap, or calling into the hooks of concurrent.stm.Txn. It is also needed when re-wrapping the transaction of one system into another.

    Definition Classes
    TxnLike
  16. abstract def readId(in: DataInput): Id
    Definition Classes
    Exec
  17. abstract def system: lucre.InMemoryLike[T]
    Definition Classes
    TxnTxnExec
  18. abstract def systemTimeNanoSec: Long

    Or zero if not scheduled.

    Or zero if not scheduled.

    Definition Classes
    RT

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  15. def toString(): String
    Definition Classes
    AnyRef → Any
  16. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  17. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from synth.Txn[T]

Inherited from RT

Inherited from InMemoryLike.Txn[T]

Inherited from lucre.Txn[T]

Inherited from TxnLike

Inherited from Exec[T]

Inherited from AnyRef

Inherited from Any

Ungrouped