diff options
Diffstat (limited to 'TAO/tao/CSD_ThreadPool/CSD_TP_Dispatchable_Visitor.inl')
-rw-r--r-- | TAO/tao/CSD_ThreadPool/CSD_TP_Dispatchable_Visitor.inl | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/TAO/tao/CSD_ThreadPool/CSD_TP_Dispatchable_Visitor.inl b/TAO/tao/CSD_ThreadPool/CSD_TP_Dispatchable_Visitor.inl new file mode 100644 index 00000000000..c2c16d34e26 --- /dev/null +++ b/TAO/tao/CSD_ThreadPool/CSD_TP_Dispatchable_Visitor.inl @@ -0,0 +1,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 |