![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <config.h>
#include <string>
#include <vector>
#include <map>
#include <utils/common/StringUtils.h>
#include <utils/iodevices/OutputDevice.h>
Go to the source code of this file.
Data Structures | |
class | MsgHandler |
Definition in file MsgHandler.h.
#define PROGRESS_BEGIN_MESSAGE | ( | msg | ) | MsgHandler::getMessageInstance()->beginProcessMsg((msg) + std::string(" ...")); |
Definition at line 269 of file MsgHandler.h.
#define PROGRESS_BEGIN_TIME_MESSAGE | ( | msg | ) | SysUtils::getCurrentMillis(); MsgHandler::getMessageInstance()->beginProcessMsg((msg) + std::string(" ...")); |
Definition at line 271 of file MsgHandler.h.
#define PROGRESS_DONE_MESSAGE | ( | ) | MsgHandler::getMessageInstance()->endProcessMsg("done."); |
Definition at line 270 of file MsgHandler.h.
#define PROGRESS_FAILED_MESSAGE | ( | ) | MsgHandler::getMessageInstance()->endProcessMsg("failed."); |
Definition at line 273 of file MsgHandler.h.
#define PROGRESS_TIME_MESSAGE | ( | before | ) | MsgHandler::getMessageInstance()->endProcessMsg("done (" + toString(SysUtils::getCurrentMillis() - before) + "ms)."); |
Definition at line 272 of file MsgHandler.h.
#define TL | ( | string | ) | (string) |
Definition at line 282 of file MsgHandler.h.
#define TLF | ( | string, | |
... | |||
) | StringUtils::format(string, __VA_ARGS__) |
Definition at line 283 of file MsgHandler.h.
#define WRITE_DEBUG | ( | msg | ) | if(MsgHandler::writeDebugMessages()){MsgHandler::getDebugInstance()->inform(msg);}; |
Definition at line 276 of file MsgHandler.h.
#define WRITE_ERROR | ( | msg | ) | MsgHandler::getErrorInstance()->inform(msg); |
Definition at line 274 of file MsgHandler.h.
#define WRITE_ERRORF | ( | ... | ) | MsgHandler::getErrorInstance()->informf(__VA_ARGS__); |
Definition at line 275 of file MsgHandler.h.
#define WRITE_GLDEBUG | ( | msg | ) | if(MsgHandler::writeDebugGLMessages()){MsgHandler::getGLDebugInstance()->inform(msg);}; |
Definition at line 277 of file MsgHandler.h.
#define WRITE_MESSAGE | ( | msg | ) | MsgHandler::getMessageInstance()->inform(msg); |
Definition at line 267 of file MsgHandler.h.
#define WRITE_MESSAGEF | ( | ... | ) | MsgHandler::getMessageInstance()->informf(__VA_ARGS__); |
Definition at line 268 of file MsgHandler.h.
#define WRITE_WARNING | ( | msg | ) | MsgHandler::getWarningInstance()->inform(msg); |
Definition at line 265 of file MsgHandler.h.
#define WRITE_WARNINGF | ( | ... | ) | MsgHandler::getWarningInstance()->informf(__VA_ARGS__); |
Definition at line 266 of file MsgHandler.h.