SimCRS Logo  1.01.8
C++ Simulated Travel-Oriented Distribution System Library
Loading...
Searching...
No Matches
DistributionManager.hpp
Go to the documentation of this file.
1#ifndef __SIMCRS_CMD_DISTRIBUTIONMANAGER_HPP
2#define __SIMCRS_CMD_DISTRIBUTIONMANAGER_HPP
3
4// //////////////////////////////////////////////////////////////////////
5// Import section
6// //////////////////////////////////////////////////////////////////////
7// StdAir
8#include <stdair/stdair_basic_types.hpp>
9#include <stdair/bom/TravelSolutionTypes.hpp>
10// Airinv
11#include <airinv/AIRINV_Types.hpp>
12// Simcrs
14
15// Forward declarations
16namespace stdair {
17 struct TravelSolutionStruct;
18 struct CancellationStruct;
19}
20
21namespace AIRINV {
22 class AIRINV_Master_Service;
23}
24
25namespace SIMCRS {
26
31 friend class SIMCRS_Service;
32 private:
34 static void calculateAvailability (AIRINV::AIRINV_Master_Service&,
35 stdair::TravelSolutionList_T&);
36
38 static bool sell (AIRINV::AIRINV_Master_Service&,
39 const stdair::TravelSolutionStruct&,
40 const stdair::NbOfSeats_T&);
41
43 static bool playCancellation (AIRINV::AIRINV_Master_Service&,
44 const stdair::CancellationStruct&);
45
46 private:
51 ~DistributionManager() {}
52 };
53
54}
55#endif // __SIMCRS_CMD_DISTRIBUTIONMANAGER_HPP
Command wrapping the travel distribution (CRS/GDS) process.
Forward declarations.