Package org.yamcs.algo
Class BitMaskBooleanDecoder
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
ConstructorDescriptionBitMaskBooleanDecoder
(CustomAlgorithm alg, AlgorithmExecutionContext ctx, byte mask) BitMaskBooleanDecoder
(CustomAlgorithm alg, AlgorithmExecutionContext ctx, int mask) BitMaskBooleanDecoder
(CustomAlgorithm alg, AlgorithmExecutionContext ctx, long mask) BitMaskBooleanDecoder
(CustomAlgorithm alg, AlgorithmExecutionContext ctx, short mask) -
Method Summary
Modifier and TypeMethodDescriptionextractRaw
(DataEncoding de, BitBuffer buffer) Extracts the raw value from the buffer.Methods inherited from class org.yamcs.mdb.AbstractDataDecoder
addExecListener, execute, getAlgorithm, getExecutionContext, removeExecListener, update
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.yamcs.algorithms.AlgorithmExecutor
dispose, getInputList, getOutputList
-
Constructor Details
-
BitMaskBooleanDecoder
-
BitMaskBooleanDecoder
-
BitMaskBooleanDecoder
-
BitMaskBooleanDecoder
-
-
Method Details
-
extractRaw
Description copied from interface:DataDecoder
Extracts the raw value from the buffer. The offset inside the buffer shall be moved to the end of the parameter- Returns:
-