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>
19 template <
typename BOM>
class FacBom;
44 stdair::STDAIR_ServicePtr_T getSTDAIR_ServicePtr()
const {
45 return _stdairService;
51 stdair::STDAIR_Service& getSTDAIR_Service()
const {
52 assert (_stdairService != NULL);
53 return *_stdairService;
59 const bool getOwnStdairServiceFlag()
const {
60 return _ownStdairService;
66 EventQueue& getEventQueue()
const;
74 void setSTDAIR_Service (stdair::STDAIR_ServicePtr_T ioSTDAIR_ServicePtr,
75 const bool iOwnStdairService) {
76 _stdairService = ioSTDAIR_ServicePtr;
77 _ownStdairService = iOwnStdairService;
86 const std::string shortDisplay()
const;
91 const std::string display()
const;
96 const std::string describe()
const;
104 SEVMGR_ServiceContext();
108 SEVMGR_ServiceContext (
const SEVMGR_ServiceContext&);
113 ~SEVMGR_ServiceContext();
135 void initEventQueue();
143 stdair::STDAIR_ServicePtr_T _stdairService;
148 bool _ownStdairService;
156 EventQueue* _eventQueue;
160 #endif // __SEVMGR_SVC_SEVMGRSERVICECONTEXT_HPP