Packages

t

org.nlogo.api

ActionBroker

trait ActionBroker[A <: Action] extends Publisher[A]

Source
Action.scala
Linear Supertypes
Publisher[A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ActionBroker
  2. Publisher
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Filter = (A) ⇒ Boolean
    Definition Classes
    Publisher
  2. abstract type Pub <: Publisher[A]
    Definition Classes
    Publisher
  3. type Sub = Subscriber[A, Pub]
    Definition Classes
    Publisher

Abstract Value Members

  1. abstract val runner: ActionRunner[A]

Concrete Value Members

  1. def activateSubscription(sub: Sub): Unit
    Definition Classes
    Publisher
  2. def equals(obj: Any): Boolean
    Definition Classes
    Publisher → AnyRef → Any
  3. def publish(action: A): Unit
    Definition Classes
    ActionBroker → Publisher
  4. def publishWithoutRunning(action: A): Unit

    Normally, you would not want to do that.

    Normally, you would not want to do that. The one use case we have is the Stamp drawing action which, when recorded through an ActionBroker, calls trailDrawer.stamp() directly and grabs a bitmap that will be stored in the Action. No need, then, to re-import that bitmap through the runner. But this is very much a hack and I wish we had another way of handling stamping so we could (amongst other things) get rid of this method. NP 2013-02-04

  5. def removeSubscription(sub: Sub): Unit
    Definition Classes
    Publisher
  6. def removeSubscriptions(): Unit
    Definition Classes
    Publisher
  7. def subscribe(sub: Sub, filter: Filter): Unit
    Definition Classes
    Publisher
  8. def subscribe(sub: Sub): Unit
    Definition Classes
    Publisher
  9. def suspendSubscription(sub: Sub): Unit
    Definition Classes
    Publisher