summaryrefslogtreecommitdiffstats
path: root/tester/covoar/TraceReaderLogQEMU.h
blob: 636df3a92d42725f6a4bfb47ae8a8e2c14f8c9b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*! @file TraceReaderLogQEMU.h
 *  @brief TraceReaderLogQEMU Specification
 *
 *  This file contains the specification of the TraceReaderLogQEMU class.
 */

#ifndef __TRACE_READER_LOG_QEMU_H__
#define __TRACE_READER_LOG_QEMU_H__

#include "TraceReaderBase.h"

#include "rld-process.h"

namespace Trace {

  /*! @class TraceReaderLogQEMU
   *
   *  This is the specification of the TraceReader base class.
   *  All TraceReader implementations inherit from this class.
   */
  class TraceReaderLogQEMU: public TraceReaderBase {

  public:

    /*!
     *  This method constructs a TraceReaderLogQEMU instance.
     */
    TraceReaderLogQEMU();

    /*!
     *  This method destructs a TraceReaderLogQEMU instance.
     */
    virtual ~TraceReaderLogQEMU();

    /*!
     *  This method processes the coverage information from the input
     *  @a file and adds it to the specified @a executableInformation.
     *
     *  @param[in] file is the coverage file to process
     *  @param[in] objdumpProcessor the processor for the object dump
     *
     *  @return Returns TRUE if the method succeeded and FALSE if it failed.
     */
    virtual bool processFile(
      const std::string&          file,
      Coverage::ObjdumpProcessor& objdumpProcessor
    );
  };

}
#endif