v6502cpp/Trace.h

36 lines
647 B
C++

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