#include <PG_FactoryRegistry.h>
Implement the PortableGroup::FactoryRegistry interface Note FactoryRegistry is not part of the OMG standard. It was added as part of the TAO implementation of Fault Tolerant CORBA
State of the quit process
Enumerator |
---|
LIVE |
|
DEACTIVATED |
|
GONE |
|
TAO::PG_FactoryRegistry::PG_FactoryRegistry |
( |
const char * |
name = "FactoryRegistry" | ) |
|
TAO::PG_FactoryRegistry::~PG_FactoryRegistry |
( |
void |
| ) |
|
|
virtual |
void TAO::PG_FactoryRegistry::_remove_ref |
( |
void |
| ) |
|
|
virtual |
int TAO::PG_FactoryRegistry::fini |
( |
void |
| ) |
|
Prepare to exit.
- Returns
- zero for success; nonzero is process return code for failure.
const char * TAO::PG_FactoryRegistry::identity |
( |
| ) |
const |
Identify this object.
- Returns
- a string to identify this object for logging/console message purposes.
int TAO::PG_FactoryRegistry::idle |
( |
int & |
result | ) |
|
Processing to happen when the ORB's event loop is idle.
- Parameters
-
result | is a place to return status to be returned by the process |
- Returns
- 0 to continue. 1 to quit.
Initialize this object.
- Parameters
-
orb | our ORB – we keep var to it. |
- Returns
- zero for success; nonzero is process return code for failure.
alternative init using designated poa
int TAO::PG_FactoryRegistry::parse_args |
( |
int |
argc, |
|
|
ACE_TCHAR * |
argv[] |
|
) |
| |
Parse command line arguments.
- Parameters
-
argc | traditional C argc |
argv | traditional C argv |
- Returns
- zero for success; nonzero is process return code for failure.
PortableGroup::FactoryRegistry_ptr 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::PG_FactoryRegistry::register_factory |
( |
const char * |
role, |
|
|
const char * |
type_id, |
|
|
const PortableGroup::FactoryInfo & |
factory_info |
|
) |
| |
|
virtual |
void TAO::PG_FactoryRegistry::unregister_factory_by_role |
( |
const char * |
role | ) |
|
|
virtual |
int TAO::PG_FactoryRegistry::write_ior_file |
( |
const ACE_TCHAR * |
outputFile, |
|
|
const char * |
ior |
|
) |
| |
|
private |
Write this factory's IOR to a file
A human-readable string to distinguish this from other Notifiers.
IOR of this object as assigned by poa.
const ACE_TCHAR* TAO::PG_FactoryRegistry::ior_output_file_ |
|
private |
A file to which the factory's IOR should be written.
int TAO::PG_FactoryRegistry::linger_ |
|
private |
CosNaming::NamingContext_var TAO::PG_FactoryRegistry::naming_context_ |
|
private |
A name to be used to register the factory with the name service.
The CORBA object id assigned to this object.
The POA used to activate this object.
int TAO::PG_FactoryRegistry::quit_on_idle_ |
|
private |
enum { ... } TAO::PG_FactoryRegistry::quit_state_ |
State of the quit process
CosNaming::Name TAO::PG_FactoryRegistry::this_name_ |
|
private |
This objects identity as a CORBA object.
The documentation for this class was generated from the following files: