#include <Incoming_Message_Stack.h>
Collaboration diagram for TAO::Incoming_Message_Stack:
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_Stack & | operator= (Incoming_Message_Stack &other) |
Assignment operator - not for public usage. | |
Private Attributes | |
TAO_Queued_Data * | top_ |
top element of stack |
Internal class, providing stack functionality for TAO_Queued_Data objects. Stack operations don't require memory allocation.
Definition at line 47 of file Incoming_Message_Stack.h.
|
default constructor, intiliazes empty stack.
Definition at line 13 of file Incoming_Message_Stack.inl.
00014 : top_(0) 00015 { 00016 } |
|
destructor, releases all elements on stack
Definition at line 19 of file Incoming_Message_Stack.inl. References pop(), and TAO_Queued_Data::release().
00020 { 00021 // Delete all the nodes left behind 00022 TAO_Queued_Data *del = 0; 00023 00024 while (this->pop (del) != -1) 00025 { 00026 TAO_Queued_Data::release (del); 00027 } 00028 } |
|
Default Copy-Constructor - not for public usage.
|
|
Assignment operator - not for public usage.
|
|
removing top element of stack,
Definition at line 40 of file Incoming_Message_Stack.inl. References TAO_Queued_Data::next_. Referenced by TAO_GIOP_Message_Base::consolidate_fragmented_message(), TAO_GIOP_Message_Base::discard_fragmented_message(), TAO_Transport::handle_input_missing_data(), TAO_Transport::handle_input_parse_data(), and ~Incoming_Message_Stack().
|
|
pushing a new element onto stack, data must be a valid pointer, not NULL Definition at line 31 of file Incoming_Message_Stack.inl. References TAO_Queued_Data::next_. Referenced by TAO_GIOP_Message_Base::consolidate_fragmented_message(), TAO_GIOP_Message_Base::discard_fragmented_message(), TAO_Transport::handle_input_parse_data(), and TAO_Transport::handle_input_parse_extra_messages().
|
|
peeking top element of stack
Definition at line 52 of file Incoming_Message_Stack.inl. Referenced by TAO_Transport::handle_input(), and TAO_Transport::handle_input_parse_data().
|
|
top element of stack
Definition at line 71 of file Incoming_Message_Stack.h. |