blob: 5050cfe8cbebb606e69efb68644ed7a56a6c41d6 (
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
// -*- C++ -*-
//
// $Id$
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
namespace TAO
{
namespace Portable_Server
{
ACE_INLINE
ThreadStrategy*
Active_Policy_Strategies::thread_strategy (void) const
{
return this->thread_strategy_;
}
ACE_INLINE
RequestProcessingStrategy*
Active_Policy_Strategies::request_processing_strategy (void) const
{
return this->request_processing_strategy_;
}
ACE_INLINE
IdAssignmentStrategy *
Active_Policy_Strategies::id_assignment_strategy (void) const
{
return this->id_assignment_strategy_;
}
ACE_INLINE
IdUniquenessStrategy *
Active_Policy_Strategies::id_uniqueness_strategy (void) const
{
return this->id_uniqueness_strategy_;
}
ACE_INLINE
LifespanStrategy*
Active_Policy_Strategies::lifespan_strategy (void) const
{
return this->lifespan_strategy_;
}
ACE_INLINE
ImplicitActivationStrategy*
Active_Policy_Strategies::implicit_activation_strategy (void) const
{
return this->implicit_activation_strategy_;
}
ACE_INLINE
ServantRetentionStrategy*
Active_Policy_Strategies::servant_retention_strategy (void) const
{
return this->servant_retention_strategy_;
}
ACE_INLINE
Active_Policy_Strategies_Cleanup_Guard
::Active_Policy_Strategies_Cleanup_Guard (Active_Policy_Strategies *p)
: ptr_ (p)
{
}
ACE_INLINE
Active_Policy_Strategies_Cleanup_Guard
::~Active_Policy_Strategies_Cleanup_Guard (void)
{
if (this->ptr_)
{
this->ptr_->cleanup ();
}
}
ACE_INLINE
Active_Policy_Strategies *
Active_Policy_Strategies_Cleanup_Guard::_retn (void)
{
Active_Policy_Strategies *temp = this->ptr_;
this->ptr_ = 0;
return temp;
}
}
}
TAO_END_VERSIONED_NAMESPACE_DECL
|