#include "tao/Object_Ref_Table.h"#include "tao/ORB.h"#include "tao/debug.h"#include "tao/ORB_Constants.h"#include "tao/SystemException.h"#include "ace/OS_NS_string.h"#include "ace/Log_Msg.h"
Go to the source code of this file.
Functions | |
| ACE_RCSID (tao, Object_Ref_Table,"$Id: Object_Ref_Table.cpp 83534 2008-11-03 12:47:26Z johnnyw $") 1 int TAO_Object_Ref_Table | |
| ACE_RCSID | ( | tao | , | |
| Object_Ref_Table | , | |||
| "$Id: Object_Ref_Table.cpp 83534 2008-11-03 12:47:26Z johnnyw $" | ||||
| ) |
Definition at line 12 of file Object_Ref_Table.cpp.
00014 : Object_Ref_Table.cpp 83534 2008-11-03 12:47:26Z johnnyw $") 00015 00016 #ifndef __ACE_INLINE__ 00017 # include "tao/Object_Ref_Table.inl" 00018 #endif /* __ACE_INLINE__ */ 00019 00020 00021 // **************************************************************** 00022 00023 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00024 00025 int 00026 TAO_Object_Ref_Table::register_initial_reference ( 00027 const char *id, 00028 CORBA::Object_ptr obj, 00029 bool rebind) 00030 { 00031 ACE_GUARD_RETURN (TAO_SYNCH_MUTEX, 00032 guard, 00033 this->lock_, 00034 -1); 00035 00036 if (rebind) 00037 { 00038 if (this->unbind_i (id) == -1) 00039 return -1; 00040 else 00041 return this->bind_i (id, obj); 00042 } 00043 else 00044 return this->bind_i (id, obj); 00045 }
1.6.1