SAGA Adaptor CPI v.1.0
stream_server_cpi_instance_data.hpp
Go to the documentation of this file.
00001 //  Copyright (c) 2005-2007 Andre Merzky (andre@merzky.net)
00002 //  Copyright (c) 2005-2009 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_STREAMSERVICE_CPI_ENTRY_INSTANCE_DATA_HPP
00010 #define SAGA_SAGA_ADAPTORS_STREAMSERVICE_CPI_ENTRY_INSTANCE_DATA_HPP
00011 
00012 #include <saga/saga/packages/stream/stream_server.hpp>
00013 #include <saga/saga/adaptors/config.hpp>
00014 #include <saga/saga/types.hpp>
00015 #include <saga/saga/adaptors/instance_data_base.hpp>
00016 #include <saga/saga/url.hpp>
00017 
00019 namespace saga { namespace adaptors { namespace v1_0  {
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 stream_server_cpi_instance_data 
00026       : public adaptors::instance_data_base
00027   {
00028     saga::url location_; // location of the server endpoint
00029 
00030     stream_server_cpi_instance_data (saga::url location)
00031         : location_ (location)
00032     {
00033     }
00034   };
00035   
00037 }}}   // namespace saga::adaptors::v1_0
00038 
00039 #endif // SAGA_SAGA_ADAPTORS_STREAMSERVICE_CPI_ENTRY_INSTANCE_DATA_HPP
00040 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines