Public Member Functions | Private Attributes

cmn_ThreadCounter Class Reference
[Common, basic classes, functions and types]

#include <thread.h>

Collaboration diagram for cmn_ThreadCounter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 cmn_ThreadCounter ()
int GetCount () const
void Inc ()
void Dec ()
void WaitAllEnd ()

Private Attributes

 log_CLASSID_m
int m_threadCounter
cmn_Mutex m_threadCounter_x
cmn_Condition m_allThreadFinished

Detailed Description

Definition at line 448 of file thread.h.


Constructor & Destructor Documentation

cmn_ThreadCounter::cmn_ThreadCounter (  ) 

Definition at line 531 of file cmn_thread.cpp.


Member Function Documentation

void cmn_ThreadCounter::Dec (  ) 
int cmn_ThreadCounter::GetCount (  )  const

Definition at line 538 of file cmn_thread.cpp.

References m_threadCounter, and m_threadCounter_x.

Referenced by i_BackEndAgent_i::Migrate(), and i_BackEndAgent_i::Recall().

Here is the caller graph for this function:

void cmn_ThreadCounter::Inc (  ) 
void cmn_ThreadCounter::WaitAllEnd (  ) 

Member Data Documentation

Definition at line 459 of file thread.h.

Definition at line 463 of file thread.h.

Referenced by Dec(), and WaitAllEnd().

Definition at line 461 of file thread.h.

Referenced by Dec(), GetCount(), Inc(), and WaitAllEnd().

Definition at line 462 of file thread.h.

Referenced by Dec(), GetCount(), Inc(), and WaitAllEnd().


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