summaryrefslogtreecommitdiff
path: root/ACE/ace/Recyclable.inl
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Recyclable.inl')
-rw-r--r--ACE/ace/Recyclable.inl20
1 files changed, 20 insertions, 0 deletions
diff --git a/ACE/ace/Recyclable.inl b/ACE/ace/Recyclable.inl
new file mode 100644
index 00000000000..ef096ff62be
--- /dev/null
+++ b/ACE/ace/Recyclable.inl
@@ -0,0 +1,20 @@
+// -*- C++ -*-
+//
+//$Id$
+
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
+ACE_INLINE ACE_Recyclable_State
+ACE_Recyclable::recycle_state (void) const
+{
+ return this->recycle_state_;
+}
+
+ACE_INLINE void
+ACE_Recyclable::recycle_state (ACE_Recyclable_State new_state)
+{
+ if (this->recycle_state_ != ACE_RECYCLABLE_CLOSED)
+ this->recycle_state_ = new_state;
+}
+
+ACE_END_VERSIONED_NAMESPACE_DECL