java.lang.Object
org.yamcs.mdb.AbstractDataDecoder
org.yamcs.algo.TimeBinaryDecoder
- All Implemented Interfaces:
AlgorithmExecutor,DataDecoder
Can be used in BinaryParameterEncoding to decode binary data directly to absolute times
Unlike the pure XTCE based decoder, this one can use a time correlation service to convert between an on-board time and Yamcs time.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTimeBinaryDecoder(org.yamcs.xtce.CustomAlgorithm alg, AlgorithmExecutionContext ctx, Map<String, Object> conf) -
Method Summary
Modifier and TypeMethodDescriptionextractRaw(org.yamcs.xtce.DataEncoding de, ContainerProcessingContext pcontext, BitBuffer buf) Extracts the raw value from the buffer.Methods inherited from class org.yamcs.mdb.AbstractDataDecoder
addExecListener, execute, getAlgorithm, getExecutionContext, removeExecListener, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.yamcs.algorithms.AlgorithmExecutor
dispose, getInputList, getOutputList
-
Field Details
-
timeEpoch
-
-
Constructor Details
-
TimeBinaryDecoder
public TimeBinaryDecoder(org.yamcs.xtce.CustomAlgorithm alg, AlgorithmExecutionContext ctx, Map<String, Object> conf)
-
-
Method Details
-
extractRaw
public Value extractRaw(org.yamcs.xtce.DataEncoding de, ContainerProcessingContext pcontext, BitBuffer buf) Description copied from interface:DataDecoderExtracts the raw value from the buffer. The offset inside the buffer shall be moved to the end of the parameter
-