svsim.Simulation
See theSimulation companion class
object Simulation
Attributes
- Companion
- class
- Source
- Simulation.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Simulation.type
Members list
Type members
Classlikes
object Command
Attributes
- Companion
- trait
- Source
- Simulation.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Command.type
Attributes
- Note
-
Methods in this class and
Simulation.Portare somewhat lazy in their execution. Specifically, methods returningUnitneither flush the command buffer, nor do they actively read from the message buffer. Only commands which return a value will wait to return until the simulation has progressed to the point where the value is available. This can improve performance by essentially enabling batching of both commands and messages. If you want to ensure that all commands have been sent to the simulation executable, you can callcompleteInFlightCommands(). - Source
- Simulation.scala
- Supertypes
-
class Objecttrait Matchableclass Any
object Message
Attributes
- Companion
- trait
- Source
- Simulation.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Message.type
Attributes
- Source
- Simulation.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
case object UnexpectedEndOfMessages extends Exception
Attributes
- Source
- Simulation.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Producttrait Equalsclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
Attributes
- Source
- Simulation.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
In this article