TAO::Incoming_Message_Stack Class Reference

Implements stack for TAO_Queued_Data. More...

#include <Incoming_Message_Stack.h>

Collaboration diagram for TAO::Incoming_Message_Stack:

Collaboration graph
List of all members.

Public Member Functions

 Incoming_Message_Stack ()
 default constructor, intiliazes empty stack.
 ~Incoming_Message_Stack ()
 destructor, releases all elements on stack
void push (TAO_Queued_Data *data)
int pop (TAO_Queued_Data *&data)
int top (TAO_Queued_Data *&data)

Private Member Functions

 Incoming_Message_Stack (const Incoming_Message_Stack &)
 Default Copy-Constructor - not for public usage.
Incoming_Message_Stackoperator= (Incoming_Message_Stack &other)
 Assignment operator - not for public usage.

Private Attributes

 top element of stack

Detailed Description

Implements stack for TAO_Queued_Data.

Internal class, providing stack functionality for TAO_Queued_Data objects. Stack operations don't require memory allocation.

Constructor & Destructor Documentation

ACE_INLINE TAO::Incoming_Message_Stack::Incoming_Message_Stack (  ) 

default constructor, intiliazes empty stack.

ACE_INLINE TAO::Incoming_Message_Stack::~Incoming_Message_Stack (  ) 

destructor, releases all elements on stack

TAO::Incoming_Message_Stack::Incoming_Message_Stack ( const Incoming_Message_Stack  )  [private]

Default Copy-Constructor - not for public usage.

Member Function Documentation

Incoming_Message_Stack& TAO::Incoming_Message_Stack::operator= ( Incoming_Message_Stack other  )  [private]

Assignment operator - not for public usage.

ACE_INLINE int TAO::Incoming_Message_Stack::pop ( TAO_Queued_Data *&  data  ) 

removing top element of stack,

0 for Ok and data is defined, -1 for error

ACE_INLINE void TAO::Incoming_Message_Stack::push ( TAO_Queued_Data data  ) 

pushing a new element onto stack, data must be a valid pointer, not NULL

ACE_INLINE int TAO::Incoming_Message_Stack::top ( TAO_Queued_Data *&  data  ) 

peeking top element of stack

0 for Ok, -1 for error

Member Data Documentation

TAO_Queued_Data* TAO::Incoming_Message_Stack::top_ [private]

top element of stack

The documentation for this class was generated from the following files:
Generated on Sun Jul 9 09:44:58 2006 for TAO by  doxygen 1.4.7-1