Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

# TAO_Active_Object_Map Class Reference

`#include <Active_Object_Map.h>`

Collaboration diagram for TAO_Active_Object_Map:

[legend]
List of all members.

## Public Types
typedef ACE_Map< PortableServer::ObjectId, Map_Entry *> | user_id_map
typedef ACE_Hash_Map_Manager_Ex_Adapter< PortableServer::ObjectId, Map_Entry *, TAO_ObjectId_Hash, ACE_Equal_To< PortableServer::ObjectId >, TAO_Incremental_Key_Generator > | user_id_hash_map
typedef ACE_Map_Manager_Adapter< PortableServer::ObjectId, Map_Entry *, TAO_Incremental_Key_Generator > | user_id_linear_map
typedef ACE_Active_Map_Manager_Adapter< PortableServer::ObjectId, Map_Entry *, TAO_Ignore_Original_Key_Adapter > | user_id_active_map
typedef ACE_Map< PortableServer::Servant, Map_Entry *> | servant_map
typedef ACE_Hash_Map_Manager_Ex_Adapter< PortableServer::Servant, Map_Entry *, TAO_Servant_Hash, ACE_Equal_To< PortableServer::Servant >, ACE_Noop_Key_Generator< PortableServer::Servant > > | servant_hash_map
typedef ACE_Map_Manager_Adapter< PortableServer::Servant, Map_Entry *, ACE_Noop_Key_Generator< PortableServer::Servant > > | servant_linear_map
## Public Methods
| TAO_Active_Object_Map (int user_id_policy, int unique_id_policy, int persistent_id_policy, const TAO_Server_Strategy_Factory::Active_Object_Map_Creation_Parameters &creation_parameters ACE_ENV_ARG_DECL)
| ~TAO_Active_Object_Map (void)
int | is_servant_in_map (PortableServer::Servant servant, int &deactivated)
int | is_user_id_in_map (const PortableServer::ObjectId &user_id, CORBA::Short priority, int &priorities_match, int &deactivated)
int | bind_using_system_id_returning_system_id (PortableServer::Servant servant, CORBA::Short priority, PortableServer::ObjectId_out system_id)
int | bind_using_system_id_returning_user_id (PortableServer::Servant servant, CORBA::Short priority, PortableServer::ObjectId_out user_id)
int | bind_using_user_id (PortableServer::Servant servant, const PortableServer::ObjectId &user_id, CORBA::Short priority)
int | find_system_id_using_user_id (const PortableServer::ObjectId &user_id, CORBA::Short priority, PortableServer::ObjectId_out system_id)
int | rebind_using_user_id_and_system_id (PortableServer::Servant servant, const PortableServer::ObjectId &user_id, const PortableServer::ObjectId &system_id, TAO_Active_Object_Map::Map_Entry *&entry)
int | unbind_using_user_id (const PortableServer::ObjectId &user_id)
int | find_user_id_using_servant (PortableServer::Servant servant, PortableServer::ObjectId_out user_id)
int | find_system_id_using_servant (PortableServer::Servant servant, PortableServer::ObjectId_out system_id, CORBA::Short &priority)
int | find_servant_using_user_id (const PortableServer::ObjectId &user_id, PortableServer::Servant &servant)
int | find_servant_using_system_id_and_user_id (const PortableServer::ObjectId &system_id, const PortableServer::ObjectId &user_id, PortableServer::Servant &servant, TAO_Active_Object_Map::Map_Entry *&entry)
int | find_servant_and_system_id_using_user_id (const PortableServer::ObjectId &user_id, PortableServer::Servant &servant, PortableServer::ObjectId_out system_id, CORBA::Short &priority)
int | find_servant_and_system_id_using_user_id (const PortableServer::ObjectId &user_id, TAO_Active_Object_Map::Map_Entry *&entry)
int | find_user_id_using_system_id (const PortableServer::ObjectId &system_id, PortableServer::ObjectId_out user_id)
int | find_user_id_using_system_id (const PortableServer::ObjectId &system_id, PortableServer::ObjectId &user_id)
CORBA::Boolean | remaining_activations (PortableServer::Servant servant)
size_t | current_size (void)
## Static Public Methods
size_t | system_id_size (void)
void | set_system_id_size (const TAO_Server_Strategy_Factory::Active_Object_Map_Creation_Parameters &creation_parameters)
## Public Attributes
user_id_map * | user_id_map_
servant_map * | servant_map_
TAO_Id_Uniqueness_Strategy * | id_uniqueness_strategy_
TAO_Lifespan_Strategy * | lifespan_strategy_
TAO_Id_Assignment_Strategy * | id_assignment_strategy_
TAO_Id_Hint_Strategy * | id_hint_strategy_
int | using_active_maps_
## Static Public Attributes
size_t | system_id_size_ = 0

## Member Typedef Documentation

typedef ACE_Hash_Map_Manager_Ex_Adapter< PortableServer::Servant, Map_Entry *, TAO_Servant_Hash, ACE_Equal_To<PortableServer::Servant>, ACE_Noop_Key_Generator<PortableServer::Servant> > TAO_Active_Object_Map::servant_hash_map

typedef ACE_Map_Manager_Adapter< PortableServer::Servant, Map_Entry *, ACE_Noop_Key_Generator<PortableServer::Servant> > TAO_Active_Object_Map::servant_linear_map

typedef ACE_Map< PortableServer::Servant, Map_Entry *> TAO_Active_Object_Map::servant_map

typedef ACE_Active_Map_Manager_Adapter< PortableServer::ObjectId, Map_Entry *, TAO_Ignore_Original_Key_Adapter> TAO_Active_Object_Map::user_id_active_map

typedef ACE_Hash_Map_Manager_Ex_Adapter< PortableServer::ObjectId, Map_Entry *, TAO_ObjectId_Hash, ACE_Equal_To<PortableServer::ObjectId>, TAO_Incremental_Key_Generator> TAO_Active_Object_Map::user_id_hash_map

typedef ACE_Map_Manager_Adapter< PortableServer::ObjectId, Map_Entry *, TAO_Incremental_Key_Generator> TAO_Active_Object_Map::user_id_linear_map

typedef ACE_Map< PortableServer::ObjectId, Map_Entry *> TAO_Active_Object_Map::user_id_map

## Constructor & Destructor Documentation

TAO_Active_Object_Map::TAO_Active_Object_Map | ( | int | user_id_policy,
|  | int | unique_id_policy,
|  | int | persistent_id_policy,
|  | const TAO_Server_Strategy_Factory::Active_Object_Map_Creation_Parameters &creation_parameters | ACE_ENV_ARG_DECL
| ) |

TAO_Active_Object_Map::~TAO_Active_Object_Map | ( | void |  | ) |

## Member Function Documentation

ACE_INLINE int TAO_Active_Object_Map::bind_using_system_id_returning_system_id | ( | PortableServer::Servant | servant,
|  | CORBA::Short | priority,
|  | PortableServer::ObjectId_out | system_id
| ) |

ACE_INLINE int TAO_Active_Object_Map::bind_using_system_id_returning_user_id | ( | PortableServer::Servant | servant,
|  | CORBA::Short | priority,
|  | PortableServer::ObjectId_out | user_id
| ) |

ACE_INLINE int TAO_Active_Object_Map::bind_using_user_id | ( | PortableServer::Servant | servant,
|  | const PortableServer::ObjectId & | user_id,
|  | CORBA::Short | priority
| ) |

ACE_INLINE size_t TAO_Active_Object_Map::current_size | ( | void |  | ) |

ACE_INLINE int TAO_Active_Object_Map::find_servant_and_system_id_using_user_id | ( | const PortableServer::ObjectId & | user_id,
|  | TAO_Active_Object_Map::Map_Entry *& | entry
| ) |

ACE_INLINE int TAO_Active_Object_Map::find_servant_and_system_id_using_user_id | ( | const PortableServer::ObjectId & | user_id,
|  | PortableServer::Servant & | servant,
|  | PortableServer::ObjectId_out | system_id,
|  | CORBA::Short & | priority
| ) |

ACE_INLINE int TAO_Active_Object_Map::find_servant_using_system_id_and_user_id | ( | const PortableServer::ObjectId & | system_id,
|  | const PortableServer::ObjectId & | user_id,
|  | PortableServer::Servant & | servant,
|  | TAO_Active_Object_Map::Map_Entry *& | entry
| ) |

ACE_INLINE int TAO_Active_Object_Map::find_servant_using_user_id | ( | const PortableServer::ObjectId & | user_id,
|  | PortableServer::Servant & | servant
| ) |

ACE_INLINE int TAO_Active_Object_Map::find_system_id_using_servant | ( | PortableServer::Servant | servant,
|  | PortableServer::ObjectId_out | system_id,
|  | CORBA::Short & | priority
| ) |

ACE_INLINE int TAO_Active_Object_Map::find_system_id_using_user_id | ( | const PortableServer::ObjectId & | user_id,
|  | CORBA::Short | priority,
|  | PortableServer::ObjectId_out | system_id
| ) |

ACE_INLINE int TAO_Active_Object_Map::find_user_id_using_servant | ( | PortableServer::Servant | servant,
|  | PortableServer::ObjectId_out | user_id
| ) |

ACE_INLINE int TAO_Active_Object_Map::find_user_id_using_system_id | ( | const PortableServer::ObjectId & | system_id,
|  | PortableServer::ObjectId & | user_id
| ) |

ACE_INLINE int TAO_Active_Object_Map::find_user_id_using_system_id | ( | const PortableServer::ObjectId & | system_id,
|  | PortableServer::ObjectId_out | user_id
| ) |

ACE_INLINE int TAO_Active_Object_Map::is_servant_in_map | ( | PortableServer::Servant | servant,
|  | int & | deactivated
| ) |

int TAO_Active_Object_Map::is_user_id_in_map | ( | const PortableServer::ObjectId & | user_id,
|  | CORBA::Short | priority,
|  | int & | priorities_match,
|  | int & | deactivated
| ) |

ACE_INLINE int TAO_Active_Object_Map::rebind_using_user_id_and_system_id | ( | PortableServer::Servant | servant,
|  | const PortableServer::ObjectId & | user_id,
|  | const PortableServer::ObjectId & | system_id,
|  | TAO_Active_Object_Map::Map_Entry *& | entry
| ) |

ACE_INLINE CORBA::Boolean TAO_Active_Object_Map::remaining_activations | ( | PortableServer::Servant | servant | ) |

void TAO_Active_Object_Map::set_system_id_size | ( | const TAO_Server_Strategy_Factory::Active_Object_Map_Creation_Parameters & | creation_parameters | ) | `[static]`

ACE_INLINE size_t TAO_Active_Object_Map::system_id_size | ( | void |  | ) | `[static]`

ACE_INLINE int TAO_Active_Object_Map::unbind_using_user_id | ( | const PortableServer::ObjectId & | user_id | ) |

## Member Data Documentation

TAO_Id_Assignment_Strategy* TAO_Active_Object_Map::id_assignment_strategy_

TAO_Id_Hint_Strategy* TAO_Active_Object_Map::id_hint_strategy_

TAO_Id_Uniqueness_Strategy* TAO_Active_Object_Map::id_uniqueness_strategy_

TAO_Lifespan_Strategy* TAO_Active_Object_Map::lifespan_strategy_

servant_map* TAO_Active_Object_Map::servant_map_

size_t TAO_Active_Object_Map::system_id_size_ = 0`[static]`

user_id_map* TAO_Active_Object_Map::user_id_map_

int TAO_Active_Object_Map::using_active_maps_

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

- Active_Object_Map.h
- Active_Object_Map.cpp
- Active_Object_Map.i