// INSERT YOUR LICENSE BOILER PLATE HERE #ifndef ADAPTORS_NINFG_RPC_ADAPTOR_HPP #define ADAPTORS_NINFG_RPC_ADAPTOR_HPP #include /////////////////////////////////////////////////////////////////////////////// namespace ninfg_rpc { struct rpc_adaptor : public saga::adaptor { typedef saga::impl::v1_0::op_info op_info; typedef saga::impl::v1_0::cpi_info cpi_info; typedef saga::impl::v1_0::preference_type preference_type; /** * This functions registers the adaptor with the factory * * @param factory the factory where the adaptor registers * its maker function and description table */ saga::impl::adaptor_selector::adaptor_info_list_type adaptor_register (saga::impl::session * s); std::string get_name (void) const { return BOOST_PP_STRINGIZE (SAGA_ADAPTOR_NAME); } }; } // namespace ninfg_rpc /////////////////////////////////////////////////////////////////////////////// #endif // ADAPTORS_NINFG_RPC_ADAPTOR_HPP