AirRAC Logo  0.2.1
C++ Simulated Revenue Accounting (RAC) System Library
YieldManager.hpp
Go to the documentation of this file.
00001 #ifndef __AIRRAC_CMD_YIELDMANAGER_HPP
00002 #define __AIRRAC_CMD_YIELDMANAGER_HPP
00003 
00004 // //////////////////////////////////////////////////////////////////////
00005 // Import section
00006 // //////////////////////////////////////////////////////////////////////
00007 // StdAir
00008 #include <stdair/stdair_basic_types.hpp>
00009 #include <stdair/bom/TravelSolutionTypes.hpp>
00010 
00012 namespace stdair {
00013   class BomRoot;
00014   class SegmentDate;
00015   class TimePeriod;
00016 }
00017 
00018 namespace AIRRAC {
00019 
00023   class YieldManager {
00027     friend class AIRRAC_Service;
00028 
00029   private:
00033     static void calculateYield (stdair::TravelSolutionList_T&,
00034                                 const stdair::BomRoot&);
00035 
00039     static void calculateYield (stdair::TravelSolutionStruct&,
00040                                 const stdair::BomRoot&);
00041 
00045     static void updateYields (const stdair::BomRoot&);
00046     static void updateYields (const stdair::SegmentDate&,
00047                               const stdair::TimePeriod&,
00048                               const stdair::AirlineCode_T&);
00049 
00050   private:
00054     YieldManager();
00055 
00059     YieldManager(const YieldManager&);
00060 
00064     ~YieldManager();
00065   };
00066 
00067 }
00068 #endif // __AIRRAC_CMD_YIELDMANAGER_HPP