SAGA Adaptor CPI v.1.0
cpr_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/cpr/adaptors/cpr_job_self.hpp>
00010 
00011 #include <saga/impl/cpr.hpp>
00012 
00014 namespace saga { namespace adaptors {
00015 
00016     cpr_self::cpr_self (std::string rm,
00017                         saga::cpr::description jd_start, 
00018                         saga::cpr::description jd_restart, 
00019                         saga::session const& s)
00020         : saga::cpr::self(new saga::impl::cpr_job(rm, jd_start, jd_restart, s, saga::object::CPRJobSelf))
00021     {
00022         this->saga::object::get_impl()->init();
00023     }
00024 
00025     cpr_self::cpr_self (std::string rm, 
00026                         saga::cpr::description jd_start,
00027                         saga::cpr::description jd_restart)
00028         : saga::cpr::self(new saga::impl::cpr_job(rm, jd_start, jd_restart, detail::get_the_session(), 
00029               saga::object::CPRJobSelf))
00030     {
00031         this->saga::object::get_impl()->init();
00032     }
00033 
00034     cpr_self::cpr_self (std::string rm, 
00035                         saga::cpr::description jd, 
00036                         saga::session const& s)
00037         : saga::cpr::self(new saga::impl::cpr_job(rm, jd, s, saga::object::CPRJobSelf))
00038     {
00039         this->saga::object::get_impl()->init();
00040     }
00041 
00042     cpr_self::cpr_self (std::string rm, 
00043                         saga::cpr::description jd)
00044         : saga::cpr::self(new saga::impl::cpr_job(rm, jd, detail::get_the_session(), 
00045               saga::object::CPRJobSelf))
00046     {
00047         this->saga::object::get_impl()->init();
00048     }
00049 
00050     cpr_self::cpr_self (std::string rm, 
00051                         std::string jobid, 
00052                         saga::session const& s)
00053         : saga::cpr::self(new saga::impl::cpr_job(rm, jobid, s,
00054                                                   saga::object::CPRJobSelf))
00055     {
00056         this->saga::object::get_impl()->init();
00057     }
00058 
00059     cpr_self::cpr_self (std::string rm, 
00060                         std::string jobid)
00061         : saga::cpr::self(new saga::impl::cpr_job(rm, jobid, detail::get_the_session(),
00062               saga::object::CPRJobSelf))
00063     {
00064         this->saga::object::get_impl()->init();
00065     }
00066 
00067     cpr_self::~cpr_self()
00068     {
00069     }
00070 
00072 }}    // namespace saga::adaptors
00073 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines