SAGA Adaptor CPI v.1.0
job_self.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/attribute.hpp>
00008 #include <saga/saga/adaptors/metric.hpp>
00009 #include <saga/saga/packages/job/adaptors/job_self.hpp>
00010 
00011 #include <saga/impl/job.hpp>
00012 
00014 namespace saga { namespace adaptors {
00015 
00016     self::self (saga::url rm, saga::job::description jd, 
00017               saga::session const& s)
00018         : saga::job::self(new saga::impl::job(rm, jd, s, saga::object::JobSelf))
00019     {
00020         this->saga::object::get_impl()->init();
00021     }
00022 
00023     self::self (saga::url rm, saga::job::description jd)
00024         : saga::job::self(new saga::impl::job(rm, jd, detail::get_the_session(), 
00025               saga::object::JobSelf))
00026     {
00027         this->saga::object::get_impl()->init();
00028     }
00029 
00030     self::self (saga::url rm, std::string jobid, saga::session const& s)
00031         : saga::job::self(new saga::impl::job(rm, jobid, s, saga::object::JobSelf))
00032     {
00033         this->saga::object::get_impl()->init();
00034     }
00035 
00036     self::self (saga::url rm, std::string jobid)
00037         : saga::job::self(new saga::impl::job(rm, jobid, detail::get_the_session(),
00038               saga::object::JobSelf))
00039     {
00040         this->saga::object::get_impl()->init();
00041     }
00042 
00043     self::~self()
00044     {
00045     }
00046 
00048 }}    // namespace saga::adaptors
00049 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines