Trait

it.unibo.scafi.distrib.actor.PlatformDevices

ComputationDeviceActor

Related Doc: package PlatformDevices

Permalink

trait ComputationDeviceActor extends Platform.BaseDeviceActor with BasicActorBehavior with Platform.SensingBehavior with Platform.SensorManagementBehavior with Platform.ActuatorManagementBehavior with Platform.BaseNbrManagementBehavior

Defines a "full" device that, in addition to sensing (SensingBehavior), it also performs a computation, locally, using an {{aggregateExecutor}}.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ComputationDeviceActor
  2. BaseNbrManagementBehavior
  3. ActuatorManagementBehavior
  4. SensorManagementBehavior
  5. SensingBehavior
  6. BasicActorBehavior
  7. BaseDeviceActor
  8. Actor
  9. AnyRef
  10. 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
  2. abstract def propagateMsgToNeighbors(msg: Any): Unit

    Permalink
  3. 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
  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
  17. implicit val context: ActorContext

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

    Permalink
  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. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  24. def inputManagementBehavior: Receive

    Permalink
  25. final def isInstanceOf[T0]: Boolean

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

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

    Permalink
    Definition Classes
    SensorManagementBehavior
  28. val logger: LoggingAdapter

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  35. def postRestart(reason: Throwable): Unit

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

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

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

    Permalink
    Definition Classes
    ComputationDeviceActor → Actor
  39. def propagateExportToNeighbors(export: Platform.ComputationExport): Unit

    Permalink
  40. def queryManagementBehavior: Receive

    Permalink
    Definition Classes
    BasicActorBehavior
  41. def receive: Receive

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

    Permalink
    Definition Classes
    BaseNbrManagementBehavior
  43. var rounds: Int

    Permalink
  44. implicit final val self: ActorRef

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

    Permalink
    Definition Classes
    Actor
  46. def sensingBehavior: Receive

    Permalink
    Definition Classes
    SensingBehavior
  47. def sensorManagementBehavior: Receive

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

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

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

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

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

    Permalink
    Definition Classes
    SensingBehavior
  53. def supervisorStrategy: SupervisorStrategy

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

    Permalink
    Definition Classes
    AnyRef
  55. def toString(): String

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

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

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

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

    Permalink
  60. final def wait(arg0: Long, arg1: Int): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  63. 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 Platform.SensingBehavior

Inherited from BasicActorBehavior

Inherited from Platform.BaseDeviceActor

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped