summaryrefslogtreecommitdiff
path: root/TAO/tao/Profile.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Profile.h')
-rw-r--r--TAO/tao/Profile.h23
1 files changed, 15 insertions, 8 deletions
diff --git a/TAO/tao/Profile.h b/TAO/tao/Profile.h
index a19068df002..d31e55b6257 100644
--- a/TAO/tao/Profile.h
+++ b/TAO/tao/Profile.h
@@ -25,7 +25,12 @@
#include "tao/Refcounted_ObjectKey.h"
#include "tao/Service_Callbacks.h"
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
class ACE_Lock;
+ACE_END_VERSIONED_NAMESPACE_DECL
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
class TAO_MProfile;
class TAO_Stub;
class TAO_Endpoint;
@@ -244,7 +249,7 @@ protected:
virtual void create_profile_body (TAO_OutputCDR &cdr) const = 0;
/**
- * Helper for <decode>. Decodes endpoints from a tagged component.
+ * Helper for decode(). Decodes endpoints from a tagged component.
* Decode only if RTCORBA is enabled. Furthermore, we may not find
* TAO_TAG_ENDPOINTS component, e.g., if we are talking to nonRT
* version of TAO or some other ORB. This is not an error, and we
@@ -298,9 +303,9 @@ private:
/// i.e. is not a GIOP 1.0 profile.
void verify_profile_version (ACE_ENV_SINGLE_ARG_DECL);
- // Profiles should not be copied!
- ACE_UNIMPLEMENTED_FUNC (TAO_Profile (const TAO_Profile&))
- ACE_UNIMPLEMENTED_FUNC (void operator= (const TAO_Profile&))
+ // Profiles should not be copied or assigned!
+ TAO_Profile (const TAO_Profile&);
+ void operator= (const TAO_Profile&);
//@@ TAO_PROFILE_SPL_PROTECTED_METHODS_ADD_HOOK
@@ -329,10 +334,10 @@ protected:
private:
/// IOP protocol tag.
- CORBA::ULong tag_;
+ CORBA::ULong const tag_;
/// Pointer to the ORB core
- TAO_ORB_Core *orb_core_;
+ TAO_ORB_Core * const orb_core_;
/// The TAO_MProfile which contains the profiles for the forwarded
/// object.
@@ -352,7 +357,7 @@ private:
// A helper class to handle the various kinds of octet sequences used
// inside the ORB.
-typedef TAO_Unbounded_Sequence<CORBA::Octet> TAO_opaque;
+typedef TAO::unbounded_value_sequence<CORBA::Octet> TAO_opaque;
TAO_Export CORBA::Boolean
operator<< (TAO_OutputCDR&, const TAO_opaque&);
@@ -415,8 +420,10 @@ private:
//@@ TAO_PROFILE_SPL_EXTERN_HOOK
+TAO_END_VERSIONED_NAMESPACE_DECL
+
#if defined (__ACE_INLINE__)
-# include "Profile.i"
+# include "tao/Profile.i"
#endif /* __ACE_INLINE__ */
#include /**/ "ace/post.h"