v6502cpp/Trace.h

31 lines
518 B
C
Raw Normal View History

2013-12-12 22:05:33 +00:00
/*
* File: Trace.h
* Author: cmosher
*
* Created on December 12, 2013, 3:39 PM
*/
#ifndef TRACE_H
#define TRACE_H
class SegmentCache;
class Common;
2013-12-12 22:05:33 +00:00
class Trace {
public:
Trace(const SegmentCache& s, const Common& common) : s(s), common(common) {}
2013-12-12 22:05:33 +00:00
virtual ~Trace() {}
void dumpSegments() const;
void dumpRegisters() const;
2013-12-12 22:05:33 +00:00
private:
Trace(const Trace&) = delete;
Trace& operator=(const Trace&) = delete;
2013-12-12 22:05:33 +00:00
const SegmentCache& s;
const Common& common;
2013-12-12 22:05:33 +00:00
};
#endif /* TRACE_H */