#include <Active_Object_Map.h>
Inheritance diagram for TAO_No_Hint_Strategy:
Public Member Functions | |
virtual | ~TAO_No_Hint_Strategy (void) |
Virtual destructor. | |
virtual int | recover_key (const PortableServer::ObjectId &system_id, PortableServer::ObjectId &user_id) |
Find the user id from the system id. | |
virtual int | bind (TAO_Active_Object_Map_Entry &entry) |
Add to map. | |
virtual int | unbind (TAO_Active_Object_Map_Entry &entry) |
Remove from map. | |
virtual int | find (const PortableServer::ObjectId &system_id, TAO_Active_Object_Map_Entry *&entry) |
Find system id. | |
virtual size_t | hint_size (void) |
How big is the hint generated by this strategy? | |
virtual int | system_id (PortableServer::ObjectId_out system_id, TAO_Active_Object_Map_Entry &entry) |
Get the system id associated with this entry. |
Strategy for not adding active hints to ids.
Definition at line 602 of file Active_Object_Map.h.
|
Virtual destructor.
Definition at line 879 of file Active_Object_Map.cpp.
00880 { 00881 } |
|
Add to map.
Implements TAO_Id_Hint_Strategy. Definition at line 897 of file Active_Object_Map.cpp.
00898 {
00899 return 0;
00900 }
|
|
Find system id.
Implements TAO_Id_Hint_Strategy. Definition at line 909 of file Active_Object_Map.cpp.
00911 {
00912 return -1;
00913 }
|
|
How big is the hint generated by this strategy?
Implements TAO_Id_Hint_Strategy. Definition at line 916 of file Active_Object_Map.cpp.
00917 {
00918 return 0;
00919 }
|
|
Find the user id from the system id.
Implements TAO_Id_Hint_Strategy. Definition at line 884 of file Active_Object_Map.cpp.
00886 { 00887 // Smartly copy all the data; <user_id does not own the data>. 00888 user_id.replace (system_id.maximum (), 00889 system_id.length (), 00890 const_cast<CORBA::Octet *> (system_id.get_buffer ()), 00891 0); 00892 00893 return 0; 00894 } |
|
Get the system id associated with this entry.
Implements TAO_Id_Hint_Strategy. Definition at line 922 of file Active_Object_Map.cpp. References ACE_NEW_RETURN, and TAO_Active_Object_Map_Entry::user_id_.
00924 { 00925 ACE_NEW_RETURN (system_id, 00926 PortableServer::ObjectId (entry.user_id_), 00927 -1); 00928 return 0; 00929 } |
|
Remove from map.
Implements TAO_Id_Hint_Strategy. Definition at line 903 of file Active_Object_Map.cpp.
00904 {
00905 return 0;
00906 }
|