Class AmbientLight

java.lang.Object
cartago.Artifact
artifact.environment.roomartifact.AbstractActuatorInRoomArtifact
artifact.environment.roomartifact.AmbientLight
All Implemented Interfaces:
DimmableArtifact

public class AmbientLight extends AbstractActuatorInRoomArtifact implements DimmableArtifact
CArtAgO artifact that is responsible for the communication with an ambient light inside a room of the Operating Block.
  • Nested Class Summary

    Nested classes/interfaces inherited from class cartago.Artifact

    cartago.Artifact.AbstractAsyncProcess
  • Field Summary

    Fields inherited from class cartago.Artifact

    observabilityRadius, position, thisOpId
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final void
    setIntensity(int luxToSet)
    Set the intensity of the artifact.

    Methods inherited from class artifact.environment.roomartifact.AbstractActuatorInRoomArtifact

    getActuatorID, getRoomId, init

    Methods inherited from class cartago.Artifact

    await, await, await_time, beginExtSession, commit, defineNewOp, defineObsProperty, defineOp, delay, dispose, dispose, endExtSession, endExtSessionWithFailure, execInternalOp, execLinkedOp, execLinkedOp, failed, failed, getCreatorId, getCurrentOpAgentBody, getCurrentOpAgentId, getId, getLinkedArtifacts, getManualSrcFile, getObservabilityRadius, getObsProperty, getObsPropertyByTemplate, getOpKey, getOpUserName, getPosition, hasObsProperty, hasObsPropertyByTemplate, isLinked, log, lookupArtifact, makeArtifact, removeObsProperty, removeObsPropertyByTemplate, removeOp, setupOperations, setupPosition, signal, signal, updateObservabilityRadius, updateObsProperty, updatePosition

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AmbientLight

      public AmbientLight()
  • Method Details

    • setIntensity

      public final void setIntensity(int luxToSet)
      Description copied from interface: DimmableArtifact
      Set the intensity of the artifact.
      Specified by:
      setIntensity in interface DimmableArtifact
      Parameters:
      luxToSet - the intensity.