#include <ORB_Table.h>
Collaboration diagram for TAO_ORB_Table:
Public Types | |
typedef ACE_Hash_Map_Manager_Ex< const char *, TAO_ORB_Core *, ACE_Hash< const char * >, ACE_Equal_To< const char * >, ACE_Null_Mutex > | Table |
typedef Table::iterator | Iterator |
Public Member Functions | |
TAO_ORB_Table (void) | |
Constructor. | |
~TAO_ORB_Table (void) | |
destructor | |
TAO_ORB_Core * | first_orb (void) |
Obtain the first ORB for the ORB_Core_instance() implementation. | |
void | set_default (const char *orb_id) |
void | not_default (const char *orb_id) |
Table * | table (void) |
Accessor to the underlying table_. | |
Iterator | begin (void) |
Iterator | end (void) |
int | bind (const char *orb_id, TAO_ORB_Core *orb_core) |
TAO_ORB_Core * | find (const char *orb_id) |
int | unbind (const char *orb_id) |
TAO_ORB_Core *const * | get_orbs (size_t &num_orbs) |
Static Public Member Functions | |
TAO_ORB_Table * | instance (void) |
Return a unique instance. | |
Private Member Functions | |
TAO_ORB_Table (const TAO_ORB_Table &) | |
Prevent copying. | |
void | operator= (const TAO_ORB_Table &) |
void | update_orbs () |
Update our list of orbs. | |
Private Attributes | |
bool | first_orb_not_default_ |
Variable to check if the first ORB decides not to be the default. | |
Table | table_ |
The implementation. | |
TAO_ORB_Core * | first_orb_ |
The first ORB created by the user. | |
TAO_ORB_Core ** | orbs_ |
List of orbs for get_orbs call. | |
size_t | num_orbs_ |
CORBA::ORB_init() is supposed to return the same ORB if the user specifies the same ORBid, either in the ORB_init() parameter or in the -ORBid option. This class is used to implement that feature. It is also useful when trying to determine if an object reference is collocated or not.
|
|
|
|
|
Constructor.
|
|
destructor
|
|
Prevent copying.
|
|
|
|
|
|
|
|
|
|
Obtain the first ORB for the ORB_Core_instance() implementation.
|
|
|
|
Return a unique instance.
|
|
Method the ORB invokes to specify that it doesnt want to be the default ORB if there are more than one ORB registered. |
|
|
|
Set the ORB related to the orb_id as the default ORB and not the ORB that is first binded. |
|
Accessor to the underlying table_.
|
|
|
|
Update our list of orbs.
|
|
The first ORB created by the user.
|
|
Variable to check if the first ORB decides not to be the default.
|
|
|
|
List of orbs for get_orbs call.
|
|
The implementation.
|