#include <PG_FactoryRegistry.h>
typedef ACE_Guard<TAO_SYNCH_MUTEX> TAO::TAO::PG_FactoryRegistry::InternalGuard [private] |
typedef ACE_Null_Mutex TAO::TAO::PG_FactoryRegistry::MapMutex [private] |
typedef ACE_Hash_Map_Manager<ACE_CString, RoleInfo *, MapMutex> TAO::TAO::PG_FactoryRegistry::RegistryType [private] |
typedef ACE_Hash_Map_Entry<ACE_CString, RoleInfo *> TAO::TAO::PG_FactoryRegistry::RegistryType_Entry [private] |
typedef ACE_Hash_Map_Iterator<ACE_CString, RoleInfo *, MapMutex> TAO::TAO::PG_FactoryRegistry::RegistryType_Iterator [private] |
TAO::TAO::PG_FactoryRegistry::PG_FactoryRegistry | ( | const char * | name = "FactoryRegistry" |
) |
Constructor.
TAO::TAO::PG_FactoryRegistry::~PG_FactoryRegistry | ( | void | ) | [virtual] |
virtual Destructor
void TAO::TAO::PG_FactoryRegistry::_remove_ref | ( | void | ) | [virtual] |
int TAO::TAO::PG_FactoryRegistry::fini | ( | void | ) |
Prepare to exit.
const char * TAO::TAO::PG_FactoryRegistry::identity | ( | ) | const |
Identify this object.
int TAO::TAO::PG_FactoryRegistry::idle | ( | int & | result | ) |
Processing to happen when the ORB's event loop is idle.
result | is a place to return status to be returned by the process |
void TAO::TAO::PG_FactoryRegistry::init | ( | CORBA::ORB_ptr | orb, | |
PortableServer::POA_ptr | poa | |||
) |
alternative init using designated poa
int TAO::TAO::PG_FactoryRegistry::init | ( | CORBA::ORB_ptr | orb | ) |
Initialize this object.
orb | our ORB -- we keep var to it. |
PortableGroup::FactoryInfos * TAO::TAO::PG_FactoryRegistry::list_factories_by_location | ( | const PortableGroup::Location & | location | ) |
PortableGroup::FactoryInfos * TAO::TAO::PG_FactoryRegistry::list_factories_by_role | ( | const char * | role, | |
CORBA::String_out | type_id | |||
) |
int TAO::TAO::PG_FactoryRegistry::parse_args | ( | int | argc, | |
ACE_TCHAR * | argv[] | |||
) |
Parse command line arguments.
argc | traditional C argc | |
argv | traditional C argv |
PortableGroup::FactoryRegistry_ptr TAO::TAO::PG_FactoryRegistry::reference | ( | ) |
An object reference to the this object. Duplicated by the call so it may (and probably should) be assigned to a _var..
void TAO::TAO::PG_FactoryRegistry::register_factory | ( | const char * | role, | |
const char * | type_id, | |||
const PortableGroup::FactoryInfo & | factory_info | |||
) | [virtual] |
void TAO::TAO::PG_FactoryRegistry::unregister_factory | ( | const char * | role, | |
const PortableGroup::Location & | location | |||
) | [virtual] |
void TAO::TAO::PG_FactoryRegistry::unregister_factory_by_location | ( | const PortableGroup::Location & | location | ) | [virtual] |
void TAO::TAO::PG_FactoryRegistry::unregister_factory_by_role | ( | const char * | role | ) | [virtual] |
int TAO::TAO::PG_FactoryRegistry::write_ior_file | ( | const ACE_TCHAR * | outputFile, | |
const char * | ior | |||
) | [private] |
Write this factory's IOR to a file
ACE_CString TAO::TAO::PG_FactoryRegistry::identity_ [private] |
A human-readable string to distinguish this from other Notifiers.
TAO_SYNCH_MUTEX TAO::TAO::PG_FactoryRegistry::internals_ [private] |
Protect internal state. Mutex should be locked by corba methods, or by external (public) methods before calling implementation methods. Implementation methods should assume the mutex is locked if necessary.
CORBA::String_var TAO::TAO::PG_FactoryRegistry::ior_ [private] |
IOR of this object as assigned by poa.
const ACE_TCHAR* TAO::TAO::PG_FactoryRegistry::ior_output_file_ [private] |
A file to which the factory's IOR should be written.
int TAO::TAO::PG_FactoryRegistry::linger_ [private] |
CosNaming::NamingContext_var TAO::TAO::PG_FactoryRegistry::naming_context_ [private] |
ACE_CString TAO::TAO::PG_FactoryRegistry::ns_name_ [private] |
A name to be used to register the factory with the name service.
PortableServer::ObjectId_var TAO::TAO::PG_FactoryRegistry::object_id_ [private] |
The CORBA object id assigned to this object.
CORBA::ORB_var TAO::TAO::PG_FactoryRegistry::orb_ [private] |
The orb
PortableServer::POA_var TAO::TAO::PG_FactoryRegistry::poa_ [private] |
The POA used to activate this object.
int TAO::TAO::PG_FactoryRegistry::quit_on_idle_ [private] |
Quit on idle flag.
enum { ... } TAO::TAO::PG_FactoryRegistry::quit_state_ [private] |
State of the quit process
RegistryType TAO::TAO::PG_FactoryRegistry::registry_ [private] |
CosNaming::Name TAO::TAO::PG_FactoryRegistry::this_name_ [private] |
CORBA::Object_var TAO::TAO::PG_FactoryRegistry::this_obj_ [private] |
This objects identity as a CORBA object.