Public Member Functions | Private Attributes

counter_ref Class Reference

put one of these on the stack to automatically increment/decrement a counter More...

#include <threadsafe_counter.h>

Collaboration diagram for counter_ref:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 counter_ref (threadsafe_counter *ptc) throw ()
 ~counter_ref (void) throw ()

Private Attributes

threadsafe_counterm_ptc

Detailed Description

put one of these on the stack to automatically increment/decrement a counter

Definition at line 83 of file threadsafe_counter.h.


Constructor & Destructor Documentation

counter_ref::counter_ref ( threadsafe_counter ptc  )  throw () [inline]

Definition at line 85 of file threadsafe_counter.h.

counter_ref::~counter_ref ( void   )  throw () [inline]

Definition at line 91 of file threadsafe_counter.h.


Member Data Documentation

Definition at line 98 of file threadsafe_counter.h.


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