Package org.yamcs.commanding
Class ValueChangeVerifier
java.lang.Object
org.yamcs.commanding.ValueChangeVerifier
- All Implemented Interfaces:
ParameterConsumer
Command verifier which succeeds when a parameter changes with a delta above a threshold.
The parameter is first sampled when the verifier starts and that value is compared with the new values when received.
This verifier never fails but it timeouts if the value does not change (enough)
-
Field Summary
Modifier and TypeFieldDescriptionprotected final CommandVerifier
protected final CommandVerificationHandler
protected final Log
protected ParameterValue
static final String
Imaginary parameter for publishing an optional return value to cmdhist -
Method Summary
Modifier and TypeMethodDescriptiongetStage()
org.yamcs.commanding.Verifier.State
getState()
void
updateItems
(int subscriptionId, List<ParameterValue> params)
-
Field Details
-
YAMCS_PARAMETER_RETURN_VALUE
Imaginary parameter for publishing an optional return value to cmdhist- See Also:
-
log
-
cv
-
cvh
-
returnPv
-
-
Method Details
-
updateItems
- Specified by:
updateItems
in interfaceParameterConsumer
-
getState
public org.yamcs.commanding.Verifier.State getState() -
getStage
-