summaryrefslogtreecommitdiff
path: root/TAO/tao/Incoming_Message_Stack.inl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Incoming_Message_Stack.inl')
-rwxr-xr-xTAO/tao/Incoming_Message_Stack.inl71
1 files changed, 0 insertions, 71 deletions
diff --git a/TAO/tao/Incoming_Message_Stack.inl b/TAO/tao/Incoming_Message_Stack.inl
deleted file mode 100755
index 75b724c7103..00000000000
--- a/TAO/tao/Incoming_Message_Stack.inl
+++ /dev/null
@@ -1,71 +0,0 @@
-// -*- C++ -*-
-//
-//$Id$
-
-TAO_BEGIN_VERSIONED_NAMESPACE_DECL
-
-/************************************************************************/
-// Methods for TAO_Incoming_Message_Stack
-/************************************************************************/
-namespace TAO
-{
-ACE_INLINE
-Incoming_Message_Stack::Incoming_Message_Stack()
-: top_(0)
-{
-}
-
-ACE_INLINE
-Incoming_Message_Stack::~Incoming_Message_Stack()
-{
- // Delete all the nodes left behind
- TAO_Queued_Data *del = 0;
-
- while (this->pop (del) != -1)
- {
- TAO_Queued_Data::release (del);
- }
-}
-
-ACE_INLINE void
-Incoming_Message_Stack::push(TAO_Queued_Data *data)
-{
- data->next_ = this->top_;
- this->top_ = data;
-}
-
-
- /* @return 0 for Ok, -1 for error */
-ACE_INLINE int
-Incoming_Message_Stack::pop (TAO_Queued_Data* &data)
-{
- if (this->top_ == 0)
- return -1;
-
- data = this->top_;
- this->top_ = data->next_;
-
- return 0;
-}
-
-ACE_INLINE int
-Incoming_Message_Stack::top (TAO_Queued_Data* &data)
-{
- if (this->top_ == 0)
- return -1;
-
- data = this->top_;
-
- return 0;
-}
-
-/*
-ACE_INLINE bool
-Incoming_Message_Stack::is_empty ()
-{
- return this->top_ == 0;
-}
-*/
-
-} /* namespace TAO */
-TAO_END_VERSIONED_NAMESPACE_DECL