/* * DebugManager.h * * Created on: Mar 20, 2014 * Author: jonny */ #ifndef DEBUGMANAGER_H_ #define DEBUGMANAGER_H_ #include #include #include class DebugManager { public: static DebugManager& getInstance(); bool printTime; bool printLocation; void printDebugMessage(std::string message, std::string sender); void addToWhiteList(std::string sender); void addToWhiteList(std::vector senders); private: DebugManager() : printTime(true), printLocation(true) {}; DebugManager(const DebugManager&); std::set whiteList; }; #endif /* DEBUGMANAGER_H_ */