|
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
VEkRefCount Class Template ReferenceEquivalent to EkRefCount; however, the destructor throws an error if the ref count != 0.
More...
#include <EkRefCount.h>
Collaboration diagram for VEkRefCount: [legend]List of all members.
Detailed Description
template<class mutex_type>
class VEkRefCount< mutex_type >
Equivalent to EkRefCount; however, the destructor throws an error if the ref count != 0.
Constructor & Destructor Documentation
template<class mutex_type> |
VEkRefCount< mutex_type >::VEkRefCount |
( |
void |
|
) |
[inline] |
|
|
Constructor simply sets useCount to zero.
|
template<class mutex_type> |
VEkRefCount< mutex_type >::~VEkRefCount |
( |
void |
|
) |
[virtual] |
|
|
Destructor. This throws an error if mUseCount != 0. See also, EkRefCount.
|
template<class mutex_type> |
VEkRefCount< mutex_type >::VEkRefCount |
( |
const VEkRefCount< mutex_type > & |
obj |
) |
[inline] |
|
|
Copy constructor, does not copy useCount.
|
Member Function Documentation
template<class mutex_type> |
void VEkRefCount< mutex_type >::addRef |
( |
void |
|
) |
[inline, virtual] |
|
|
Increment useCount by one.
|
template<class mutex_type> |
bool VEkRefCount< mutex_type >::deleteRef |
( |
void |
|
) |
[inline, virtual] |
|
|
Decrements useCount by one, returns true if useCount==0 after decrement.
|
template<class mutex_type> |
VEkRefCount< mutex_type > & VEkRefCount< mutex_type >::operator= |
( |
const VEkRefCount< mutex_type > & |
obj |
) |
[inline, virtual] |
|
|
Assignment operator, does not copy useCount.
|
template<class mutex_type> |
long VEkRefCount< mutex_type >::useCount |
( |
|
) |
const [inline] |
|
The documentation for this class was generated from the following file:
|