summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/Servant_Base.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2003-04-27 00:26:09 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2003-04-27 00:26:09 +0000
commit036a8d3337cf70c5df3c58d8a961aace10b2a207 (patch)
treee6240d3e868a452f5655888a54d0fe7a4c3260cc /TAO/tao/PortableServer/Servant_Base.h
parent7b744a0d1950f5ac21c779409f1bb2a39214bb8a (diff)
downloadATCD-036a8d3337cf70c5df3c58d8a961aace10b2a207.tar.gz
ChangeLogTag:Sat Apr 26 12:00:36 2003 Venkita Subramonian <venkita@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/PortableServer/Servant_Base.h')
-rw-r--r--TAO/tao/PortableServer/Servant_Base.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/TAO/tao/PortableServer/Servant_Base.h b/TAO/tao/PortableServer/Servant_Base.h
index c03f51ea213..545e50a77ae 100644
--- a/TAO/tao/PortableServer/Servant_Base.h
+++ b/TAO/tao/PortableServer/Servant_Base.h
@@ -6,11 +6,10 @@
*
* $Id$
*
- * @author Irfan Pyarali
+ * @author Irfan Pyarali <irfan@cs.wustl.edu>
*/
//=============================================================================
-
#ifndef TAO_SERVANT_BASE_H
#define TAO_SERVANT_BASE_H
#include "ace/pre.h"
@@ -170,6 +169,12 @@ public:
*/
virtual void _remove_ref (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS);
+ /**
+ * Returns the current reference count value. This method is
+ * non-standard and is only here to simplify debugging.
+ */
+ virtual long _ref_count (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) const;
+
protected:
/// Constructor: initial reference count is one.