1 #ifndef __AIRSCHED_SVC_AIRSCHED_SERVICE_CONTEXT_HPP
2 #define __AIRSCHED_SVC_AIRSCHED_SERVICE_CONTEXT_HPP
10 #include <boost/shared_ptr.hpp>
12 #include <stdair/stdair_service_types.hpp>
13 #include <stdair/service/ServiceAbstract.hpp>
36 stdair::STDAIR_ServicePtr_T getSTDAIR_ServicePtr()
const {
37 return _stdairService;
43 stdair::STDAIR_Service& getSTDAIR_Service()
const;
48 const bool getOwnStdairServiceFlag()
const {
49 return _ownStdairService;
58 void setSTDAIR_Service (stdair::STDAIR_ServicePtr_T ioSTDAIR_ServicePtr,
59 const bool iOwnStdairService) {
60 _stdairService = ioSTDAIR_ServicePtr;
61 _ownStdairService = iOwnStdairService;
70 const std::string shortDisplay()
const;
75 const std::string display()
const;
80 const std::string describe()
const;
88 AIRSCHED_ServiceContext();
93 AIRSCHED_ServiceContext (
const AIRSCHED_ServiceContext&);
103 ~AIRSCHED_ServiceContext();
116 stdair::STDAIR_ServicePtr_T _stdairService;
121 bool _ownStdairService;
125 #endif // __AIRSCHED_SVC_AIRSCHED_SERVICE_CONTEXT_HPP