Main Page Modules Class Hierarchy Data Structures File List Data Fields Globals Related Pages

# Oscl_DefAllocWithRefCounter< DefAlloc > Class Template Reference
[OSCL Base]

`#include <oscl_refcounter.h>`

Inheritance diagram for Oscl_DefAllocWithRefCounter< DefAlloc >:

## Public Methods
void | Delete ()
void | addRef ()
void | removeRef ()
uint32 | getCount ()
## Static Public Methods
Oscl_DefAllocWithRefCounter * | New ()

## Detailed Description

### template<class DefAlloc>
class Oscl_DefAllocWithRefCounter< DefAlloc >

Implementation of an Oscl_DefAlloc class with a built-in ref counter.

## Member Function Documentation

template<class DefAlloc>
void Oscl_DefAllocWithRefCounter< DefAlloc >::addRef | ( |  | ) | `[inline, virtual]`

| Add to the reference count Implements OsclRefCounter.

template<class DefAlloc>
void Oscl_DefAllocWithRefCounter< DefAlloc >::Delete | ( |  | ) | `[inline]`

| Delete object

template<class DefAlloc>
uint32 Oscl_DefAllocWithRefCounter< DefAlloc >::getCount | ( |  | ) | `[inline, virtual]`

| Gets the current number of references Implements OsclRefCounter.

template<class DefAlloc>
Oscl_DefAllocWithRefCounter* Oscl_DefAllocWithRefCounter< DefAlloc >::New | ( |  | ) | `[inline, static]`

| Create object

template<class DefAlloc>
void Oscl_DefAllocWithRefCounter< DefAlloc >::removeRef | ( |  | ) | `[inline, virtual]`

| Delete from reference count Implements OsclRefCounter.

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

- oscl_refcounter.h