/home/serif/byzantine_generals/src/sharedmemtypes.h File Reference

Contains the types used as part of shared memory access. More...

#include <boost/interprocess/managed_shared_memory.hpp>
#include <boost/interprocess/containers/vector.hpp>
#include <boost/interprocess/containers/string.hpp>
#include <boost/interprocess/allocators/allocator.hpp>
#include <boost/interprocess/containers/list.hpp>
#include <boost/interprocess/containers/set.hpp>
#include <functional>
Include dependency graph for sharedmemtypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef
boost::interprocess::managed_shared_memory::segment_manager 
SharedMemorySegmentManager
 Convenience typedef to Boost's Interprocess shared memory segment.
typedef
boost::interprocess::allocator
< char,
SharedMemorySegmentManager
SharedMemoryCharAllocator
 A Boost Interprocess character allocator which allocates using SharedMemorySegmentManager.
typedef
boost::interprocess::allocator
< unsigned int,
SharedMemorySegmentManager
SharedMemoryUIntAllocator
 A Boost Interprocess unsigned int allocator which allocates using SharedMemorySegmentManager.
typedef
boost::interprocess::basic_string
< char, std::char_traits< char >
, SharedMemoryCharAllocator
SharedMemoryString
 A Boost Interprocess basic_string which allocates characters using SharedMemoryCharAllocator.
typedef
boost::interprocess::allocator
< Mailbox
*, SharedMemorySegmentManager
SharedMemoryMailboxAllocator
 A Boost Interprocess Mailbox allocator which allocates using SharedMemorySegmentManager.
typedef
boost::interprocess::vector
< Mailbox
*, SharedMemoryMailboxAllocator
SharedMemoryMailboxVector
 A Boost Interprocess Mailbox vector which allocates using SharedMemoryMailboxAllocator.
typedef
boost::interprocess::allocator
< Order,
SharedMemorySegmentManager
OrderAllocator
 A Boost Interprocess Order allocator which allocates using SharedMemorySegmentManager.
typedef
boost::interprocess::list
< Order, OrderAllocator
OrderList
 A Boost Interprocess Order list which allocates using OrderAllocator.
typedef
boost::interprocess::list
< unsigned int,
SharedMemoryUIntAllocator
SharedMemoryUIntList
 A Boost Interprocess unsigned int list which allocates using SharedMemoryUIntAllocator.
typedef
boost::interprocess::set
< unsigned int, std::less
< unsigned int >
, SharedMemoryUIntAllocator
SharedMemoryUIntSet
 A Boost Interprocess unsigned int set which allocates using SharedMemoryUIntAllocator.

Detailed Description

Contains the types used as part of shared memory access.

Author:
Reshen Amin <reshen@zensrc.com>
License:
Byzantine Generals Problem Coding Sample.
Copyright (C) 2010 Reshen Amin.
See License for details.

Definition in file sharedmemtypes.h.


Typedef Documentation

typedef boost::interprocess::allocator<Order, SharedMemorySegmentManager> OrderAllocator

A Boost Interprocess Order allocator which allocates using SharedMemorySegmentManager.

Definition at line 72 of file sharedmemtypes.h.

typedef boost::interprocess::list<Order, OrderAllocator> OrderList

A Boost Interprocess Order list which allocates using OrderAllocator.

Definition at line 86 of file sharedmemtypes.h.

typedef boost::interprocess::allocator<char, SharedMemorySegmentManager> SharedMemoryCharAllocator

A Boost Interprocess character allocator which allocates using SharedMemorySegmentManager.

Definition at line 35 of file sharedmemtypes.h.

typedef boost::interprocess::allocator<Mailbox *, SharedMemorySegmentManager> SharedMemoryMailboxAllocator

A Boost Interprocess Mailbox allocator which allocates using SharedMemorySegmentManager.

Definition at line 54 of file sharedmemtypes.h.

typedef boost::interprocess::vector<Mailbox *, SharedMemoryMailboxAllocator> SharedMemoryMailboxVector

A Boost Interprocess Mailbox vector which allocates using SharedMemoryMailboxAllocator.

Definition at line 68 of file sharedmemtypes.h.

typedef boost::interprocess::managed_shared_memory::segment_manager SharedMemorySegmentManager

Convenience typedef to Boost's Interprocess shared memory segment.

Definition at line 28 of file sharedmemtypes.h.

typedef boost::interprocess::basic_string<char, std::char_traits<char>, SharedMemoryCharAllocator> SharedMemoryString

A Boost Interprocess basic_string which allocates characters using SharedMemoryCharAllocator.

Definition at line 51 of file sharedmemtypes.h.

typedef boost::interprocess::allocator<unsigned int, SharedMemorySegmentManager> SharedMemoryUIntAllocator

A Boost Interprocess unsigned int allocator which allocates using SharedMemorySegmentManager.

Definition at line 42 of file sharedmemtypes.h.

typedef boost::interprocess::list<unsigned int, SharedMemoryUIntAllocator> SharedMemoryUIntList

A Boost Interprocess unsigned int list which allocates using SharedMemoryUIntAllocator.

Definition at line 93 of file sharedmemtypes.h.

typedef boost::interprocess::set<unsigned int, std::less<unsigned int>, SharedMemoryUIntAllocator> SharedMemoryUIntSet

A Boost Interprocess unsigned int set which allocates using SharedMemoryUIntAllocator.

Definition at line 102 of file sharedmemtypes.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator
Generated on Mon May 31 15:35:43 2010 for Byzantine Generals Coding Sample by  doxygen 1.6.3