object Op
Operations of various arities, which produce a KompicsEvent
Arities from zero to five are provided.
Use these to map parameters to simulator events using the various raise functions.
raise(5, Op { (self: Integer, other: Integer) => val selfAddr = lookupAddress(self); /* Get an address instance for the id */ val otherAddr = lookupAddress(ponger); /* Get an address instance for the id */ StartNode(selfAddr, Init[NewComponent](selfAddr, otherAddr)) }, 1.toN, 2.toN)
- See also
- Alphabetic
- By Inheritance
- Op
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- class FunctionOperation[E <: KompicsEvent] extends Operation[E]
An operation implementation that uses a Scala function internally
An operation implementation that uses a Scala function internally
- class FunctionOperation1[E <: KompicsEvent, N <: Number] extends Operation1[E, N]
An operation implementation that uses a Scala function internally
An operation implementation that uses a Scala function internally
- class FunctionOperation2[E <: KompicsEvent, N <: Number, N2 <: Number] extends Operation2[E, N, N2]
An operation implementation that uses a Scala function internally
An operation implementation that uses a Scala function internally
- class FunctionOperation3[E <: KompicsEvent, N <: Number, N2 <: Number, N3 <: Number] extends Operation3[E, N, N2, N3]
An operation implementation that uses a Scala function internally
An operation implementation that uses a Scala function internally
- class FunctionOperation4[E <: KompicsEvent, N <: Number, N2 <: Number, N3 <: Number, N4 <: Number] extends Operation4[E, N, N2, N3, N4]
An operation implementation that uses a Scala function internally
An operation implementation that uses a Scala function internally
- class FunctionOperation5[E <: KompicsEvent, N <: Number, N2 <: Number, N3 <: Number, N4 <: Number, N5 <: Number] extends Operation5[E, N, N2, N3, N4, N5]
An operation implementation that uses a Scala function internally
An operation implementation that uses a Scala function internally
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
- def apply[E <: KompicsEvent, N <: Number, N2 <: Number, N3 <: Number, N4 <: Number, N5 <: Number](generator: (N, N2, N3, N4, N5) => E): Operation5[E, N, N2, N3, N4, N5]
Five parameter generator
Five parameter generator
- E
the type of event to produce
- N
the type of the first parameter
- N2
the type of the second parameter
- N3
the type of the third parameter
- N4
the type of the fourth parameter
- N5
the type of the fifth parameter
- generator
the function that produces the event
- returns
a FunctionOperation5 instance
- def apply[E <: KompicsEvent, N <: Number, N2 <: Number, N3 <: Number, N4 <: Number](generator: (N, N2, N3, N4) => E): Operation4[E, N, N2, N3, N4]
Four parameter generator
Four parameter generator
- E
the type of event to produce
- N
the type of the first parameter
- N2
the type of the second parameter
- N3
the type of the third parameter
- N4
the type of the fourth parameter
- generator
the function that produces the event
- returns
a FunctionOperation4 instance
- def apply[E <: KompicsEvent, N <: Number, N2 <: Number, N3 <: Number](generator: (N, N2, N3) => E): Operation3[E, N, N2, N3]
Three parameter generator
Three parameter generator
- E
the type of event to produce
- N
the type of the first parameter
- N2
the type of the second parameter
- N3
the type of the third parameter
- generator
the function that produces the event
- returns
a FunctionOperation3 instance
- def apply[E <: KompicsEvent, N <: Number, N2 <: Number](generator: (N, N2) => E): Operation2[E, N, N2]
Two parameter generator
Two parameter generator
- E
the type of event to produce
- N
the type of the first parameter
- N2
the type of the second parameter
- generator
the function that produces the event
- returns
a FunctionOperation2 instance
- def apply[E <: KompicsEvent, N <: Number](generator: (N) => E): Operation1[E, N]
Single parameter generator
Single parameter generator
- E
the type of event to produce
- N
the type of the parameter
- generator
the function that produces the event
- returns
a FunctionOperation1 instance
- def apply[E <: KompicsEvent](generator: (Unit) => E): Operation[E]
Zero parameter generator
Zero parameter generator
- E
the type of event to produce
- generator
the function that produces the event
- returns
a FunctionOperation instance
- 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 equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])