Class AmbientLight
java.lang.Object
cartago.Artifact
artifact.environment.roomartifact.AbstractActuatorInRoomArtifact
artifact.environment.roomartifact.AmbientLight
- All Implemented Interfaces:
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
-
Method Summary
Modifier and TypeMethodDescriptionfinal 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
-
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 interfaceDimmableArtifact
- Parameters:
luxToSet
- the intensity.
-