SAGA Adaptor CPI v.1.0
|
00001 // Copyright (c) 2005-2006 Andre Merzky (andre@merzky.net) 00002 // Copyright (c) 2005-2006 Hartmut Kaiser 00003 // Copyright (c) 2005 Michel Zandstra [michelzandstra@gmail.com] 00004 // 00005 // Use, modification and distribution is subject to the Boost Software 00006 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 00007 // http://www.boost.org/LICENSE_1_0.txt) 00008 00009 #ifndef SAGA_SAGA_ADAPTORS_RPC_CPI_INSTANCE_DATA_HPP 00010 #define SAGA_SAGA_ADAPTORS_RPC_CPI_INSTANCE_DATA_HPP 00011 00012 #include <saga/saga/adaptors/config.hpp> 00013 #include <saga/saga/types.hpp> 00014 #include <saga/saga/adaptors/instance_data_base.hpp> 00015 #include <saga/saga/url.hpp> 00016 00018 namespace saga { namespace adaptors { namespace v1_0 00019 { 00020 00022 // Instance data held by the SAGA engine/package 00023 // This should be used as a base class when adding additional instance 00024 // data for an adaptor. 00025 struct rpc_cpi_instance_data 00026 : public adaptors::instance_data_base 00027 { 00028 saga::url funcname_; // name of rpc call 00029 00030 rpc_cpi_instance_data (saga::url funcname) 00031 : funcname_ (funcname) 00032 { 00033 } 00034 }; 00035 00036 } } } // namespace saga::adaptors::v1_0 00038 00039 #endif // SAGA_SAGA_ADAPTORS_RPC_CPI_INSTANCE_DATA_HPP 00040