////////////////////////////////////////////////////////////////////////////// // // (C) Copyright Ion Gaztanaga 2005-2011. Distributed under the Boost // Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // See http://www.boost.org/libs/interprocess for documentation. // ////////////////////////////////////////////////////////////////////////////// #ifndef BOOST_INTERPROCESS_MULTI_SEGMENT_SERVICES_HPP #define BOOST_INTERPROCESS_MULTI_SEGMENT_SERVICES_HPP #if (defined _MSC_VER) && (_MSC_VER >= 1200) # pragma once #endif #include #include /*!\file Describes a named shared memory allocation user class. */ namespace boost { namespace interprocess { class multi_segment_services { public: virtual std::pair create_new_segment(std::size_t mem) = 0; virtual bool update_segments () = 0; virtual ~multi_segment_services() = 0; }; inline multi_segment_services::~multi_segment_services() {} }} //namespace boost { namespace interprocess { #include #endif //#ifdef BOOST_INTERPROCESS_MULTI_SEGMENT_SERVICES_HPP