AirSched Logo  0.1.4
C++ Simulated Airline Schedule Manager Library
Simulator.cpp
Go to the documentation of this file.
00001 // //////////////////////////////////////////////////////////////////////
00002 // Import section
00003 // //////////////////////////////////////////////////////////////////////
00004 // STL
00005 #include <cassert>
00006 #include <string>
00007 #include <sstream>
00008 // StdAir
00009 #include <stdair/basic/BasConst_General.hpp>
00010 #include <stdair/bom/BomManager.hpp>
00011 #include <stdair/bom/BookingRequestStruct.hpp>
00012 #include <stdair/service/Logger.hpp>
00013 // AIRSCHED
00014 #include <airsched/command/Simulator.hpp>
00015 
00016 namespace AIRSCHED {
00017 
00018   // //////////////////////////////////////////////////////////////////////
00019   void Simulator::simulate (stdair::BomRoot& ioBomRoot) {
00020 
00021     // Delegate to the dedicated StdAir utility class
00022     // std::ostringstream oStream;
00023     // stdair::BomManager::display (oStream, ioBomRoot);
00024 
00025     // DEBUG
00026     // STDAIR_LOG_DEBUG ("BOM Tree: ");
00027     // STDAIR_LOG_DEBUG (oStream.str());
00028 
00029     // TODO: do not hardcode the booking request (get it from the
00030     // demand generation module instead).
00031     // stdair::BookingRequestStruct ("LHR", "JFK", stdair::Date_T (2009, 01, 16),
00032     //                               stdair::DEFAULT_DATETIME, "Y", 1);
00033   }
00034 
00035 }