final case class ControlBus(server: Server, index: Int, numChannels: Int) extends Bus with Product with Serializable
- Alphabetic
- By Inheritance
- ControlBus
- Serializable
- Product
- Equals
- Bus
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def fillMsg(data: FillRange*): ControlBusFill
Creates a
ControlBusFill
message using relative offsets.Creates a
ControlBusFill
message using relative offsets.- data
tuples of offsets, number of consecutive channels and fill values. The offsets are relative to the index of this bus. All offsets must be >= 0 and less than the number of channels, otherwise an exception is thrown
- returns
the
ControlBusFill
message with absolute indices
- def fillMsg(value: Float): ControlBusFill
A convenience method that fills all channels of the control bus with one value.
- def free(): Unit
Frees the bus.
Frees the bus. This is a client-side only operation which makes the
index
available again for re-allocation.- Definition Classes
- ControlBus → Bus
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getMsg(offsets: Int*): ControlBusGet
Creates a
ControlBusGet
message using relative offsets.Creates a
ControlBusGet
message using relative offsets.- offsets
the offsets are relative to the index of this bus. All offsets must be >= 0 and less than the number of channels, otherwise an exception is thrown
- returns
the
ControlBusGet
message with absolute indices
- def getMsg: ControlBusGet
A convenience method that gets the control bus value.
A convenience method that gets the control bus value. It requires that the bus has exactly one channel, otherwise an exception is thrown.
- def getnMsg(ranges: Range*): ControlBusGetn
Creates a
ControlBusGetn
message using relative offsets.Creates a
ControlBusGetn
message using relative offsets.- ranges
ranges of offsets and number of consecutive channels to read. The offsets are relative to the index of this bus. All offsets must be >= 0 and less than the number of channels, otherwise an exception is thrown
- returns
the
ControlBusGetn
message with absolute indices
- def getnMsg: ControlBusGetn
A convenience method that queries all channels of the control bus.
- val index: Int
The logical index of the bus in the server architecture.
The logical index of the bus in the server architecture.
- Definition Classes
- ControlBus → Bus
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val numChannels: Int
The number of channels for this bus.
The number of channels for this bus.
- Definition Classes
- ControlBus → Bus
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def rate: Rate
Control buses always run at
control
rate.Control buses always run at
control
rate.- Definition Classes
- ControlBus → Bus
- final val released: Boolean
- Attributes
- protected
- Definition Classes
- Bus
- val server: Server
The server to which this bus belongs.
The server to which this bus belongs.
- Definition Classes
- ControlBus → Bus
- def setMsg(pairs: FillValue*): ControlBusSet
Creates a
ControlBusSet
message using relative offsets.Creates a
ControlBusSet
message using relative offsets.- pairs
pairs of offsets and values. the offsets are relative to the index of this bus. All offsets must be >= 0 and less than the number of channels, otherwise an exception is thrown
- returns
the
ControlBusSet
message with absolute indices
- def setMsg(value: Float): ControlBusSet
A convenience method that sets the control bus to one value.
A convenience method that sets the control bus to one value. It requires that the bus has exactly one channel, otherwise an exception is thrown.
- value
the value to set the bus to
- def setnMsg(pairs: (Int, IndexedSeq[Float])*): ControlBusSetn
Creates a
ControlBusSetn
message using relative offsets.Creates a
ControlBusSetn
message using relative offsets.- pairs
pairs of offsets and values. the offsets are relative to the index of this bus. All offsets must be >= 0 and less than the number of channels, otherwise an exception is thrown
- returns
the
ControlBusSetn
message with absolute indices
- def setnMsg(values: IndexedSeq[Float]): ControlBusSetn
A convenience method that creates a
ControlBusSetn
message for setting the control bus to a sequence of values.A convenience method that creates a
ControlBusSetn
message for setting the control bus to a sequence of values. It requires that the bus's number of channels is equal to the argument's size, otherwise an exception is thrown.- values
the vector of values to set the bus to
- final val sync: AnyRef
- Attributes
- protected
- Definition Classes
- Bus
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated