1 #ifndef __SEVMGR_SVC_SEVMGRSERVICECONTEXT_HPP
2 #define __SEVMGR_SVC_SEVMGRSERVICECONTEXT_HPP
10 #include <stdair/stdair_basic_types.hpp>
11 #include <stdair/stdair_service_types.hpp>
12 #include <stdair/service/ServiceAbstract.hpp>
35 stdair::STDAIR_ServicePtr_T getSTDAIR_ServicePtr()
const {
36 return _stdairService;
42 stdair::STDAIR_Service& getSTDAIR_Service()
const {
43 assert (_stdairService != NULL);
44 return *_stdairService;
50 const bool getOwnStdairServiceFlag()
const {
51 return _ownStdairService;
60 void setSTDAIR_Service (stdair::STDAIR_ServicePtr_T ioSTDAIR_ServicePtr,
61 const bool iOwnStdairService) {
62 _stdairService = ioSTDAIR_ServicePtr;
63 _ownStdairService = iOwnStdairService;
72 const std::string shortDisplay()
const;
77 const std::string display()
const;
82 const std::string describe()
const;
90 SEVMGR_ServiceContext();
91 SEVMGR_ServiceContext (
const std::string& iServiceName);
95 SEVMGR_ServiceContext (
const SEVMGR_ServiceContext&);
100 ~SEVMGR_ServiceContext();
113 stdair::STDAIR_ServicePtr_T _stdairService;
118 bool _ownStdairService;
127 #endif // __SEVMGR_SVC_SEVMGRSERVICECONTEXT_HPP