7 #include <stdair/STDAIR_Service.hpp>
8 #include <stdair/service/Logger.hpp>
16 SIMCRS_ServiceContext::SIMCRS_ServiceContext ()
17 : _ownStdairService (false), _ownSEVMGRService (true),
22 SIMCRS_ServiceContext::SIMCRS_ServiceContext (
const SIMCRS_ServiceContext&)
23 : _ownStdairService (false), _ownSEVMGRService (true) {
27 SIMCRS_ServiceContext::SIMCRS_ServiceContext (
const CRSCode_T& iCRSCode)
28 : _ownSEVMGRService (true),_CRSCode (iCRSCode) {
32 SIMCRS_ServiceContext::~SIMCRS_ServiceContext() {
36 const std::string SIMCRS_ServiceContext::shortDisplay()
const {
37 std::ostringstream oStr;
38 oStr <<
"SIMCRS_ServiceContext [" << _CRSCode
39 <<
"] - Owns StdAir service: " << _ownStdairService;
44 const std::string SIMCRS_ServiceContext::display()
const {
45 std::ostringstream oStr;
46 oStr << shortDisplay();
51 const std::string SIMCRS_ServiceContext::describe()
const {
52 return shortDisplay();
56 void SIMCRS_ServiceContext::reset() {
63 _stdairService.reset();
66 _simfqtService.reset();
69 _airschedService.reset();
72 _airinvService.reset();
75 _sevmgrService.reset();