Cantera  2.1.2
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 292 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 308 of file application.h.

Constructor & Destructor Documentation

ThreadMessages ( )
inline

Constructor.

Definition at line 296 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 296 of file application.cpp.

References Cantera::msg_mutex.

void removeThreadMessages ( )

Remove a local thread message.

Definition at line 309 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 312 of file application.h.


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