- All Superinterfaces:
ProcessorService,com.google.common.util.concurrent.Service
- All Known Implementing Classes:
AlgorithmManager,LocalParameterManager,ReplayService,StreamParameterProvider,XtceTmProcessor
interface implemented by all the classes that can provide parameters to the
ParameterProcessorManager-
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 -
Method Summary
Modifier and TypeMethodDescriptionbooleancanProvide(org.yamcs.protobuf.Yamcs.NamedObjectId paraId) Returns whether or not a given parameter can be provided by this providerbooleancanProvide(Parameter param) getParameter(org.yamcs.protobuf.Yamcs.NamedObjectId paraId) Returns the parameterDefinition corresponding to the parameter idvoidsetParameterProcessor(ParameterProcessor parameterProcessor) Send parameters to this processor.voidstartProviding(Parameter paramDef) Adds a new parameter to the list of parameters that have to providedvoidstart providing all known parametersvoidstopProviding(Parameter paramDef) Removes a parameter from the list of parameters that have to be providedMethods inherited from interface org.yamcs.ProcessorService
getSpec, initMethods inherited from interface com.google.common.util.concurrent.Service
addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, failureCause, isRunning, startAsync, state, stopAsync
-
Method Details
-
setParameterProcessor
Send parameters to this processor.- Parameters:
parameterProcessor-
-
startProviding
Adds a new parameter to the list of parameters that have to provided- Parameters:
paramDef-
-
startProvidingAll
void startProvidingAll()start providing all known parameters -
stopProviding
Removes a parameter from the list of parameters that have to be provided- Parameters:
paramDef-
-
canProvide
boolean canProvide(org.yamcs.protobuf.Yamcs.NamedObjectId paraId) Returns whether or not a given parameter can be provided by this provider- Returns:
-
getParameter
Returns the parameterDefinition corresponding to the parameter id- Parameters:
paraId- - id of the parameter that is returned- Returns:
- Throws:
InvalidIdentification
-
canProvide
-