All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.sciss.lucre.impl.CastExecFormat.scala Maven / Gradle / Ivy

Go to download

Extension of Scala-STM, adding optional durability layer, and providing API for confluent and reactive event layers

There is a newer version: 4.6.6
Show newest version
/*
 *  CastExecFormat.scala
 *  (Lucre 4)
 *
 *  Copyright (c) 2009-2022 Hanns Holger Rutz. All rights reserved.
 *
 *  This software is published under the GNU Affero General Public License v3+
 *
 *
 *  For further information, please contact Hanns Holger Rutz at
 *  [email protected]
 */

package de.sciss.lucre.impl

import de.sciss.lucre.Exec
import de.sciss.serial.{TFormat, Writable, WritableFormat}

trait CastExecFormat[T <: Exec[T], Repr[~ <: Exec[~]] <: Writable] extends WritableFormat[T, Repr[T]] {
  def cast[T1 <: Exec[T1]]: TFormat[T1, Repr[T1]] = this.asInstanceOf[TFormat[T1, Repr[T1]]]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy