source: rtems-tools/tester/covoar/TraceWriterBase.h @ 3e187ba

5
Last change on this file since 3e187ba was 100f517, checked in by Chris Johns <chrisj@…>, on 05/09/14 at 11:50:37

covoar: Merger the covoar source from rtems-testing.git.

Use waf to build covoar.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1/*! @file TraceWriterBase.h
2 *  @brief TraceWriterBase Specification
3 *
4 *  This file contains the specification of the TraceWriterBase class.
5 */
6
7#ifndef __TRACE_WRITER_BASE_H__
8#define __TRACE_WRITER_BASE_H__
9
10#include <stdint.h>
11#include "TraceReaderBase.h"
12
13namespace Trace {
14
15  /*! @class TraceWriterBase
16   *
17   *  This is the specification of the TraceWriter base class.
18   *  All TraceWriter implementations inherit from this class.
19   */
20  class TraceWriterBase {
21
22  public:
23
24    /*!
25     *  This method constructs a TraceWriterBase instance.
26     */
27    TraceWriterBase();
28
29    /*!
30     *  This method destructs a TraceWriterBase instance.
31     */
32    virtual ~TraceWriterBase();
33
34    /*!
35     *  This method writes the specified @a trace file.
36     *
37     *  @param[in] file specifies the name of the file to write
38     *  @param[in] log structure where the trace data was read into
39     *
40     *  @return Returns TRUE if the method succeeded and FALSE if it failed.
41     */
42     virtual bool writeFile(
43       const char* const          file,
44       Trace::TraceReaderBase    *log
45     ) =  0;
46  };
47
48}
49#endif
Note: See TracBrowser for help on using the repository browser.