Public Member Functions | Public Attributes | List of all members
osl::misc::IncrementLock< Counter > Struct Template Reference

#include <atomicCounter.h>

Public Member Functions

 IncrementLock (Counter &c)
 
 ~IncrementLock ()
 
 IncrementLock (const IncrementLock &)=delete
 
IncrementLockoperator= (const IncrementLock &)=delete
 

Public Attributes

Counter & counter
 

Detailed Description

template<class Counter>
struct osl::misc::IncrementLock< Counter >

Definition at line 15 of file atomicCounter.h.

Constructor & Destructor Documentation

§ IncrementLock() [1/2]

template<class Counter >
osl::misc::IncrementLock< Counter >::IncrementLock ( Counter &  c)
inlineexplicit

Definition at line 18 of file atomicCounter.h.

Referenced by osl::misc::IncrementLock< Counter >::~IncrementLock().

§ ~IncrementLock()

template<class Counter >
osl::misc::IncrementLock< Counter >::~IncrementLock ( )
inline

§ IncrementLock() [2/2]

template<class Counter >
osl::misc::IncrementLock< Counter >::IncrementLock ( const IncrementLock< Counter > &  )
delete

Member Function Documentation

§ operator=()

template<class Counter >
IncrementLock& osl::misc::IncrementLock< Counter >::operator= ( const IncrementLock< Counter > &  )
delete

Member Data Documentation

§ counter

template<class Counter >
Counter& osl::misc::IncrementLock< Counter >::counter

Definition at line 17 of file atomicCounter.h.


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