Cantera  2.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Private Attributes | List of all members
Application::ThreadMessages Class Reference

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< cthreadId_t,
pMessages_t
threadMsgMap_t
 Typedef for map between a thread and the message. More...
 

Public Member Functions

 ThreadMessages ()
 Constructor. More...
 
Messagesoperator-> ()
 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...
 

Detailed Description

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

Definition at line 179 of file application.h.

Member Typedef Documentation

typedef std::map< cthreadId_t, pMessages_t > threadMsgMap_t

Typedef for map between a thread and the message.

Definition at line 195 of file application.h.

Constructor & Destructor Documentation

ThreadMessages ( )
inline

Constructor.

Definition at line 183 of file application.h.

Member Function Documentation

Application::Messages * operator-> ( )

Provide a pointer dereferencing overloaded operator.

Returns
returns a pointer to Messages

Definition at line 147 of file application.cpp.

References Cantera::msg_mutex.

void removeThreadMessages ( )

Remove a local thread message.

Definition at line 160 of file application.cpp.

References Cantera::msg_mutex.

Referenced by Application::thread_complete().

Member Data Documentation

threadMsgMap_t m_threadMsgMap
private

Thread Msg Map.

Definition at line 199 of file application.h.


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