summaryrefslogtreecommitdiffstats
path: root/covoar/TraceWriterQEMU.h
blob: 3b1c2541cdbc16ed77e0a3eb06c048b788f9a799 (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
/*! @file TraceWriterQEMU.h
 *  @brief TraceWriterQEMU Specification
 *
 *  This file contains the specification of the TraceWriterQEMU class.
 */

#ifndef __TRACE_WRITER_QEMU_H__
#define __TRACE_WRITER_QEMU_H__

#include <stdint.h>
#include "TraceReaderBase.h"
#include "TraceWriterBase.h"

namespace Trace {

  /*! @class TraceWriterQEMU
   *
   *  This is the specification of the TraceWriter base class.
   *  All TraceWriter implementations inherit from this class.
   */
  class TraceWriterQEMU: public TraceWriterBase {

  public:

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

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

    /*!
     *  This method writes the specified @a trace file.
     *
     *  @param[in] file specifies the name of the file to write
     *  @param[in] log structure where the trace data was read into
     *
     *  @return Returns TRUE if the method succeeded and FALSE if it failed.
     */
     bool writeFile(
       const char* const          file,
       Trace::TraceReaderBase    *log
     );
  };

}
#endif