8 #include <stdair/STDAIR_Service.hpp>
16 RMOL_ServiceContext::RMOL_ServiceContext() : _ownStdairService (false) {
20 RMOL_ServiceContext::RMOL_ServiceContext (
const RMOL_ServiceContext&) {
25 RMOL_ServiceContext::~RMOL_ServiceContext() {
29 stdair::STDAIR_Service& RMOL_ServiceContext::getSTDAIR_Service()
const {
30 assert (_stdairService != NULL);
31 return *_stdairService;
35 const std::string RMOL_ServiceContext::shortDisplay()
const {
36 std::ostringstream oStr;
37 oStr <<
"RMOL_ServiceContext -- Owns StdAir service: " << _ownStdairService;
42 const std::string RMOL_ServiceContext::display()
const {
43 std::ostringstream oStr;
44 oStr << shortDisplay();
49 const std::string RMOL_ServiceContext::describe()
const {
50 return shortDisplay();
54 void RMOL_ServiceContext::reset() {
61 _stdairService.reset();