|
|
Definition at line 74 of file PS_ForwardC.h. |
|
|
Definition at line 73 of file PS_ForwardC.h. |
|
|
Definition at line 35 of file PS_Forward.pidl. |
|
|
Definition at line 81 of file PS_ForwardC.h. |
|
|
Definition at line 80 of file PS_ForwardC.h. |
|
|
Definition at line 102 of file PS_ForwardC.h. |
|
|
Definition at line 45 of file ORT_Adapter.h. Referenced by POA_CORBA::Policy_tie< T >::Policy_tie(). |
|
|
Definition at line 96 of file PS_ForwardC.h. Referenced by TAO_ServantBase::_create_stub(), TAO_Root_POA::adapter_name_i(), TAO_Root_POA::create_POA_i(), and TAO_Root_POA::destroy_i(). |
|
|
Definition at line 66 of file POA.pidl. Referenced by TAO_Root_POA::the_children_i(). |
|
|
|
Definition at line 33 of file Adapter_Activator.h. Referenced by TAO_Root_POA::create_POA_i(), TAO_POAManager_Factory::create_POAManager(), and TAO_Object_Adapter::open(). |
|
|
Definition at line 59 of file Object_Adapter.cpp. Referenced by TAO_Object_Adapter::open(), and TAO_POA_Manager::TAO_POA_Manager(). |
|
|
Definition at line 68 of file PS_ForwardC.h. |
|
|
Definition at line 70 of file PS_ForwardC.h. |
|
|
|
Definition at line 20 of file IdAssignmentPolicy.pidl.
|
|
|
Definition at line 20 of file IdUniquenessPolicy.pidl.
00021 {
00022 UNIQUE_ID,
00023 MULTIPLE_ID
00024 };
|
|
|
Definition at line 20 of file ImplicitActivationPolicy.pidl.
00021 {
00022 IMPLICIT_ACTIVATION,
00023 NO_IMPLICIT_ACTIVATION
00024 };
|
|
|
Definition at line 20 of file LifespanPolicy.pidl.
00021 {
00022 TRANSIENT,
00023 PERSISTENT
00024 };
|
|
|
Definition at line 28 of file RequestProcessingPolicy.pidl.
00029 {
00030 USE_ACTIVE_OBJECT_MAP_ONLY,
00031 USE_DEFAULT_SERVANT,
00032 USE_SERVANT_MANAGER
00033 };
|
|
|
Definition at line 28 of file ServantRetentionPolicy.pidl.
00029 {
00030 RETAIN,
00031 NON_RETAIN
00032 };
|
|
|
Definition at line 28 of file ThreadPolicy.pidl.
00029 {
00030 ORB_CTRL_MODEL,
00031 SINGLE_THREAD_MODEL
00032 /* ,MAIN_THREAD_MODEL*/
00033 };
|
|
|
Utility functions for the other.
Definition at line 43 of file PortableServer_Functions.cpp. References ACE_OS::memcpy(), and CORBA::string_alloc().
00044 {
00045 // Create space
00046 char * string = CORBA::string_alloc (id.length ());
00047
00048 // Copy the data
00049 ACE_OS::memcpy (string, id.get_buffer (), id.length ());
00050
00051 // Null terminate the string
00052 string[id.length ()] = '\0';
00053
00054 // Return string
00055 return string;
00056 }
|
|
|
Definition at line 44 of file PortableServer_WFunctions.cpp. References ACE_OS::memcpy(), and CORBA::wstring_alloc().
00045 {
00046 // Compute resulting wide string's length.
00047 CORBA::ULong string_length =
00048 id.length () / sizeof (CORBA::WChar);
00049
00050 // Allocate an extra slot if the id's length is not "aligned" on a
00051 // CORBA::WChar.
00052 if (id.length () % sizeof (CORBA::WChar))
00053 string_length++;
00054
00055 // Create space - note that this method adds + 1 for the '\0'.
00056 CORBA::WChar* string = CORBA::wstring_alloc (string_length);
00057
00058 // Copy the data
00059 ACE_OS::memcpy (string,
00060 id.get_buffer (),
00061 id.length ());
00062
00063 // Null terminate the string
00064 string[string_length] = '\0';
00065
00066 // Return string.
00067 return string;
00068 }
|
|
|
Definition at line 14 of file PortableServer_Functions.cpp. References ACE_NEW_RETURN, ACE_OS::memcpy(), and ACE_OS::strlen().
00015 {
00016 // Size of string
00017 //
00018 // We DO NOT include the zero terminator, as this is simply an
00019 // artifact of the way strings are stored in C.
00020 //
00021 CORBA::ULong buffer_size = static_cast <CORBA::ULong>
00022 (ACE_OS::strlen (string));
00023
00024 // Create the buffer for the Id
00025 CORBA::Octet *buffer = PortableServer::ObjectId::allocbuf (buffer_size);
00026
00027 // Copy the contents
00028 ACE_OS::memcpy (buffer, string, buffer_size);
00029
00030 // Create and return a new ID
00031 PortableServer::ObjectId *id = 0;
00032 ACE_NEW_RETURN (id,
00033 PortableServer::ObjectId (buffer_size,
00034 buffer_size,
00035 buffer,
00036 1),
00037 0);
00038
00039 return id;
00040 }
|
|
|
Definition at line 14 of file PortableServer_WFunctions.cpp. References ACE_NEW_RETURN, ACE_OS::memcpy(), and ACE_OS::wslen().
00015 {
00016 // Size of Id
00017 //
00018 // We DO NOT include the zero terminator, as this is simply an
00019 // artifact of the way strings are stored in C.
00020 //
00021 u_int string_length = ACE_OS::wslen (string);
00022
00023 CORBA::ULong buffer_size = string_length * sizeof (CORBA::WChar);
00024
00025 // Create the buffer for the Id
00026 CORBA::Octet *buffer = PortableServer::ObjectId::allocbuf (buffer_size);
00027
00028 // Copy contents
00029 ACE_OS::memcpy (buffer, string, buffer_size);
00030
00031 // Create a new ID
00032 PortableServer::ObjectId *id = 0;
00033 ACE_NEW_RETURN (id,
00034 PortableServer::ObjectId (buffer_size,
00035 buffer_size,
00036 buffer,
00037 1),
00038 0);
00039
00040 return id;
00041 }
|
|
|
Initial value:
&_tao_tc_PortableServer_ObjectId
Definition at line 51 of file PS_ForwardA.cpp. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 37 of file PS_Forward.pidl. |
|
|
Definition at line 30 of file POAManagerFactory.pidl. |
|
|
|
|
|
|
|
|
Definition at line 71 of file PS_ForwardC.h. |
|
|
|
|
|
|
|
|
|
1.3.6