The C++ framework for developing highly scalable, high performance servers on Windows platforms.

CWaitableCounter::Incrementer Class Reference
[Win32 Synchronization primitivesRAII - Resource Acquisition Is Initialization]

Collaboration diagram for CWaitableCounter::Incrementer:

List of all members.

Detailed Description

A class that provides support for scope based incrementing of a waitable counter. The count is incremented for the life of the Incrementer; that is, it is incremented in the constructor of the and decremented in the destrutor.

Public Member Functions

 Incrementer (CWaitableCounter &counter)
 Increment the supplied counter.
 Incrementer (const Incrementer &rhs)
 ~Incrementer ()
Incrementeroperator= (const Incrementer &rhs)
void LeaveIncremented ()

Constructor & Destructor Documentation

Incrementer ( CWaitableCounter counter  )  [explicit]

Increment the supplied counter.

Incrementer ( const Incrementer rhs  ) 

~Incrementer (  ) 

Member Function Documentation

Incrementer& operator= ( const Incrementer rhs  ) 

void LeaveIncremented (  ) 

Generated on Sun Sep 12 19:08:55 2021 for The Server Framework - v7.4 by doxygen 1.5.3