Created by: kharbutli
Make two functions in raw2trace virtual to allow extending them in derived classes. This allows a derived class to perform additional processing on the post-processed trace (e.g. run one or more analyzers directly without having to read the memtrace from a file). The extra processing would happen in addition to writing out the final memtrace (using the existing ostreams). This is why we are not using the existing ostreams as a pipe for the extra processing.