case class CausalLink(label: String, director: Model, condition: () ⇒ Boolean, causedEvent: Event) extends Identifiable with Product with Serializable
The CausalLink
class provides casual links between events. A causal link
indicates that a "causing event" (from node) conditionally may triggers a
"caused event" (to node).
- label
the name/label of the causal link
- director
the controller/scheduler that this causal link is a part of
- condition
the condition under which the link is triggered
- causedEvent
the event caused by this causal link
- Alphabetic
- By Inheritance
- CausalLink
- Serializable
- Serializable
- Product
- Equals
- Identifiable
- Error
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
CausalLink(label: String, director: Model, condition: () ⇒ Boolean, causedEvent: Event)
- label
the name/label of the causal link
- director
the controller/scheduler that this causal link is a part of
- condition
the condition under which the link is triggered
- causedEvent
the event caused by this causal link
Value Members
- val causedEvent: Event
- val condition: () ⇒ Boolean
- val director: Model
-
def
display(from: Event, to: Event): Unit
Tell the animation engine to display this
CausalLink
.Tell the animation engine to display this
CausalLink
.- from
the starting event prototype
- to
the ending event prototype
-
def
equals(that: Any): Boolean
- Definition Classes
- Identifiable → AnyRef → Any
-
final
def
flaw(method: String, message: String): Unit
- Definition Classes
- Error
-
def
hashCode(): Int
- Definition Classes
- Identifiable → AnyRef → Any
-
val
id: Int
- Definition Classes
- Identifiable
- val label: String
-
def
me: String
- Definition Classes
- Identifiable
-
def
name: String
- Definition Classes
- Identifiable
-
def
name_=(name: String): Unit
- Definition Classes
- Identifiable
-
def
simType: String
- Definition Classes
- Identifiable
-
def
toString(): String
Convert the causal link to a string.
Convert the causal link to a string.
- Definition Classes
- CausalLink → AnyRef → Any