java.lang.Object
org.yamcs.mdb.XtceTmExtractor
Extracts parameters out of packets based on the XTCE description
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionXtceTmExtractor(Mdb mdb) Create a standalone TM extractorXtceTmExtractor(Mdb mdb, ProcessorData pdata) Create a new TM extractor with the given context -
Method Summary
Modifier and TypeMethodDescriptionprocessPacket(byte[] b, long generationTime, long acquisitionTime, int seqCount) Extract one packet, starting at the root sequence containerprocessPacket(byte[] b, long generationTime, long acquisitionTime, int seqCount, org.yamcs.xtce.SequenceContainer startContainer) Extract one packet, starting at the specified container.processPacket(BitBuffer buf, long generationTime, long acquisitionTime, int seqCount) Extract one packet, starting at the root sequence containerprocessPacket(BitBuffer buf, long generationTime, long acquisitionTime, int seqCount, org.yamcs.xtce.SequenceContainer startContainer) Extract one packet, starting at the specified container.voidAdds all containers and parameters to the subscriptionvoidvoidvoidstartProviding(org.yamcs.xtce.Parameter param) Adds a parameter to the current subscription list.voidstartProviding(org.yamcs.xtce.SequenceContainer sequenceContainer) voidstopProviding(org.yamcs.xtce.Parameter param) voidstopProviding(org.yamcs.xtce.SequenceContainer sequenceContainer) toString()
-
Field Details
-
subscription
-
mdb
-
-
Constructor Details
-
XtceTmExtractor
Create a standalone TM extractor -
XtceTmExtractor
Create a new TM extractor with the given context- Parameters:
mdb-pdata-
-
-
Method Details
-
startProviding
public void startProviding(org.yamcs.xtce.Parameter param) Adds a parameter to the current subscription list.- finds all the SequenceContainers in which this parameter may appear and adds them to the list.
- for each sequence container adds the parameter needed to instantiate the sequence container.
- if there is any
IndirectParameterRefEntryhaving its alias namespace as one of the aliases ofparam, adds it also to the subcription
- Parameters:
param- parameter to be added to the current subscription list
-
provideAll
public void provideAll()Adds all containers and parameters to the subscription -
stopProviding
public void stopProviding(org.yamcs.xtce.Parameter param) -
processPacket
public ContainerProcessingResult processPacket(byte[] b, long generationTime, long acquisitionTime, int seqCount) Extract one packet, starting at the root sequence container -
processPacket
public ContainerProcessingResult processPacket(BitBuffer buf, long generationTime, long acquisitionTime, int seqCount) Extract one packet, starting at the root sequence container -
processPacket
public ContainerProcessingResult processPacket(byte[] b, long generationTime, long acquisitionTime, int seqCount, org.yamcs.xtce.SequenceContainer startContainer) Extract one packet, starting at the specified container. -
processPacket
public ContainerProcessingResult processPacket(BitBuffer buf, long generationTime, long acquisitionTime, int seqCount, org.yamcs.xtce.SequenceContainer startContainer) Extract one packet, starting at the specified container. -
resetStatistics
public void resetStatistics() -
getStatistics
-
startProviding
public void startProviding(org.yamcs.xtce.SequenceContainer sequenceContainer) -
stopProviding
public void stopProviding(org.yamcs.xtce.SequenceContainer sequenceContainer) -
getSubscription
-
toString
-
setOptions
-
getOptions
-