libtool
Definition at line 39 of file FactoryLibrary_ltdl.hh.
Public Member Functions | ||||||||||
virtual | ~FactoryLibrary_ltdl (void) | |||||||||
Deconstruct a FactoryLibrary_ltdl object. | ||||||||||
virtual char * | Name (void) throw (CORBA::SystemException) | |||||||||
| ||||||||||
virtual CORBA::Long | Hey (const edu::utah::pces::ArgV &args, CORBA::String_out o, CORBA::String_out e) throw (CORBA::SystemException) | |||||||||
| ||||||||||
virtual PortableServer::POA_ptr | _default_POA (void) throw (CORBA::SystemException) | |||||||||
Static Public Member Functions | ||||||||||
edu::utah::pces::FactoryLibrary_ptr | OpenLibrary (PortableServer::POA_ptr poa, const char *name) throw (edu::utah::pces::NoSuchLibrary, CORBA::SystemException) | |||||||||
Open a library with the given name. | ||||||||||
void | Shutdown (void) | |||||||||
Shutdown the library interface. | ||||||||||
Protected Member Functions | ||||||||||
FactoryLibrary_ltdl (PortableServer::POA_ptr poa, const char *name, lt_dlhandle dlh, factory_method_t fm) | ||||||||||
Construct a FactoryLibrary_ltdl object with the given arguments. | ||||||||||
Private Member Functions | ||||||||||
FactoryLibrary_ltdl (const char *name, lt_dlhandle library, factory_method_t fm) | ||||||||||
Construct a FactoryLibrary_ltdl object with the given values. | ||||||||||
Private Attributes | ||||||||||
PortableServer::POA_var | fl_POA | |||||||||
The POA this object was activated under and any new objects should be activated under. | ||||||||||
CORBA::String_var | fl_Name | |||||||||
The name of the library being managed by this object. | ||||||||||
unsigned int | fl_OpenCount | |||||||||
The number of times this library has been opened. | ||||||||||
lt_dlhandle | fl_Library | |||||||||
Libtool handle on the shared library. | ||||||||||
factory_method_t | fl_Method | |||||||||
Cached reference to the factory_method_t in the shared library. | ||||||||||
Static Private Attributes | ||||||||||
map< string, FactoryLibrary_ltdl * > | open_libraries | |||||||||
Map of library names to FactoryLibrary_ltdl objects. | ||||||||||
CORBA::ORB_var | orb | |||||||||
Cached reference to the ORB object. |
|
Construct a FactoryLibrary_ltdl object with the given arguments.
Definition at line 40 of file FactoryLibrary_ltdl.cc. References require. |
|
Construct a FactoryLibrary_ltdl object with the given values.
|
|
Definition at line 84 of file FactoryLibrary_ltdl.hh. |
|
Open a library with the given name.
Definition at line 112 of file FactoryLibrary_ltdl.cc. References __XSTRING, FACTORY_METHOD_SYMBOL, factory_method_t, fl_OpenCount, open_libraries, orb, and require. Referenced by AllupImpl::OpenLibrary(). |