Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Log_ServantFactory.h

Go to the documentation of this file.
00001 00030 #include <string> 00031 00032 #include "BP_CosLw_Log.h" 00033 #include "ServantFactory_Simple.h" 00034 #include "Producer_Impl.h" 00035 #include "LogConsumerServantFactory.h" 00036 #include "ConsumerAdmin_Impl.h" 00037 #include "LogAdministrator_Impl.h" 00038 00039 00066 class Log_ServantFactory : 00067 public virtual ServantFactory_Simple 00068 00069 { 00070 public: 00071 00077 Log_ServantFactory(LogConsumerServantFactory& logstate) 00078 throw(ServantFactory::ServantBuildException); 00079 00084 virtual ~Log_ServantFactory(); 00085 00086 protected: 00087 00097 virtual void build_servants( 00098 CORBA::ORB_ptr orb, 00099 PortableServer::POA_ptr poa 00100 ) throw (ServantFactory::ServantBuildException); 00101 00102 private: 00103 00104 LogConsumerServantFactory& _consumer_fact; 00105 LogProducer_Impl* _producer; 00106 ConsumerAdmin_Impl* _consumer_admin; 00107 LogAdministrator_Impl* _administrator; 00108 00109 std::string _ns_tree; 00110 std::string _log_id; 00111 00112 std::string _getNSTreeConf() 00113 throw(ServantFactory::ServantBuildException); 00114 std::string _getLogIdConf() 00115 throw(ServantFactory::ServantBuildException); 00116 00117 00118 };