public class SoftwareParameterManager extends com.google.common.util.concurrent.AbstractService implements ParameterProvider
| Constructor and Description |
|---|
SoftwareParameterManager(String yamcsInstance) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canProvide(Parameter param) |
boolean |
canProvide(Yamcs.NamedObjectId paraId)
Returns whether or not a given parameter can be provided by this provider
|
protected void |
doStart() |
protected void |
doStop() |
Parameter |
getParameter(Yamcs.NamedObjectId paraId)
Returns the parameterDefinition corresponding to the parameter id
|
void |
init(Processor yproc)
Called before the startup to pass on the processor and initialize whatever needed
|
void |
init(XtceDb xtcedb) |
void |
setParameterListener(ParameterRequestManager parameterListener)
Send parameters to this listener.
|
void |
startProviding(Parameter paramDef)
Adds a new parameter to the list of parameters that have to provided
|
void |
startProvidingAll()
start providing all known parameters
|
void |
stopProviding(Parameter paramDef)
Removes a parameter from the list of parameters that have to be provided
|
void |
updateParameter(Parameter p,
Value engValue)
Updates a parameter just with the engineering value
|
void |
updateParameters(List<Pvalue.ParameterValue> gpvList)
update the list of parameters.
|
addListener, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, failureCause, isRunning, notifyFailed, notifyStarted, notifyStopped, startAsync, state, stopAsync, toStringpublic SoftwareParameterManager(String yamcsInstance)
public void init(XtceDb xtcedb)
public void init(Processor yproc) throws ConfigurationException
ParameterProviderinit in interface ParameterProviderConfigurationExceptionpublic void setParameterListener(ParameterRequestManager parameterListener)
ParameterProvidersetParameterListener in interface ParameterProviderpublic void updateParameters(List<Pvalue.ParameterValue> gpvList)
public void updateParameter(Parameter p, Value engValue)
public void startProviding(Parameter paramDef)
ParameterProviderstartProviding in interface ParameterProviderpublic void startProvidingAll()
ParameterProviderstartProvidingAll in interface ParameterProviderpublic void stopProviding(Parameter paramDef)
ParameterProviderstopProviding in interface ParameterProviderpublic boolean canProvide(Yamcs.NamedObjectId paraId)
ParameterProvidercanProvide in interface ParameterProviderpublic Parameter getParameter(Yamcs.NamedObjectId paraId) throws InvalidIdentification
ParameterProvidergetParameter in interface ParameterProviderparaId - - id of the parameter that is returnedInvalidIdentificationpublic boolean canProvide(Parameter param)
canProvide in interface ParameterProviderprotected void doStart()
doStart in class com.google.common.util.concurrent.AbstractServiceprotected void doStop()
doStop in class com.google.common.util.concurrent.AbstractServiceCopyright © 2018 Space Applications Services. All rights reserved.