Package org.yamcs.scos2k
Class TimeDecoder
java.lang.Object
org.yamcs.mdb.AbstractDataDecoder
org.yamcs.scos2k.TimeDecoder
- All Implemented Interfaces:
AlgorithmExecutor,DataDecoder
Decodes absolute times in CUC (CCSDS Unsegmented Code)
or CDS (CCSDS Segmented Code) using the (ptc,pfc) as defined in SCOS2k MIB
-
Constructor Summary
ConstructorsConstructorDescriptionTimeDecoder(Algorithm alg, AlgorithmExecutionContext ctx, Map<String, Integer> arg) -
Method Summary
Modifier and TypeMethodDescriptionextractRaw(DataEncoding de, ContainerProcessingContext pcontext, BitBuffer buffer) returns the time as SINT64 representing milliseconds since the epochMethods 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
-
TimeDecoder
-
-
Method Details
-
extractRaw
returns the time as SINT64 representing milliseconds since the epoch
-