SAGA Adaptor CPI v.1.0
service_description.cpp
Go to the documentation of this file.
00001 //  Copyright (c) 2005-2009 Hartmut Kaiser
00002 // 
00003 //  Distributed under the Boost Software License, Version 1.0. (See accompanying 
00004 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
00005 
00006 #include <saga/saga/task.hpp>
00007 #include <saga/saga/adaptors/metric.hpp>
00008 #include <saga/saga/packages/sd/adaptors/service_description.hpp>
00009 
00010 #include <saga/impl/sd.hpp>
00011 
00013 namespace saga { namespace adaptors {
00014 
00015     service_description::service_description (saga::url loc)
00016         : saga::sd::service_description (new saga::impl::service_description (), loc)
00017     {
00018         this->saga::object::get_impl()->init();
00019     }
00020 
00021     service_description::service_description (TR1::shared_ptr<saga::impl::service_description> impl)
00022       : saga::sd::service_description (saga::impl::runtime::get_object(
00023             TR1::static_pointer_cast<saga::impl::object>(impl)))
00024     {
00025         this->saga::object::get_impl()->init();
00026     }
00027 
00028     service_description::~service_description()
00029     {
00030     }
00031 
00033 }}    // namespace saga::adaptors
00034 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines