Cantera 2.6.0
|
Class that stores thread messages for each thread, and retrieves them based on the thread id. More...
#include <application.h>
Public Types | |
typedef std::map< std::thread::id, pMessages_t > | threadMsgMap_t |
Typedef for map between a thread and the message. More... | |
Public Member Functions | |
ThreadMessages () | |
Constructor. More... | |
Messages * | operator-> () |
Provide a pointer dereferencing overloaded operator. More... | |
void | removeThreadMessages () |
Remove a local thread message. More... | |
Private Attributes | |
threadMsgMap_t | m_threadMsgMap |
Thread Msg Map. More... | |
Class that stores thread messages for each thread, and retrieves them based on the thread id.
Definition at line 172 of file application.h.
typedef std::map<std::thread::id, pMessages_t> threadMsgMap_t |
Typedef for map between a thread and the message.
Definition at line 188 of file application.h.
|
inline |
Constructor.
Definition at line 176 of file application.h.
Application::Messages * operator-> | ( | ) |
Provide a pointer dereferencing overloaded operator.
Definition at line 108 of file application.cpp.
References Cantera::msg_mutex.
void removeThreadMessages | ( | ) |
Remove a local thread message.
Definition at line 121 of file application.cpp.
References Cantera::msg_mutex.
Referenced by Application::thread_complete().
|
private |
Thread Msg Map.
Definition at line 192 of file application.h.