summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Notify/Event.inl
blob: b51106e82762bce92e3e5063411afce300f94e13 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// $Id$

ACE_INLINE const TAO_Notify_Property_Short&
TAO_Notify_Event::priority (void) const
{
  return this->priority_;
}

ACE_INLINE const TAO_Notify_Property_Time&
TAO_Notify_Event::timeout (void) const
{
  return this->timeout_;
}

ACE_INLINE const TAO_Notify_Property_Boolean&
TAO_Notify_Event::reliable (void) const
{
  return this->reliable_;
}

/**********************************************************/

ACE_INLINE
TAO_Notify_Event_var::TAO_Notify_Event_var (void)
  : TAO_Notify_Event_var_Base ()
{
}

ACE_INLINE
TAO_Notify_Event_var::TAO_Notify_Event_var (const TAO_Notify_Event* event)
  : TAO_Notify_Event_var_Base (const_cast <TAO_Notify_Event *>(event))
{
}

/**********************************************************/

ACE_INLINE
TAO_Notify_Event_Copy_var::TAO_Notify_Event_Copy_var (void)
  : TAO_Notify_Event_var ()
{
}

ACE_INLINE
TAO_Notify_Event_Copy_var::TAO_Notify_Event_Copy_var (const TAO_Notify_Event* event)
  : TAO_Notify_Event_var (event)
{
}

ACE_INLINE
void //const TAO_Notify_Event *
TAO_Notify_Event::queueable_copy (TAO_Notify_Event_var & ptr ACE_ENV_ARG_DECL) const
{
  if (this->event_on_heap_ == 0)
  {
    TAO_Notify_Event * copied =
      this->copy (ACE_ENV_SINGLE_ARG_PARAMETER);
    ACE_CHECK;
    const_cast <TAO_Notify_Event *> (this)->event_on_heap_ = copied;
    copied->event_on_heap_ = copied;
  }
  ptr = TAO_Notify_Event_Copy_var (this->event_on_heap_);
}