public class AmbientColorAgent extends AbstractAgentController
| Modifier and Type | Class and Description |
|---|---|
static class |
AmbientColorAgent.ColoringStrategy
The strategy how the agent will change the color of the lights.
|
agentTriggerHolderFIELD_ACTIVATION_STATE, FIELD_AUTOSTARTFIELD_SCOPE| Constructor and Description |
|---|
AmbientColorAgent() |
| Modifier and Type | Method and Description |
|---|---|
void |
deactivate() |
void |
execute() |
void |
init(rst.domotic.unit.UnitConfigType.UnitConfig config) |
void |
stop() |
String |
stringHSV(rst.vision.HSBColorType.HSBColor color) |
getEmphasisState, getNewActionDescription, isAutostartEnabled, setEmphasisStatecancelExecution, disable, enable, getActivationState, isEnabled, isExecuting, setActivationStateaddDataObserver, addServiceStateObserver, applyAction, applyConfigUpdate, applyDataUpdate, applyDataUpdate, generateTransactionId, getId, getLabel, getServices, getTransactionId, getUnitRegistry, getUnitTemplate, getUnitType, init, init, init, notifyDataUpdate, postInit, registerMethods, registerService, removeDataObserver, removeServiceStateObserver, shutdown, toString, verifyAndUpdateAuthoritygetConfig, getConfigField, getConfigField, hasConfigField, supportsConfigFieldactivate, addDataObserver, cloneDataBuilder, getBuilderSetup, getControllerAvailabilityState, getData, getDataBuilder, getDataBuilder, getDataClass, getDataField, getDataFieldDescriptor, getDataFuture, getScope, hasDataField, init, init, init, init, isActive, isDataAvailable, isReady, notifyChange, ping, removeDataObserver, requestStatus, setDataField, setDataField, supportsDataField, updateDataToPublish, validateActivation, validateInitialization, validateMiddleware, waitForAvailabilityState, waitForData, waitForData, waitForMiddlewareclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddDataObserver, addServiceStateObserver, addServiceStateObserver, generateVariablePool, generateVariablePool, generateVariablePool, getGlobalBoundingBoxCenterPoint3d, getGlobalPosition, getGlobalPositionPoint3d, getGlobalRotation, getGlobalRotationQuat4d, getHostUnitConfig, getLatestTransactionId, getLocalBoundingBoxCenterPoint3d, getLocalPosition, getLocalRotation, getLocationRegistry, getRootToUnitTransform3D, getRootToUnitTransformation, getRootToUnitTransformationFuture, getTemplate, getTransactionIdByServiceType, getTransform3D, getTransform3DInverse, getType, getUnitBoundingBoxCenterGlobalPoint3d, getUnitBoundingBoxCenterPoint3d, getUnitPosition, getUnitPositionGlobal, getUnitPositionGlobalPoint3d, getUnitRotation, getUnitRotationGlobal, getUnitRotationGlobalQuat4d, getUnitShape, getUnitTemplate, getUnitToRootTransform3D, getUnitToRootTransformation, getUnitToRootTransformationFuture, getUnitType, isBaseUnit, isDalUnit, recordSnapshot, removeDataObserver, removeServiceStateObserver, removeServiceStateObserver, restoreSnapshot, verifyOperationServiceState, verifyOperationServiceStateValueaddDataObserver, getData, getDataClass, getDataFuture, isDataAvailable, removeDataObserver, waitForData, waitForDatasetActivationState, setActivationStategetActivationStateverifyValueRangeverifyEmphasisStategetUpdateMethodNamegetControllerAvailabilityState, getData, getDataClass, notifyChange, waitForAvailabilityStateregisterShutdownHook, registerShutdownHook, shutdownpublic AmbientColorAgent()
throws org.openbase.jul.exception.InstantiationException,
InterruptedException,
org.openbase.jul.exception.CouldNotPerformException
org.openbase.jul.exception.InstantiationExceptionInterruptedExceptionorg.openbase.jul.exception.CouldNotPerformExceptionpublic void init(rst.domotic.unit.UnitConfigType.UnitConfig config)
throws org.openbase.jul.exception.InitializationException,
InterruptedException
init in interface org.openbase.bco.dal.lib.layer.unit.UnitController<rst.domotic.unit.agent.AgentDataType.AgentData,rst.domotic.unit.agent.AgentDataType.AgentData.Builder>init in interface AgentControllerinit in interface org.openbase.jul.iface.Initializable<rst.domotic.unit.UnitConfigType.UnitConfig>init in class org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController<rst.domotic.unit.agent.AgentDataType.AgentData,rst.domotic.unit.agent.AgentDataType.AgentData.Builder>org.openbase.jul.exception.InitializationExceptionInterruptedExceptionpublic void execute()
throws org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
execute in class org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController<rst.domotic.unit.agent.AgentDataType.AgentData,rst.domotic.unit.agent.AgentDataType.AgentData.Builder>org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionpublic void stop()
throws org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
stop in class org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController<rst.domotic.unit.agent.AgentDataType.AgentData,rst.domotic.unit.agent.AgentDataType.AgentData.Builder>org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionpublic String stringHSV(rst.vision.HSBColorType.HSBColor color)
public void deactivate()
throws org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
deactivate in interface org.openbase.jul.iface.Activatabledeactivate in class org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController<rst.domotic.unit.agent.AgentDataType.AgentData,rst.domotic.unit.agent.AgentDataType.AgentData.Builder>org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionCopyright © 2015–2018 openbase.org. All rights reserved.