diff options
Diffstat (limited to 'TAO/tao/Profile.h')
-rw-r--r-- | TAO/tao/Profile.h | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/TAO/tao/Profile.h b/TAO/tao/Profile.h index bac298eae34..8fdab0af3bd 100644 --- a/TAO/tao/Profile.h +++ b/TAO/tao/Profile.h @@ -13,16 +13,16 @@ #ifndef TAO_PROFILE_H #define TAO_PROFILE_H #include "ace/pre.h" - -#include "corbafwd.h" +#include "tao/Tagged_Components.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ -#include "Tagged_Components.h" -#include "PolicyC.h" -#include "GIOP_Message_Version.h" +// @@ This include needs to go after Ossama's checkin +#include "tao/PolicyC.h" +#include "tao/GIOP_Message_Version.h" +#include "tao/Object_KeyC.h" class TAO_MProfile; class TAO_Stub; @@ -199,9 +199,19 @@ public: protected: + /// To be used by inherited classes + TAO_Profile (CORBA::ULong tag, + TAO_ORB_Core *orb_core, + const TAO_ObjectKey &key, + const TAO_GIOP_Message_Version &version); + /// Creates an encapsulation of the ProfileBody struct in the <cdr> virtual void create_profile_body (TAO_OutputCDR &cdr) const = 0; + /// Helper method that encodes the endpoints for RTCORBA as + /// tagged_components. + void set_tagged_components (TAO_OutputCDR &cdr); + private: /// this object keeps ownership of this object @@ -252,8 +262,10 @@ protected: /// Our tagged profile IOP::TaggedProfile *tagged_profile_; -private: + /// object_key associated with this profile. + TAO_ObjectKey object_key_; +private: /// IOP protocol tag. CORBA::ULong tag_; |