v6502cpp/Trace.h

36 lines
647 B
C
Raw Permalink 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;
2013-12-17 02:51:12 +00:00
class TransCache;
class Common;
2013-12-12 22:05:33 +00:00
class Trace final {
2013-12-12 22:05:33 +00:00
public:
2013-12-17 02:51:12 +00:00
Trace(const SegmentCache& segs, const TransCache& transes, const Common& common) : segs(segs), transes(transes), common(common) {
}
2013-12-12 22:05:33 +00:00
void dumpSegments() const;
2013-12-17 02:51:12 +00:00
void dumpTransistors() 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& segs;
2013-12-17 02:51:12 +00:00
const TransCache& transes;
const Common& common;
2013-12-12 22:05:33 +00:00
};
#endif /* TRACE_H */