diff options
Diffstat (limited to 'TAO/tao/MProfile.h')
-rw-r--r-- | TAO/tao/MProfile.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/TAO/tao/MProfile.h b/TAO/tao/MProfile.h index ba45b3a4a5d..7fef351e37c 100644 --- a/TAO/tao/MProfile.h +++ b/TAO/tao/MProfile.h @@ -140,7 +140,7 @@ public: /// Return the index of this entry or -1 if it can not be added. /// this object assumes ownership of this profile!! - int give_profile (TAO_Profile *pfile); + int give_profile (TAO_Profile *pfile, int share = 0); /// append the profiles in pfiles to this object. The count /// will be incremented on the individual profile objects. @@ -217,6 +217,12 @@ private: /// Helper method to implement the destructor void cleanup (void); + /// A helper to give_profile to be used when share is true. This + /// method is used primarily to help the corbaloc parser create a + /// single profile with multiple endpoints rather than constructing + /// multiple profiles with 1 endpoint per. + int give_shared_profile (TAO_Profile *pfile); + private: /** |