public class PowerStateSynchroniserAgent extends AbstractAgentController
| Modifier and Type | Class and Description |
|---|---|
static class |
PowerStateSynchroniserAgent.PowerStateSyncBehaviour |
| Modifier and Type | Field and Description |
|---|---|
static String |
SOURCE_BEHAVIOUR_KEY |
static String |
SOURCE_KEY |
static String |
TARGET_BEHAVIOUR_KEY |
static String |
TARGET_KEY |
agentTriggerHolderFIELD_ACTIVATION_STATE, FIELD_AUTOSTARTFIELD_SCOPE| Constructor and Description |
|---|
PowerStateSynchroniserAgent() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute() |
PowerStateSynchroniserAgent.PowerStateSyncBehaviour |
getSourceBehaviour() |
org.openbase.bco.dal.lib.layer.unit.UnitRemote |
getSourceRemote() |
PowerStateSynchroniserAgent.PowerStateSyncBehaviour |
getTargetBehaviour() |
List<org.openbase.bco.dal.lib.layer.unit.UnitRemote> |
getTargetRemotes() |
void |
init(rst.domotic.unit.UnitConfigType.UnitConfig config) |
protected void |
stop() |
getEmphasisState, getNewActionDescription, isAutostartEnabled, setEmphasisStatecancelExecution, deactivate, disable, enable, getActivationState, isEnabled, isExecuting, setActivationStateaddServiceStateObserver, applyAction, applyConfigUpdate, applyDataUpdate, getId, getLabel, getServices, getUnitRegistry, getUnitTemplate, getUnitType, getUpdateMethod, init, init, init, notifyDataUpdate, postInit, registerMethods, registerService, removeServiceStateObserver, shutdown, toString, verifyAuthoritygetConfig, getConfigField, getConfigField, hasConfigField, supportsConfigFieldactivate, addDataObserver, cloneDataBuilder, getBuilderSetup, getControllerAvailabilityState, getData, getDataBuilder, getDataBuilder, getDataClass, getDataField, getDataFieldDescriptor, getDataFuture, getScope, hasDataField, init, init, init, init, isActive, isDataAvailable, notifyChange, ping, removeDataObserver, requestStatus, setDataField, setDataField, supportsDataField, validateInitialization, waitForAvailabilityState, waitForData, waitForDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetGlobalBoundingBoxCenterPoint3d, getGlobalPosition, getGlobalPositionPoint3d, getGlobalRotation, getGlobalRotationQuat4d, getLocalBoundingBoxCenterPoint3d, getLocalPosition, getLocalRotation, getLocationRegistry, getRootToUnitTransform3D, getRootToUnitTransformation, getRootToUnitTransformationFuture, getTemplate, getTransform3D, getTransform3DInverse, getType, getUnitBoundingBoxCenterGlobalPoint3d, getUnitBoundingBoxCenterPoint3d, getUnitPosition, getUnitPositionGlobal, getUnitPositionGlobalPoint3d, getUnitRotation, getUnitRotationGlobal, getUnitRotationGlobalQuat4d, getUnitShape, getUnitTemplate, getUnitToRootTransform3D, getUnitToRootTransformation, getUnitToRootTransformationFuture, getUnitType, recordSnapshot, restoreSnapshot, verifyOperationServiceState, verifyOperationServiceStateValueaddDataObserver, getData, getDataClass, getDataFuture, isDataAvailable, removeDataObserver, waitForData, waitForDataaddServiceStateObserver, applyAction, removeServiceStateObserversetActivationState, setActivationStategetActivationStategetUpdateMethodNamegetControllerAvailabilityState, getData, getDataClass, notifyChange, waitForAvailabilityStateregisterShutdownHook, registerShutdownHook, shutdownpublic static final String SOURCE_KEY
public static final String TARGET_KEY
public static final String SOURCE_BEHAVIOUR_KEY
public static final String TARGET_BEHAVIOUR_KEY
public PowerStateSynchroniserAgent()
throws org.openbase.jul.exception.InstantiationException,
org.openbase.jul.exception.CouldNotPerformException
org.openbase.jul.exception.InstantiationExceptionorg.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.InitializationExceptionInterruptedExceptionprotected 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.CouldNotPerformExceptionInterruptedExceptionprotected 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 org.openbase.bco.dal.lib.layer.unit.UnitRemote getSourceRemote()
public List<org.openbase.bco.dal.lib.layer.unit.UnitRemote> getTargetRemotes()
public PowerStateSynchroniserAgent.PowerStateSyncBehaviour getSourceBehaviour()
public PowerStateSynchroniserAgent.PowerStateSyncBehaviour getTargetBehaviour()
Copyright © 2015–2017 openbase.org. All rights reserved.