public abstract class AbstractAgentController extends org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController<rst.domotic.unit.agent.AgentDataType.AgentData,rst.domotic.unit.agent.AgentDataType.AgentData.Builder> implements AgentController
| Modifier and Type | Field and Description |
|---|---|
protected org.openbase.jul.pattern.trigger.TriggerPool |
agentTriggerHolder |
FIELD_ACTIVATION_STATE, FIELD_AUTOSTARTFIELD_SCOPE| Constructor and Description |
|---|
AbstractAgentController(Class unitClass) |
| Modifier and Type | Method and Description |
|---|---|
rst.domotic.state.EmphasisStateType.EmphasisState |
getEmphasisState() |
protected rst.domotic.action.ActionDescriptionType.ActionDescription.Builder |
getNewActionDescription(rst.domotic.action.ActionAuthorityType.ActionAuthority actionAuthority,
rst.communicationpatterns.ResourceAllocationType.ResourceAllocation.Initiator initiator,
long executionTimePeriod,
rst.communicationpatterns.ResourceAllocationType.ResourceAllocation.Policy policy,
rst.communicationpatterns.ResourceAllocationType.ResourceAllocation.Priority priority,
org.openbase.bco.dal.lib.layer.unit.UnitRemote unitRemote,
Object serviceAttribute,
rst.domotic.unit.UnitTemplateType.UnitTemplate.UnitType unitType,
rst.domotic.service.ServiceTemplateType.ServiceTemplate.ServiceType serviceType,
rst.domotic.action.MultiResourceAllocationStrategyType.MultiResourceAllocationStrategy.Strategy multiResourceAllocationStrategy) |
protected boolean |
isAutostartEnabled() |
Future<rst.domotic.action.ActionFutureType.ActionFuture> |
setEmphasisState(rst.domotic.state.EmphasisStateType.EmphasisState emphasisState) |
cancelExecution, deactivate, disable, enable, execute, getActivationState, init, isEnabled, isExecuting, setActivationState, stopaddServiceStateObserver, 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, waitinitgetGlobalBoundingBoxCenterPoint3d, 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, shutdownprotected org.openbase.jul.pattern.trigger.TriggerPool agentTriggerHolder
public AbstractAgentController(Class unitClass) throws org.openbase.jul.exception.InstantiationException
org.openbase.jul.exception.InstantiationExceptionprotected boolean isAutostartEnabled()
throws org.openbase.jul.exception.CouldNotPerformException
isAutostartEnabled 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.CouldNotPerformExceptionpublic Future<rst.domotic.action.ActionFutureType.ActionFuture> setEmphasisState(rst.domotic.state.EmphasisStateType.EmphasisState emphasisState) throws org.openbase.jul.exception.CouldNotPerformException
setEmphasisState in interface org.openbase.bco.dal.lib.layer.service.operation.EmphasisStateOperationServiceorg.openbase.jul.exception.CouldNotPerformExceptionpublic rst.domotic.state.EmphasisStateType.EmphasisState getEmphasisState()
throws org.openbase.jul.exception.NotAvailableException
getEmphasisState in interface org.openbase.bco.dal.lib.layer.service.provider.EmphasisStateProviderServiceorg.openbase.jul.exception.NotAvailableExceptionprotected rst.domotic.action.ActionDescriptionType.ActionDescription.Builder getNewActionDescription(rst.domotic.action.ActionAuthorityType.ActionAuthority actionAuthority,
rst.communicationpatterns.ResourceAllocationType.ResourceAllocation.Initiator initiator,
long executionTimePeriod,
rst.communicationpatterns.ResourceAllocationType.ResourceAllocation.Policy policy,
rst.communicationpatterns.ResourceAllocationType.ResourceAllocation.Priority priority,
org.openbase.bco.dal.lib.layer.unit.UnitRemote unitRemote,
Object serviceAttribute,
rst.domotic.unit.UnitTemplateType.UnitTemplate.UnitType unitType,
rst.domotic.service.ServiceTemplateType.ServiceTemplate.ServiceType serviceType,
rst.domotic.action.MultiResourceAllocationStrategyType.MultiResourceAllocationStrategy.Strategy multiResourceAllocationStrategy)
throws org.openbase.jul.exception.CouldNotPerformException
org.openbase.jul.exception.CouldNotPerformExceptionCopyright © 2015–2017 openbase.org. All rights reserved.