summaryrefslogtreecommitdiff
path: root/ace/Object_Manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Object_Manager.h')
-rw-r--r--ace/Object_Manager.h25
1 files changed, 19 insertions, 6 deletions
diff --git a/ace/Object_Manager.h b/ace/Object_Manager.h
index 0144bb203ca..293864096b3 100644
--- a/ace/Object_Manager.h
+++ b/ace/Object_Manager.h
@@ -24,20 +24,32 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
// Forward declarations.
class ACE_Object_Manager_Preallocations;
class ACE_Sig_Adapter;
class ACE_Sig_Set;
+
+ACE_END_VERSIONED_NAMESPACE_DECL
+
#if defined (ACE_MT_SAFE) && (ACE_MT_SAFE != 0)
+
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
class ACE_Mutex;
class ACE_Null_Mutex;
class ACE_Thread_Mutex;
class ACE_Recursive_Thread_Mutex;
class ACE_RW_Thread_Mutex;
+ACE_END_VERSIONED_NAMESPACE_DECL
+
# include "ace/Recursive_Thread_Mutex.h"
#endif /* ACE_MT_SAFE */
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
// only used by ACE_OS_Object_Manager::ctor
# if defined (ACE_WIN32)
// Default WIN32 structured exception handler.
@@ -334,14 +346,14 @@ public:
// use by ACE_Singleton _only_.
/**
- * Accesses an <ACE_Null_Mutex> to be used for construction of
+ * Accesses an ACE_Null_Mutex to be used for construction of
* <ACE_Singletons>. Returns 0, and the lock in the argument, on
* success; returns -1 on failure.
*/
static int get_singleton_lock (ACE_Null_Mutex *&);
/**
- * Accesses a non-recursive <ACE_Thread_Mutex> to be used for
+ * Accesses a non-recursive ACE_Thread_Mutex to be used for
* construction of <ACE_Singletons>. Returns 0, and the lock in the
* argument, on success; returns -1 on failure.
*/
@@ -355,7 +367,7 @@ public:
static int get_singleton_lock (ACE_Mutex *&);
/**
- * Accesses a recursive <ACE_Recursive_Thread_Mutex> to be used for
+ * Accesses a recursive ACE_Recursive_Thread_Mutex to be used for
* construction of <ACE_Singletons>. Returns 0, and the lock in the
* argument, on success; returns -1 on failure.
*/
@@ -423,6 +435,7 @@ private:
ACE_Object_Manager &operator= (const ACE_Object_Manager &);
};
+ACE_END_VERSIONED_NAMESPACE_DECL
#include "ace/Static_Object_Lock.h"
@@ -436,10 +449,10 @@ private:
// We can't use the ACE_SVC_FACTORY_DECLARE macro here because this
// needs to be in the ACE_Export context rather than the
// ACE_Svc_Export context.
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
class ACE_Service_Object;
-extern "C" ACE_Export
-ACE_Service_Object *
-_make_ACE_Service_Manager (ACE_Service_Object_Exterminator *);
+ACE_END_VERSIONED_NAMESPACE_DECL
+ACE_FACTORY_DECLARE (ACE, ACE_Service_Manager)
#endif /* ! ACE_LACKS_ACE_SVCCONF */