A basic user memory named object creation class. More...
#include <managed_external_buffer.hpp>
Public Types | |
typedef base_t::size_type | size_type |
Public Member Functions | |
basic_managed_external_buffer () | |
Default constructor. More... | |
basic_managed_external_buffer (create_only_t, void *addr, size_type size) | |
Creates and places the segment manager. This can throw. More... | |
basic_managed_external_buffer (open_only_t, void *addr, size_type size) | |
Creates and places the segment manager. This can throw. More... | |
basic_managed_external_buffer (BOOST_RV_REF(basic_managed_external_buffer) moved) | |
Moves the ownership of "moved"'s managed memory to *this. Does not throw. More... | |
basic_managed_external_buffer & | operator= (BOOST_RV_REF(basic_managed_external_buffer) moved) |
Moves the ownership of "moved"'s managed memory to *this. Does not throw. More... | |
void | grow (size_type extra_bytes) |
void | swap (basic_managed_external_buffer &other) |
Swaps the ownership of the managed heap memories managed by *this and other. More... | |
A basic user memory named object creation class.
Inherits all basic functionality from basic_managed_memory_impl<CharType, AllocationAlgorithm, IndexType>
typedef base_t::size_type boost::interprocess::basic_managed_external_buffer< CharType, AllocationAlgorithm, IndexType >::size_type |
|
inline |
Default constructor.
Does nothing. Useful in combination with move semantics
|
inline |
Creates and places the segment manager. This can throw.
References BOOST_ASSERT.
|
inline |
Creates and places the segment manager. This can throw.
References BOOST_ASSERT.
|
inline |
Moves the ownership of "moved"'s managed memory to *this. Does not throw.
References boost::interprocess::basic_managed_external_buffer< CharType, AllocationAlgorithm, IndexType >::swap().
|
inline |
|
inline |
Moves the ownership of "moved"'s managed memory to *this. Does not throw.
References boost::move(), and boost::interprocess::basic_managed_external_buffer< CharType, AllocationAlgorithm, IndexType >::swap().
|
inline |
Swaps the ownership of the managed heap memories managed by *this and other.
Never throws.
References boost::swap.
Referenced by boost::interprocess::basic_managed_external_buffer< CharType, AllocationAlgorithm, IndexType >::basic_managed_external_buffer(), and boost::interprocess::basic_managed_external_buffer< CharType, AllocationAlgorithm, IndexType >::operator=().