 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
19 #ifndef MsgHandlerSynchronized_h
20 #define MsgHandlerSynchronized_h
56 void inform(std::string msg,
bool addType =
true);
void endProcessMsg(std::string msg)
Ends a process information.
~MsgHandlerSynchronized()
destructor
Static storage of an output device and its base (abstract) implementation.
MsgHandlerSynchronized(MsgType type)
standard constructor
void clear()
Clears information whether an error occurred previously.
void addRetriever(OutputDevice *retriever)
Adds a further retriever to the instance responsible for a certain msg type.
static MsgHandler * create(MsgType type)
void inform(std::string msg, bool addType=true)
adds a new error to the list
void removeRetriever(OutputDevice *retriever)
Removes the retriever from the handler.
MsgHandlerSynchronized & operator=(const MsgHandlerSynchronized &s)=delete
invalid assignment operator
static FXMutex myLock
The lock for synchronizing all outputs using handlers of this class.
void beginProcessMsg(std::string msg, bool addType=true)
Begins a process information.