00001 #ifndef __RMOL_FAC_FACRMOLSERVICECONTEXT_HPP 00002 #define __RMOL_FAC_FACRMOLSERVICECONTEXT_HPP 00003 00004 // ////////////////////////////////////////////////////////////////////// 00005 // Import section 00006 // ////////////////////////////////////////////////////////////////////// 00007 // RMOL 00008 #include <rmol/RMOL_Types.hpp> 00009 #include <rmol/factory/FacServiceAbstract.hpp> 00010 00011 namespace RMOL { 00012 00014 class RMOL_ServiceContext; 00015 00017 class FacRmolServiceContext : public FacServiceAbstract { 00018 public: 00019 00023 static FacRmolServiceContext& instance(); 00024 00028 virtual ~FacRmolServiceContext(); 00029 00033 RMOL_ServiceContext& create (); 00034 00038 RMOL_ServiceContext& create (const ResourceCapacity_T iResourceCapacity); 00039 00040 00041 protected: 00045 FacRmolServiceContext () {} 00046 00047 private: 00049 static FacRmolServiceContext* _instance; 00050 00051 }; 00052 } 00053 #endif // __RMOL_FAC_FACRMOLSERVICECONTEXT_HPP
Generated on Sat Jun 6 13:49:02 2009 for RMOL by Doxygen 1.5.7.1