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