|
Public Member Functions |
| | PG_FactoryRegistry (const char *name="FactoryRegistry") |
| | Constructor.
|
| virtual | ~PG_FactoryRegistry (void) |
| | virtual Destructor
|
| int | parse_args (int argc, char *argv[]) |
| int | init (CORBA::ORB_ptr orb ACE_ENV_ARG_DECL) |
| void | init (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa ACE_ENV_ARG_DECL) |
| int | fini (ACE_ENV_SINGLE_ARG_DECL) |
| int | idle (int &result ACE_ENV_ARG_DECL) |
| const char * | identity () const |
| ::PortableGroup::FactoryRegistry_ptr | reference () |
| virtual void | _remove_ref (ACE_ENV_SINGLE_ARG_DECL) |
| virtual void | register_factory (const char *role, const char *type_id, const PortableGroup::FactoryInfo &factory_info ACE_ENV_ARG_DECL) throw ( CORBA::SystemException , PortableGroup::MemberAlreadyPresent , PortableGroup::TypeConflict) |
| virtual void | unregister_factory (const char *role, const PortableGroup::Location &location ACE_ENV_ARG_DECL) throw (CORBA::SystemException, PortableGroup::MemberNotFound) |
| virtual void | unregister_factory_by_role (const char *role ACE_ENV_ARG_DECL) throw (CORBA::SystemException) |
| virtual void | unregister_factory_by_location (const PortableGroup::Location &location ACE_ENV_ARG_DECL) throw (CORBA::SystemException) |
| virtual ::PortableGroup::FactoryInfos * | list_factories_by_role (const char *role, CORBA::String_out type_id ACE_ENV_ARG_DECL) throw (CORBA::SystemException) |
| virtual ::PortableGroup::FactoryInfos * | list_factories_by_location (const PortableGroup::Location &location ACE_ENV_ARG_DECL) throw (CORBA::SystemException) |
Private Types |
| typedef ACE_Null_Mutex | MapMutex |
typedef ACE_Hash_Map_Manager<
ACE_CString, RoleInfo *,
MapMutex > | RegistryType |
typedef ACE_Hash_Map_Entry<
ACE_CString, RoleInfo * > | RegistryType_Entry |
typedef ACE_Hash_Map_Iterator<
ACE_CString, RoleInfo *,
MapMutex > | RegistryType_Iterator |
| typedef ACE_Guard< TAO_SYNCH_MUTEX > | InternalGuard |
| enum | { LIVE,
DEACTIVATED,
GONE
} |
Private Member Functions |
| int | write_ior_file (const char *outputFile, const char *ior) |
Private Attributes |
| ACE_CString | identity_ |
| TAO_SYNCH_MUTEX | internals_ |
| CORBA::ORB_var | orb_ |
| PortableServer::POA_var | poa_ |
| PortableServer::ObjectId_var | object_id_ |
| CORBA::Object_var | this_obj_ |
| CORBA::String_var | ior_ |
| const char * | ior_output_file_ |
| const char * | ns_name_ |
| CosNaming::NamingContext_var | naming_context_ |
| CosNaming::Name | this_name_ |
| int | quit_on_idle_ |
| enum TAO::PG_FactoryRegistry:: { ... } | quit_state_ |
| int | linger_ |
| RegistryType | registry_ |