Class XtceTmExtractor


  • public class XtceTmExtractor
    extends Object
    Extracts parameters out of packets based on the XTCE description
    • Field Detail

      • xtcedb

        public final XtceDb xtcedb
    • Constructor Detail

      • XtceTmExtractor

        public XtceTmExtractor​(XtceDb xtcedb)
        Create a standalone TM extractor
        Parameters:
        xtcedb -
      • XtceTmExtractor

        public XtceTmExtractor​(XtceDb xtcedb,
                               ProcessorData pdata)
        Create a new TM extractor with the given context
        Parameters:
        xtcedb -
        pdata -
    • Method Detail

      • startProviding

        public void startProviding​(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 IndirectParameterRefEntry having its alias namespace as one of the aliases of param, 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​(Parameter param)
      • processPacket

        public void processPacket​(byte[] b,
                                  long generationTime,
                                  long acquisitionTime)
        Extract one packet, starting at the root sequence container
      • processPacket

        public void processPacket​(BitBuffer buf,
                                  long generationTime,
                                  long acquisitionTime)
        Extract one packet, starting at the root sequence container
      • processPacket

        public void processPacket​(byte[] b,
                                  long generationTime,
                                  long acquisitionTime,
                                  SequenceContainer startContainer)
        Extract one packet, starting at the specified container.
      • processPacket

        public void processPacket​(BitBuffer buf,
                                  long generationTime,
                                  long acquisitionTime,
                                  SequenceContainer startContainer)
        Extract one packet, starting at the specified container.
      • resetStatistics

        public void resetStatistics()
      • startProviding

        public void startProviding​(SequenceContainer sequenceContainer)
      • getPacketName

        public String getPacketName()