1 #include "tao/Queued_Message.h"
3 #if !defined (__ACE_INLINE__)
4 # include "tao/Queued_Message.inl"
5 #endif /* __ACE_INLINE__ */
7 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
9 TAO_Queued_Message::TAO_Queued_Message (TAO_ORB_Core
*oc
,
11 bool is_heap_allocated
)
13 , is_heap_created_ (is_heap_allocated
)
20 TAO_Queued_Message::~TAO_Queued_Message ()
25 TAO_Queued_Message::remove_from_list (TAO_Queued_Message
*&head
,
26 TAO_Queued_Message
*&tail
)
28 if (this->prev_
!= nullptr)
30 this->prev_
->next_
= this->next_
;
37 if (this->next_
!= nullptr)
39 this->next_
->prev_
= this->prev_
;
46 this->next_
= nullptr;
47 this->prev_
= nullptr;
51 TAO_Queued_Message::push_back (TAO_Queued_Message
*&head
,
52 TAO_Queued_Message
*&tail
)
58 this->next_
= nullptr;
59 this->prev_
= nullptr;
65 this->next_
= nullptr;
71 TAO_Queued_Message::push_front (TAO_Queued_Message
*&head
,
72 TAO_Queued_Message
*&tail
)
78 this->next_
= nullptr;
79 this->prev_
= nullptr;
85 this->prev_
= nullptr;
91 TAO_Queued_Message::is_expired (const ACE_Time_Value
&) const
96 TAO_END_VERSIONED_NAMESPACE_DECL