summaryrefslogtreecommitdiff
path: root/TAO/tao/CSD_ThreadPool/CSD_TP_Dispatchable_Visitor.inl
blob: c2c16d34e2681a334f5a34d965f98707df7155d0 (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
// -*- C++ -*-
//
// $Id$

TAO_BEGIN_VERSIONED_NAMESPACE_DECL

ACE_INLINE
TAO::CSD::TP_Dispatchable_Visitor::TP_Dispatchable_Visitor()
{
}


ACE_INLINE
void
TAO::CSD::TP_Dispatchable_Visitor::reset()
{
  // Set the handle to 0 to have it release any request it may currently
  // be referencing.
  this->request_ = 0;
}


ACE_INLINE
TAO::CSD::TP_Request*
TAO::CSD::TP_Dispatchable_Visitor::request()
{
  TP_Request_Handle handle(this->request_.in(), false);
  return handle._retn();
}

TAO_END_VERSIONED_NAMESPACE_DECL