blob: 3005c6211cc9de0c69bd7d410f9e97f899e62b56 (
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
52
53
54
55
56
|
/*! @file TraceReaderBase.h
* @brief TraceReaderBase Specification
*
* This file contains the specification of the TraceReaderBase class.
*/
#ifndef __TRACE_READER_BASE_H__
#define __TRACE_READER_BASE_H__
#include "TraceList.h"
#include "ObjdumpProcessor.h"
namespace Trace {
/*! @class TraceReaderBase
*
* This is the specification of the TraceReader base class.
* All TraceReader implementations inherit from this class.
*/
class TraceReaderBase {
public:
/*!
* Trace list that is filled by processFile.
*/
TraceList Trace;
/*!
* This method constructs a TraceReaderBase instance.
*/
TraceReaderBase();
/*!
* This method destructs a TraceReaderBase instance.
*/
virtual ~TraceReaderBase();
/*!
* 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 char* const file,
Coverage::ObjdumpProcessor& objdumpProcessor
) = 0;
};
}
#endif
|