This is the atomic functor to be executed when creating or opening shared memory. More...
#include <message_queue.hpp>
Public Types | |
typedef boost::intrusive::pointer_traits < VoidPointer >::template rebind_pointer< char >::type | char_ptr |
typedef boost::intrusive::pointer_traits < char_ptr >::difference_type | difference_type |
typedef boost::make_unsigned < difference_type >::type | size_type |
Public Member Functions | |
msg_queue_initialization_func_t (size_type maxmsg=0, size_type maxmsgsize=0) | |
bool | operator() (void *address, size_type, bool created) |
std::size_t | get_min_size () const |
Public Attributes | |
const size_type | m_maxmsg |
const size_type | m_maxmsgsize |
This is the atomic functor to be executed when creating or opening shared memory.
Never throws
typedef boost::intrusive:: pointer_traits<VoidPointer>::template rebind_pointer<char>::type boost::interprocess::ipcdetail::msg_queue_initialization_func_t< VoidPointer >::char_ptr |
typedef boost::intrusive::pointer_traits<char_ptr>::difference_type boost::interprocess::ipcdetail::msg_queue_initialization_func_t< VoidPointer >::difference_type |
typedef boost::make_unsigned<difference_type>::type boost::interprocess::ipcdetail::msg_queue_initialization_func_t< VoidPointer >::size_type |
|
inline |
|
inline |
|
inline |
const size_type boost::interprocess::ipcdetail::msg_queue_initialization_func_t< VoidPointer >::m_maxmsg |
const size_type boost::interprocess::ipcdetail::msg_queue_initialization_func_t< VoidPointer >::m_maxmsgsize |