Stack Class Reference

List of all members.

Public Member Functions

 ~Stack ()
void Push (ProducedItem *aItem)
ProducedItemPop ()

Detailed Description

Definition at line 41 of file stack.h.

Constructor & Destructor Documentation

Stack::~Stack (  ) 

Destructor Delete all the items those are not yet consumed by the consumers

Definition at line 52 of file stack.h.

Member Function Documentation

void Stack::Push ( ProducedItem aItem  ) 

Push New Item is created on Stack for every push operation

aItem - Item to be Pushed

Definition at line 70 of file stack.h.

ProducedItem* Stack::Pop (  ) 

Pop Item is sent to the Consumer who is doing the Pop. Ownership will also ne given. So, this item has to be deleted by the Consumer.

- Item Poped

Definition at line 92 of file stack.h.

Generated by  doxygen 1.6.2