- All Superinterfaces:
AlgorithmExecutor
- All Known Implementing Classes:
AbstractDataEncoder,LeadingSizeBinaryEncoder,ReverseBinaryEncoder,TimeBinaryEncoder
Interface to be implemented by the custom XTCE DataEncoding decoders - toBinaryTransformAlgorithm
-
Method Summary
Modifier and TypeMethodDescriptionvoidencodeRaw(org.yamcs.xtce.DataEncoding de, Value rawValue, BitBuffer buffer, TcProcessingContext ctx) Encode the raw value into the buffer.Methods inherited from interface org.yamcs.algorithms.AlgorithmExecutor
dispose, execute, getAlgorithm, getExecutionContext, getInputList, getOutputList, update
-
Method Details
-
encodeRaw
void encodeRaw(org.yamcs.xtce.DataEncoding de, Value rawValue, BitBuffer buffer, TcProcessingContext ctx) Encode the raw value into the buffer.The offset inside the buffer shall be moved to the end of the parameter
- Parameters:
de- the data encoding definition of which this algorithm is part ofrawValue- raw value to be encodedbuffer- buffer in which the value should be encodedctx- TC processing context
-