00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 #ifndef _allup_impl_hh
00019 #define _allup_impl_hh
00020 
00021 #include <map>
00022 #include <string>
00023 
00024 using namespace std;
00025 
00026 #include "AllupS.h"
00027 
00028 
00029 
00030 
00031 
00032 
00033 class AllupImpl : public virtual POA_edu::utah::pces::Allup
00034 {
00035 
00036 public:
00037 
00038 
00039 
00040 
00041 
00042 
00043     AllupImpl(PortableServer::POA_ptr my_poa);
00044 
00045 
00046 
00047 
00048     virtual ~AllupImpl(void);
00049 
00050 
00051     virtual edu::utah::pces::FactoryLibrary_ptr OpenLibrary(const char *name)
00052         throw (edu::utah::pces::NoSuchLibrary,
00053                CORBA::SystemException);
00054 
00055 
00056     virtual edu::utah::pces::FactoryLibraryList *Libraries(void)
00057         throw (CORBA::SystemException);
00058 
00059 
00060     virtual void Shutdown(void)
00061         throw (CORBA::SystemException);
00062 
00063 
00064 
00065 
00066 
00067     virtual PortableServer::POA_ptr _default_POA(void)
00068         throw (CORBA::SystemException)
00069     {
00070         throw CORBA::BAD_INV_ORDER();
00071     };
00072 
00073 private:
00074 
00075 
00076 
00077 
00078     typedef map<string, edu::utah::pces::FactoryLibrary_var> library_map_t;
00079 
00080 
00081 
00082 
00083     library_map_t ai_Libraries;
00084 
00085 
00086 
00087 
00088 
00089     PortableServer::POA_var ai_POA;
00090     
00091 };
00092 
00093 #endif