private void TraceExtractor_StateChanged(DExcExtractor.TEvent aEvent, DExcExtractor aExtractor) { // This event is notified when the extractor has obtained one entire D_EXC crash if (aEvent == DExcExtractor.TEvent.EEventExtractedAllData) { DExcExtractedData data = aExtractor.CurrentData; DExcTransformer transformer = new DExcTransformer(DExcDescriptor, base.Plugin.DataProvider, data); // Transform into crash container CIContainer container = transformer.Transform(); if (container != null) { base.NotifyEvent(TEvent.EReadingContainerCreated, container); } // Get extractor ready for next file iTraceExtractor.Init(); } }
public DExcTransformer(CFFSource aDescriptor, CFFDataProvider aDataProvider, DExcExtractedData aData) { iData = aData; iDescriptor = aDescriptor; iDataProvider = aDataProvider; }