merged everythin into one project

This commit is contained in:
Janik Schlemminger
2014-03-21 13:46:38 +01:00
parent 27e209f549
commit cd556eb572
53 changed files with 9026 additions and 219 deletions

View File

@@ -0,0 +1,35 @@
/*
* DebugManager.h
*
* Created on: Mar 20, 2014
* Author: jonny
*/
#ifndef DEBUGMANAGER_H_
#define DEBUGMANAGER_H_
#include <systemc.h>
enum class Importance {Warning, Error, Info};
class DebugManager
{
public:
static DebugManager& getInstance();
enum Sender {Core, Scheduler};
bool printTime;
bool printLocation;
void printDebug(Importance i, Sender s, sc_time time, std::string message);
private:
DebugManager() : printTime(true), printLocation(true) {};
DebugManager(const DebugManager&);
std::string senderToString(Sender sender);
std::string importancyToString(Importance importancy);
};
#endif /* DEBUGMANAGER_H_ */