libtool
Definition at line 37 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) | ||||||
| |||||||
Static Public Member Functions | |||||||
edu::utah::pces::FactoryLibrary_ptr | OpenLibrary (const char *name) throw (edu::utah::pces::NoSuchLibrary, CORBA::SystemException) | ||||||
Open a library with the given name. | |||||||
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 | |||||||
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 values.
Definition at line 40 of file FactoryLibrary_ltdl.cc. References factory_method_t, fl_Library, fl_Method, fl_Name, fl_OpenCount, and require. |
|
Open a library with the given name.
Definition at line 109 of file FactoryLibrary_ltdl.cc. References __XSTRING, FACTORY_METHOD_SYMBOL, factory_method_t, fl_OpenCount, open_libraries, orb, and require. Referenced by AllupImpl::OpenLibrary(). |