TAO_PortableServer  2.3.3
Public Member Functions | List of all members
TAO_Id_Hint_Strategy Class Referenceabstract

Id uniqueness strategy. More...

#include <Active_Object_Map.h>

Inheritance diagram for TAO_Id_Hint_Strategy:
Inheritance graph
[legend]

Public Member Functions

virtual ~TAO_Id_Hint_Strategy (void)
 Virtual destructor. More...
 
virtual int recover_key (const PortableServer::ObjectId &system_id, PortableServer::ObjectId &user_id)=0
 Find the user id from the system id. More...
 
virtual int bind (TAO_Active_Object_Map_Entry &entry)=0
 Add to map. More...
 
virtual int unbind (TAO_Active_Object_Map_Entry &entry)=0
 Remove from map. More...
 
virtual int find (const PortableServer::ObjectId &system_id, TAO_Active_Object_Map_Entry *&entry)=0
 Find system id. More...
 
virtual size_t hint_size (void)=0
 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)=0
 Get the system id associated with this entry. More...
 

Detailed Description

Id uniqueness strategy.

Strategy for implementing points of variation between the active hint and the no hint policies.

Constructor & Destructor Documentation

TAO_Id_Hint_Strategy::~TAO_Id_Hint_Strategy ( void  )
virtual

Virtual destructor.

Member Function Documentation

virtual int TAO_Id_Hint_Strategy::bind ( TAO_Active_Object_Map_Entry entry)
pure virtual

Add to map.

Implemented in TAO_No_Hint_Strategy, and TAO_Active_Hint_Strategy.

virtual int TAO_Id_Hint_Strategy::find ( const PortableServer::ObjectId system_id,
TAO_Active_Object_Map_Entry *&  entry 
)
pure virtual

Find system id.

Implemented in TAO_No_Hint_Strategy, and TAO_Active_Hint_Strategy.

virtual size_t TAO_Id_Hint_Strategy::hint_size ( void  )
pure virtual

How big is the hint generated by this strategy?

Implemented in TAO_No_Hint_Strategy, and TAO_Active_Hint_Strategy.

virtual int TAO_Id_Hint_Strategy::recover_key ( const PortableServer::ObjectId system_id,
PortableServer::ObjectId user_id 
)
pure virtual

Find the user id from the system id.

Implemented in TAO_No_Hint_Strategy, and TAO_Active_Hint_Strategy.

virtual int TAO_Id_Hint_Strategy::system_id ( PortableServer::ObjectId_out  system_id,
TAO_Active_Object_Map_Entry entry 
)
pure virtual

Get the system id associated with this entry.

Implemented in TAO_No_Hint_Strategy, and TAO_Active_Hint_Strategy.

virtual int TAO_Id_Hint_Strategy::unbind ( TAO_Active_Object_Map_Entry entry)
pure virtual

Remove from map.

Implemented in TAO_No_Hint_Strategy, and TAO_Active_Hint_Strategy.


The documentation for this class was generated from the following files: