Class LocalParameterManager

java.lang.Object
com.google.common.util.concurrent.AbstractService
org.yamcs.AbstractProcessorService
org.yamcs.parameter.LocalParameterManager
All Implemented Interfaces:
com.google.common.util.concurrent.Service, ParameterProvider, SoftwareParameterManager, ProcessorService

public class LocalParameterManager extends AbstractProcessorService implements SoftwareParameterManager, ParameterProvider
Implements local parameters - these are parameters that can be set from the clients.

All the parameters are sent from the executor thread.

  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.google.common.util.concurrent.Service

    com.google.common.util.concurrent.Service.Listener, com.google.common.util.concurrent.Service.State
  • Field Summary

    Fields inherited from class org.yamcs.AbstractProcessorService

    config, log, processor
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    boolean
    canProvide(org.yamcs.protobuf.Yamcs.NamedObjectId paraId)
    Returns whether or not a given parameter can be provided by this provider
    boolean
    canProvide(org.yamcs.xtce.Parameter param)
     
    protected void
     
    protected void
     
    org.yamcs.xtce.Parameter
    getParameter(org.yamcs.protobuf.Yamcs.NamedObjectId paraId)
    Returns the parameterDefinition corresponding to the parameter id
    void
    init(Processor proc, YConfiguration config, Object spec)
     
    void
    Send parameters to this processor.
    void
    startProviding(org.yamcs.xtce.Parameter paramDef)
    Adds a new parameter to the list of parameters that have to provided
    void
    start providing all known parameters
    void
    stopProviding(org.yamcs.xtce.Parameter paramDef)
    Removes a parameter from the list of parameters that have to be provided
    void
     
    void
    update the list of parameters.

    Methods inherited from class org.yamcs.AbstractProcessorService

    getConfig, getYamcsInstance

    Methods inherited from class com.google.common.util.concurrent.AbstractService

    addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, doCancelStart, failureCause, isRunning, notifyFailed, notifyStarted, notifyStopped, startAsync, state, stopAsync, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.yamcs.ProcessorService

    getSpec

    Methods inherited from interface com.google.common.util.concurrent.Service

    addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, failureCause, isRunning, startAsync, state, stopAsync

    Methods inherited from interface org.yamcs.parameter.SoftwareParameterManager

    updateParameter