TAO_PortableServer
2.1.8
|
Active hint strategy. More...
#include <Active_Object_Map.h>
Public Types | |
typedef ACE_Active_Map_Manager_Adapter < PortableServer::ObjectId, TAO_Active_Object_Map_Entry *, TAO_Preserve_Original_Key_Adapter > | system_id_map |
Public Member Functions | |
TAO_Active_Hint_Strategy (CORBA::ULong map_size) | |
virtual | ~TAO_Active_Hint_Strategy (void) |
Virtual destructor. More... | |
virtual int | recover_key (const PortableServer::ObjectId &system_id, PortableServer::ObjectId &user_id) |
Find the user id from the system id. More... | |
virtual int | bind (TAO_Active_Object_Map_Entry &entry) |
Add to map. More... | |
virtual int | unbind (TAO_Active_Object_Map_Entry &entry) |
Remove from map. More... | |
virtual int | find (const PortableServer::ObjectId &system_id, TAO_Active_Object_Map_Entry *&entry) |
Find system id. More... | |
virtual size_t | hint_size (void) |
How big is the hint generated by this strategy? More... | |
virtual int | system_id (PortableServer::ObjectId_out system_id, TAO_Active_Object_Map_Entry &entry) |
Get the system id associated with this entry. More... | |
![]() | |
virtual | ~TAO_Id_Hint_Strategy (void) |
Virtual destructor. More... | |
Public Attributes | |
system_id_map | system_id_map_ |
Active hint strategy.
Strategy for adding active hints to ids.
typedef ACE_Active_Map_Manager_Adapter< PortableServer::ObjectId, TAO_Active_Object_Map_Entry *, TAO_Preserve_Original_Key_Adapter> TAO_Active_Hint_Strategy::system_id_map |
TAO_Active_Hint_Strategy::TAO_Active_Hint_Strategy | ( | CORBA::ULong | map_size | ) |
|
virtual |
Virtual destructor.
|
virtual |
Add to map.
Implements TAO_Id_Hint_Strategy.
|
virtual |
Find system id.
Implements TAO_Id_Hint_Strategy.
|
virtual |
How big is the hint generated by this strategy?
Implements TAO_Id_Hint_Strategy.
|
virtual |
Find the user id from the system id.
Implements TAO_Id_Hint_Strategy.
|
virtual |
Get the system id associated with this entry.
Implements TAO_Id_Hint_Strategy.
|
virtual |
Remove from map.
Implements TAO_Id_Hint_Strategy.
system_id_map TAO_Active_Hint_Strategy::system_id_map_ |