RMOL Logo Get Revenue Management Optimisation Library at SourceForge.net. Fast, secure and Free Open Source software downloads

FacBucket.hpp

Go to the documentation of this file.
00001 #ifndef __RMOL_FAC_FACBUCKET_HPP
00002 #define __RMOL_FAC_FACBUCKET_HPP
00003 
00004 // //////////////////////////////////////////////////////////////////////
00005 // Import section
00006 // //////////////////////////////////////////////////////////////////////
00007 // RMOL
00008 #include <rmol/factory/FacBomAbstract.hpp>
00009 
00010 namespace RMOL {
00011 
00013   class FldYieldRange;
00014   class Bucket;
00015   class Demand;
00016 
00018   class FacBucket : public FacBomAbstract {
00019   public:
00020 
00024     static FacBucket& instance();
00025 
00029     virtual ~FacBucket();
00030 
00034     Bucket& create (const FldYieldRange&);
00035     
00039     Bucket& create (const FldYieldRange&, Demand&);
00040 
00042     static void createDemandLink (Bucket&, Demand&);
00043 
00044   protected:
00048     FacBucket () {}
00049 
00050   private:
00052     static FacBucket* _instance;
00053 
00054   };
00055 }
00056 #endif // __RMOL_FAC_FACBUCKET_HPP
SourceForge Logo

Generated on Fri Jul 30 21:53:39 2010 for RMOL by Doxygen 1.6.1