Package org.yamcs.xtceproc
Interface DataDecoder
-
- All Superinterfaces:
AlgorithmExecutor
- All Known Implementing Classes:
AbstractDataDecoder
,LeadingSizeBinaryDecoder
public interface DataDecoder extends AlgorithmExecutor
Interface to be implemented by the custom XTCE DataEncoding decoders - fromBinaryTransformAlgorithm TODO: unify somehow with the algorithms in order to allow for example to use input parameters (i.e. value of other parameters may be needed in the decoding) Until then, please use the AbstractDataDecoder interface to not need to implement any of the AlgorithmExecutor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Value
extractRaw(DataEncoding de, BitBuffer buffer)
Extracts the raw value from the buffer.-
Methods inherited from interface org.yamcs.algorithms.AlgorithmExecutor
addExecListener, getAlgorithm, getExecutionContext, getLookbackSize, runAlgorithm, updateParameters
-
-
-
-
Method Detail
-
extractRaw
Value extractRaw(DataEncoding de, BitBuffer buffer)
Extracts the raw value from the buffer. The offset inside the buffer shall be moved to the end of the parameter- Parameters:
de
-buffer
-- Returns:
-
-