Trait

it.unibo.scafi.distrib.actor.PlatformDevices

DynamicComputationDeviceActor

Related Doc: package PlatformDevices

Permalink

trait DynamicComputationDeviceActor extends Platform.ComputationDeviceActor with Platform.DynamicDeviceLifecycleBehavior

It extends a ComputationDeviceActor with a DynamicDeviceLifecycleBehavior. In other words, the computation device has a (possibly dynamic) lifecycle that depends on the current execution scope (see ExecScope).

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DynamicComputationDeviceActor
  2. DynamicDeviceLifecycleBehavior
  3. PeriodicBehavior
  4. LifecycleBehavior
  5. ComputationDeviceActor
  6. BaseNbrManagementBehavior
  7. ActuatorManagementBehavior
  8. SensorManagementBehavior
  9. SensingBehavior
  10. BasicActorBehavior
  11. BaseDeviceActor
  12. Actor
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Receive = PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    Actor

Abstract Value Members

  1. abstract val aggregateExecutor: Option[Platform.ProgramContract]

    Permalink
    Definition Classes
    ComputationDeviceActor
  2. abstract val execScope: Platform.ExecScope

    Permalink
  3. abstract def propagateMsgToNeighbors(msg: Any): Unit

    Permalink
    Definition Classes
    ComputationDeviceActor
  4. abstract val selfId: Platform.UID

    Permalink
    Definition Classes
    BaseDeviceActor

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def actuatorManagementBehavior: Receive

    Permalink
    Definition Classes
    ActuatorManagementBehavior
  5. val actuators: Map[Platform.LSensorName, (Any) ⇒ Unit]

    Permalink
    Definition Classes
    ActuatorManagementBehavior
  6. def afterJob(): Unit

    Permalink
  7. def aroundPostRestart(reason: Throwable): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  8. def aroundPostStop(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  9. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  10. def aroundPreStart(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  11. def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. def beforeJob(): Unit

    Permalink
    Definition Classes
    ComputationDeviceActor
  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  15. def commandManagementBehavior: Receive

    Permalink
    Definition Classes
    BasicActorBehavior
  16. def compute(ctx: Platform.ComputationContext): Platform.ComputationExport

    Permalink
    Definition Classes
    ComputationDeviceActor
  17. implicit val context: ActorContext

    Permalink
    Definition Classes
    Actor
  18. def doJob(): Unit

    Permalink
    Definition Classes
    ComputationDeviceActor
  19. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  21. def executeActuators(value: Any): Unit

    Permalink
    Definition Classes
    ActuatorManagementBehavior
  22. var first: Boolean

    Permalink
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  24. def handleLifecycle(): Unit

    Permalink
  25. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  26. val initialDelay: Option[FiniteDuration]

    Permalink
  27. def inputManagementBehavior: Receive

    Permalink
  28. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  29. var lastExport: Option[Platform.ComputationExport]

    Permalink
    Definition Classes
    ComputationDeviceActor
  30. def lifecyclePostStop(): Unit

    Permalink
  31. def lifecyclePreStart(): Unit

    Permalink
  32. val localSensors: Map[Platform.LSensorName, () ⇒ Any]

    Permalink
    Definition Classes
    SensorManagementBehavior
  33. val logger: LoggingAdapter

    Permalink
    Definition Classes
    BasicActorBehavior
  34. def mergeNeighborInfo(idn: Platform.UID, info: NbrInfo): Unit

    Permalink
    Definition Classes
    BaseNbrManagementBehavior
  35. val nbrSensorValues: Map[Platform.NSensorName, Map[Platform.UID, Any]]

    Permalink
    Definition Classes
    SensingBehavior
  36. var nbrs: Map[Platform.UID, NbrInfo]

    Permalink
    Definition Classes
    BaseNbrManagementBehavior
  37. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  38. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  39. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  40. def periodicBehaviorPreStart(): Unit

    Permalink
    Definition Classes
    PeriodicBehavior
  41. def postRestart(reason: Throwable): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  42. def postStop(): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  43. def preRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  44. def preStart(): Unit

    Permalink
    Definition Classes
    DynamicComputationDeviceActorComputationDeviceActor → Actor
  45. def propagateExportToNeighbors(export: Platform.ComputationExport): Unit

    Permalink
    Definition Classes
    ComputationDeviceActor
  46. def queryManagementBehavior: Receive

    Permalink
    Definition Classes
    BasicActorBehavior
  47. def receive: Receive

    Permalink
    Definition Classes
    BasicActorBehavior
  48. def removeNeighbor(idn: Platform.UID): Unit

    Permalink
    Definition Classes
    BaseNbrManagementBehavior
  49. var rounds: Int

    Permalink
    Definition Classes
    ComputationDeviceActor
  50. def scheduleNextWorkingCycle(): Unit

    Permalink
    Definition Classes
    PeriodicBehavior
  51. def scheduleNextWorkingCycle(delay: FiniteDuration, msg: Any = GoOn): Unit

    Permalink
    Definition Classes
    LifecycleBehavior
  52. implicit final val self: ActorRef

    Permalink
    Definition Classes
    Actor
  53. final def sender(): ActorRef

    Permalink
    Definition Classes
    Actor
  54. def sensingBehavior: Receive

    Permalink
    Definition Classes
    SensingBehavior
  55. def sensorManagementBehavior: Receive

    Permalink
    Definition Classes
    SensorManagementBehavior
  56. val sensorValues: Map[Platform.LSensorName, Any]

    Permalink
    Definition Classes
    SensingBehavior
  57. def setActuator(name: Platform.LSensorName, consumer: (Any) ⇒ Unit): Unit

    Permalink
    Definition Classes
    ActuatorManagementBehavior
  58. def setLocalSensor(name: Platform.LSensorName, provider: () ⇒ Any): Unit

    Permalink
    Definition Classes
    SensorManagementBehavior
  59. def setLocalSensorValue(name: Platform.LSensorName, value: Any): Unit

    Permalink
    Definition Classes
    SensingBehavior
  60. def setNbrSensorValue(name: Platform.NSensorName, map: Map[Platform.UID, Any]): Unit

    Permalink
    Definition Classes
    SensingBehavior
  61. def supervisorStrategy: SupervisorStrategy

    Permalink
    Definition Classes
    Actor
  62. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  63. var tick: Option[Cancellable]

    Permalink
  64. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  65. def unhandled(message: Any): Unit

    Permalink
    Definition Classes
    Actor
  66. def updateNeighborhood(neighbors: Set[Platform.UID], clear: Boolean = false): Unit

    Permalink
    Definition Classes
    BaseNbrManagementBehavior
  67. def updateNeighborsState(exps: Map[Platform.UID, Option[Platform.ComputationExport]], clear: Boolean = false): Unit

    Permalink
    Definition Classes
    BaseNbrManagementBehavior
  68. def updateSensorValues(): Unit

    Permalink
    Definition Classes
    ComputationDeviceActor
  69. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  70. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  71. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  72. var workInterval: FiniteDuration

    Permalink
  73. def workingBehavior: Receive

    Permalink

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from PeriodicBehavior

Inherited from LifecycleBehavior

Inherited from Platform.SensingBehavior

Inherited from BasicActorBehavior

Inherited from Platform.BaseDeviceActor

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped