blob: 4270742ef5a1fbb810a1d61e502d1cb413c9df76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
// -*- C++ -*-
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_INLINE const TAO_Notify_Property_Short&
TAO_Notify_Event::priority () const
{
return this->priority_;
}
ACE_INLINE const TAO_Notify_Property_Time&
TAO_Notify_Event::timeout () const
{
return this->timeout_;
}
ACE_INLINE const TAO_Notify_Property_Boolean&
TAO_Notify_Event::reliable () const
{
return this->reliable_;
}
ACE_INLINE const ACE_Time_Value&
TAO_Notify_Event::creation_time () const
{
return this->time_;
}
ACE_INLINE
TAO_Notify_Event*
TAO_Notify_Event::queueable_copy () const
{
if ( is_on_heap_ )
{
return const_cast< TAO_Notify_Event* >( this );
}
else if (this->clone_.get() == 0)
{
TAO_Notify_Event* copied = this->copy ();
copied->is_on_heap_ = true;
this->clone_.reset( copied );
}
return this->clone_.get();
}
TAO_END_VERSIONED_NAMESPACE_DECL
|