Cantera  3.1.0a1
Loading...
Searching...
No Matches
Application::ThreadMessages Class Reference

Class that stores thread messages for each thread, and retrieves them based on the thread id. More...

#include <application.h>

Detailed Description

Class that stores thread messages for each thread, and retrieves them based on the thread id.

Definition at line 167 of file application.h.

Public Types

typedef map< std::thread::id, pMessages_tthreadMsgMap_t
 Typedef for map between a thread and the message.
 

Public Member Functions

 ThreadMessages ()
 Constructor.
 
Messagesoperator-> ()
 Provide a pointer dereferencing overloaded operator.
 
void removeThreadMessages ()
 Remove a local thread message.
 

Private Attributes

threadMsgMap_t m_threadMsgMap
 Thread Msg Map.
 

Member Typedef Documentation

◆ threadMsgMap_t

typedef map<std::thread::id, pMessages_t> threadMsgMap_t

Typedef for map between a thread and the message.

Definition at line 183 of file application.h.

Constructor & Destructor Documentation

◆ ThreadMessages()

ThreadMessages ( )
inline

Constructor.

Definition at line 171 of file application.h.

Member Function Documentation

◆ operator->()

Application::Messages * operator-> ( )

Provide a pointer dereferencing overloaded operator.

Returns
a pointer to Messages

Definition at line 87 of file application.cpp.

◆ removeThreadMessages()

void removeThreadMessages ( )

Remove a local thread message.

Definition at line 100 of file application.cpp.

Member Data Documentation

◆ m_threadMsgMap

threadMsgMap_t m_threadMsgMap
private

Thread Msg Map.

Definition at line 187 of file application.h.


The documentation for this class was generated from the following files: