SAGA Adaptor CPI v.1.0
stream.hpp
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 #if !defined(SAGA_PACKAGES_STREAM_ADAPTORS_STREAM_HPP)
00007 #define SAGA_PACKAGES_STREAM_ADAPTORS_STREAM_HPP
00008 
00009 #include <saga/saga/util.hpp>
00010 #include <saga/saga/base.hpp>
00011 #include <saga/saga/session.hpp>
00012 #include <saga/saga/context.hpp>
00013 
00014 #include <saga/saga/stream.hpp>
00015 #include <saga/saga/adaptors/packages/stream_cpi_instance_data.hpp>
00016 
00018 namespace saga { namespace adaptors {
00019 
00020     class SAGA_STREAM_PACKAGE_EXPORT stream
00021     :   public saga::stream::stream
00022     {
00023     public:
00024         stream (saga::adaptors::v1_0::stream_cpi_instance_data* data, 
00025             saga::session const& s);
00026         stream (saga::adaptors::v1_0::stream_cpi_instance_data* data);
00027 
00028         ~stream();
00029     };
00030 
00031     std::string SAGA_STREAM_PACKAGE_EXPORT get_state_name(saga::stream::state s);
00032 
00034 }}    // namespace saga::adaptors
00035 
00036 #endif // !defined(SAGA_PACKAGES_STREAM_ADAPTORS_STREAM_HPP)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines