java.lang.Object
org.yamcs.mdb.AbstractDataDecoder
org.yamcs.algo.BitMaskBooleanDecoder
- All Implemented Interfaces:
AlgorithmExecutor,DataDecoder
Decoder that returns a boolean true if the read bytes has all bits set of the provided bit mask.
-
Constructor Summary
ConstructorsConstructorDescriptionBitMaskBooleanDecoder(org.yamcs.xtce.CustomAlgorithm alg, AlgorithmExecutionContext ctx, byte mask) BitMaskBooleanDecoder(org.yamcs.xtce.CustomAlgorithm alg, AlgorithmExecutionContext ctx, int mask) BitMaskBooleanDecoder(org.yamcs.xtce.CustomAlgorithm alg, AlgorithmExecutionContext ctx, long mask) BitMaskBooleanDecoder(org.yamcs.xtce.CustomAlgorithm alg, AlgorithmExecutionContext ctx, short mask) -
Method Summary
Modifier and TypeMethodDescriptionextractRaw(org.yamcs.xtce.DataEncoding de, ContainerProcessingContext pcontext, BitBuffer buffer) 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
-
Constructor Details
-
BitMaskBooleanDecoder
public BitMaskBooleanDecoder(org.yamcs.xtce.CustomAlgorithm alg, AlgorithmExecutionContext ctx, byte mask) -
BitMaskBooleanDecoder
public BitMaskBooleanDecoder(org.yamcs.xtce.CustomAlgorithm alg, AlgorithmExecutionContext ctx, short mask) -
BitMaskBooleanDecoder
public BitMaskBooleanDecoder(org.yamcs.xtce.CustomAlgorithm alg, AlgorithmExecutionContext ctx, int mask) -
BitMaskBooleanDecoder
public BitMaskBooleanDecoder(org.yamcs.xtce.CustomAlgorithm alg, AlgorithmExecutionContext ctx, long mask)
-
-
Method Details
-
extractRaw
public Value extractRaw(org.yamcs.xtce.DataEncoding de, ContainerProcessingContext pcontext, BitBuffer buffer) 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
-