1 #ifndef __AIRRAC_SVC_AIRRACSERVICECONTEXT_HPP
2 #define __AIRRAC_SVC_AIRRACSERVICECONTEXT_HPP
10 #include <stdair/stdair_service_types.hpp>
11 #include <stdair/service/ServiceAbstract.hpp>
39 stdair::STDAIR_ServicePtr_T getSTDAIR_ServicePtr()
const {
40 return _stdairService;
46 stdair::STDAIR_Service& getSTDAIR_Service()
const {
47 assert (_stdairService != NULL);
48 return *_stdairService;
54 const bool getOwnStdairServiceFlag()
const {
55 return _ownStdairService;
64 void setSTDAIR_Service (stdair::STDAIR_ServicePtr_T ioSTDAIR_ServicePtr,
65 const bool iOwnStdairService) {
66 _stdairService = ioSTDAIR_ServicePtr;
67 _ownStdairService = iOwnStdairService;
76 const std::string shortDisplay()
const;
81 const std::string display()
const;
86 const std::string describe()
const;
94 AIRRAC_ServiceContext();
99 AIRRAC_ServiceContext (
const AIRRAC_ServiceContext&);
104 ~AIRRAC_ServiceContext();
117 stdair::STDAIR_ServicePtr_T _stdairService;
122 bool _ownStdairService;
126 #endif // __AIRRAC_SVC_AIRRACSERVICECONTEXT_HPP