10 void logPacket(
const std::string& event_type, omnetpp::cMessage
const*
const msg)
override { std::cout <<
"logPacket: " << event_type << std::endl; };
12 std::cout <<
"logQubitState: " << qnic_index <<
", " << qubit_index <<
", busy: " << is_busy <<
", allocated: " << is_allocated << std::endl;
17 void setModule(omnetpp::cModule
const*
const mod)
override {}
Interface of Logger class. Logger class that inherits ILogger is responsible for logging simulation r...
Definition ILogger.h:22
void logBellPairInfo(const std::string &event_type, int partner_addr, quisp::modules::QNIC_type qnic_type, int qnic_index, int qubit_index) override
Definition Logger.h:15
TestLogger()
Definition Logger.h:8
~TestLogger()
Definition Logger.h:9
void setQNodeAddress(int addr) override
Definition Logger.h:18
void logQubitState(quisp::modules::QNIC_type qnic_type, int qnic_index, int qubit_index, bool is_busy, bool is_allocated) override
Definition Logger.h:11
void logPacket(const std::string &event_type, omnetpp::cMessage const *const msg) override
Definition Logger.h:10
void setModule(omnetpp::cModule const *const mod) override
Definition Logger.h:17
QNIC_type
Definition QNIC.h:18