public class AmbientColorAgent extends AbstractAgent
| Modifier and Type | Class and Description |
|---|---|
static class |
AmbientColorAgent.ColoringStrategy
The strategy how the agent will change the color of the lights.
|
ACTIVATION_STATEFIELD_SCOPE| Constructor and Description |
|---|
AmbientColorAgent() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
deactivate() |
void |
execute() |
void |
init(rst.domotic.unit.UnitConfigType.UnitConfig config) |
void |
stop() |
String |
stringHSV(rst.vision.HSBColorType.HSBColor color) |
registerMethodsdisable, enable, getActivationState, isExecuting, setActivationStateisEnabledapplyConfigUpdate, getConfig, getConfigField, getConfigField, hasConfigField, supportsConfigFieldgetIdcloneDataBuilder, getBuilderSetup, getControllerAvailabilityState, getData, getDataBuilder, getDataClass, getDataField, getDataFieldDescriptor, getScope, hasDataField, init, init, init, init, init, init, isActive, notifyChange, ping, postInit, requestStatus, reset, setDataField, setDataField, shutdown, supportsDataField, toString, validateInitialization, waitForAvailabilityStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetActivationStatepublic 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 AgentControllerinit in interface org.openbase.jul.iface.Initializable<rst.domotic.unit.UnitConfigType.UnitConfig>init in class AbstractAgentorg.openbase.jul.exception.InitializationExceptionInterruptedExceptionpublic void activate()
throws org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
activate in interface org.openbase.jul.iface.Activatableactivate in class org.openbase.jul.extension.rsb.com.RSBCommunicationService<rst.domotic.unit.agent.AgentDataType.AgentData,rst.domotic.unit.agent.AgentDataType.AgentData.Builder>org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionpublic void execute()
throws org.openbase.jul.exception.CouldNotPerformException
execute in class org.openbase.jul.extension.rsb.com.AbstractExecutableController<rst.domotic.unit.agent.AgentDataType.AgentData,rst.domotic.unit.agent.AgentDataType.AgentData.Builder,rst.domotic.unit.UnitConfigType.UnitConfig>org.openbase.jul.exception.CouldNotPerformExceptionpublic void stop()
throws org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
stop in class org.openbase.jul.extension.rsb.com.AbstractExecutableController<rst.domotic.unit.agent.AgentDataType.AgentData,rst.domotic.unit.agent.AgentDataType.AgentData.Builder,rst.domotic.unit.UnitConfigType.UnitConfig>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.jul.extension.rsb.com.RSBCommunicationService<rst.domotic.unit.agent.AgentDataType.AgentData,rst.domotic.unit.agent.AgentDataType.AgentData.Builder>org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionCopyright © 2015–2016 openbase.org. All rights reserved.