1 #ifndef __AIRTSP_SVC_AIRTSP_SERVICE_CONTEXT_HPP
2 #define __AIRTSP_SVC_AIRTSP_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 AIRTSP_ServiceContext();
93 AIRTSP_ServiceContext (
const AIRTSP_ServiceContext&);
103 ~AIRTSP_ServiceContext();
116 stdair::STDAIR_ServicePtr_T _stdairService;
121 bool _ownStdairService;
125 #endif // __AIRTSP_SVC_AIRTSP_SERVICE_CONTEXT_HPP