8 #include <stdair/STDAIR_Service.hpp>
16 AIRSCHED_ServiceContext::AIRSCHED_ServiceContext()
17 : _ownStdairService (false) {
21 AIRSCHED_ServiceContext::
22 AIRSCHED_ServiceContext (
const AIRSCHED_ServiceContext&) {
27 AIRSCHED_ServiceContext::~AIRSCHED_ServiceContext() {
31 stdair::STDAIR_Service& AIRSCHED_ServiceContext::getSTDAIR_Service()
const {
32 assert (_stdairService != NULL);
33 return *_stdairService;
37 const std::string AIRSCHED_ServiceContext::shortDisplay()
const {
38 std::ostringstream oStr;
39 oStr <<
"AIRSCHED_ServiceContext -- Owns StdAir service: "
45 const std::string AIRSCHED_ServiceContext::display()
const {
46 std::ostringstream oStr;
47 oStr << shortDisplay();
52 const std::string AIRSCHED_ServiceContext::describe()
const {
53 return shortDisplay();
57 void AIRSCHED_ServiceContext::reset() {
64 _stdairService.reset();