mirror of
https://git.rtems.org/rtems-tools/
synced 2025-06-11 20:28:41 +08:00
51 lines
1.1 KiB
C++
51 lines
1.1 KiB
C++
/*! @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
|