v6502cpp/Trace.h

31 lines
518 B
C++

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