Package org.yamcs.parameter
Interface SoftwareParameterManager
- All Known Implementing Classes:
LocalParameterManager
public interface SoftwareParameterManager
Handles parameters that can be set from the clients.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ParameterValue
transformValue
(LastValueCache lvc, ParameterValue pv) Transforms a parameter value into its target typedefault void
updateParameter
(Parameter p, Value engValue) Called (usually via the external Yamcs API) to pdate the engineering value of a parameter.void
updateParameters
(List<ParameterValue> pvals) Called (usually via the external Yamcs API) to update a list of parameters.
-
Method Details
-
updateParameters
Called (usually via the external Yamcs API) to update a list of parameters.Note that the value can be of type
PartialParameterValue
meaning that it refers to an element of an array. -
updateParameter
Called (usually via the external Yamcs API) to pdate the engineering value of a parameter. -
transformValue
Transforms a parameter value into its target typeAlso assembles a full aggregate value out of a number of partial members, taking the rest from the current value in the cache
Throws an
IllegalArgumentException
if it receives a partial aggregate value and does not find a full value in the cache
-