1 #ifndef __TVLSIM_CMD_SIMULATOR_HPP
2 #define __TVLSIM_CMD_SIMULATOR_HPP
8 #include <stdair/basic/DemandGenerationMethod.hpp>
9 #include <stdair/bom/EventStruct.hpp>
17 struct ProgressStatusSet;
23 class TRADEMGEN_Service;
26 class TRAVELCCM_Service;
34 class SimulationStatus;
42 static void simulate(SIMCRS::SIMCRS_Service&, TRADEMGEN::TRADEMGEN_Service&,
43 TRAVELCCM::TRAVELCCM_Service&,stdair::STDAIR_Service&,
45 const stdair::DemandGenerationMethod&);
48 static void updateStatus(
const TRADEMGEN::TRADEMGEN_Service&,
49 const stdair::EventType::EN_EventType&,
51 const double& iEventMeasure = 0);
54 static void playBookingRequest (SIMCRS::SIMCRS_Service&,
55 TRADEMGEN::TRADEMGEN_Service&,
56 TRAVELCCM::TRAVELCCM_Service&,
57 const stdair::EventStruct&,
58 stdair::ProgressStatusSet&,
60 const stdair::DemandGenerationMethod&);
63 static void playCancellation (SIMCRS::SIMCRS_Service&,
64 const stdair::EventStruct&);
67 static void playSnapshotEvent (SIMCRS::SIMCRS_Service&,
68 const stdair::EventStruct&);
72 static void playRMEvent (SIMCRS::SIMCRS_Service&,
73 const stdair::EventStruct&);
76 static const stdair::Count_T initialiseBreakPoint (
const TRADEMGEN::TRADEMGEN_Service&,
77 SEVMGR::SEVMGR_Service&,
78 const stdair::BreakPointList_T&,
90 #endif // __TVLSIM_CMD_SIMULATOR_HPP