# CCircularBufferExample Class Reference

List of all members.

## Public Member Functions
| ~CCircularBufferExample ()
void | CircularBufferOfIntsL ()
void | CircularBufferOfMyObjectsL ()
void | CircularBufferOfRClasssL ()
## Static Public Member Functions
static CCircularBufferExample * | NewL ()

## Detailed Description

Demonstrates the following uses of the Symbian platform circular buffer API:

- Creating a circular buffer.
- Adding elements to the circular buffer
- Removing elements from the circular buffer

Definition at line 34 of file circularbuffer.h.

## Constructor & Destructor Documentation

CCircularBufferExample::~CCircularBufferExample | ( |  | ) |

Destructor

Definition at line 87 of file circularbuffer.cpp.

## Member Function Documentation

CCircularBufferExample * CCircularBufferExample::NewL | ( |  | ) | `[static]`

Allocates and constructs a CCircularBufferExample object. Initialises all member data to their default values.

Returns:
  A CCircularBufferExample object.

Definition at line 97 of file circularbuffer.cpp.

void CCircularBufferExample::CircularBufferOfIntsL | ( |  | ) |

Constructs a circular buffer containing integers, and adds and removes integers.

Definition at line 108 of file circularbuffer.cpp.

void CCircularBufferExample::CircularBufferOfMyObjectsL | ( |  | ) |

Constructs a circular buffer of objects of my own created class, add and remove object from buffer.

Definition at line 215 of file circularbuffer.cpp.

void CCircularBufferExample::CircularBufferOfRClasssL | ( |  | ) |

Constructs a circular buffer of RBuf objects.

Definition at line 326 of file circularbuffer.cpp.