summaryrefslogtreecommitdiff
path: root/TAO/tao/Stub.i
diff options
context:
space:
mode:
authorfredk <fredk@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-26 22:46:24 +0000
committerfredk <fredk@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-26 22:46:24 +0000
commit8083ade35ba5369dee15c8d9422a3ca4afa96660 (patch)
treea9f9832943490e32a80560edf5dc54e97fa3d39e /TAO/tao/Stub.i
parent566001b1c20958253f39e025b60d83a093d167fa (diff)
downloadATCD-8083ade35ba5369dee15c8d9422a3ca4afa96660.tar.gz
*** empty log message ***
Diffstat (limited to 'TAO/tao/Stub.i')
-rw-r--r--TAO/tao/Stub.i37
1 files changed, 29 insertions, 8 deletions
diff --git a/TAO/tao/Stub.i b/TAO/tao/Stub.i
index 8d691419ca1..bc3392e14b4 100644
--- a/TAO/tao/Stub.i
+++ b/TAO/tao/Stub.i
@@ -80,13 +80,20 @@ STUB_Object::reset_forward (void)
ACE_INLINE
void
+STUB_Object::reset_profiles_i (void)
+{
+ reset_forward ();
+ reset_base ();
+}
+
+ACE_INLINE
+void
STUB_Object::reset_profiles (void)
{
ACE_MT (ACE_GUARD (ACE_Lock,
guard,
*this->profile_lock_ptr_));
- reset_forward ();
- reset_base ();
+ reset_profiles_i ();
}
ACE_INLINE
@@ -157,14 +164,9 @@ STUB_Object::next_forward_profile (void)
ACE_INLINE
TAO_Profile *
-STUB_Object::next_profile (void)
+STUB_Object::next_profile_i (void)
{
- ACE_MT (ACE_GUARD_RETURN (ACE_Lock,
- guard,
- *this->profile_lock_ptr_,
- 0));
-
TAO_Profile *pfile_next = 0;
if (forward_profiles_)
{
@@ -184,6 +186,25 @@ STUB_Object::next_profile (void)
}
ACE_INLINE
+TAO_Profile *
+STUB_Object::next_profile (void)
+{
+
+ ACE_MT (ACE_GUARD_RETURN (ACE_Lock,
+ guard,
+ *this->profile_lock_ptr_,
+ 0));
+ return next_profile_i ();
+}
+
+ACE_INLINE
+CORBA::Boolean
+STUB_Object::valid_forward_profile (void)
+{
+ return (profile_success_ && forward_profiles_);
+}
+
+ACE_INLINE
void
STUB_Object::set_valid_profile (void)
{