27 #include <boost/interprocess/containers/list.hpp> 28 #include <boost/interprocess/managed_shared_memory.hpp> 29 #include <boost/interprocess/allocators/allocator.hpp> 30 #include <boost/interprocess/sync/interprocess_mutex.hpp> 31 #include <boost/interprocess/sync/interprocess_condition.hpp> 32 #include <boost/interprocess/containers/list.hpp> 33 #include <boost/interprocess/containers/string.hpp> 48 static void forceCleanup();
52 size_t space_available()
const;
53 bool push (
char byte);
56 struct MessageManager {
57 boost::interprocess::interprocess_mutex mutex;
58 boost::interprocess::interprocess_condition cond_notempty;
59 boost::interprocess::interprocess_condition cond_notfull;
61 static const size_t BufferSize = 512*1024;
63 char buffer[BufferSize];
79 static const size_t SharedMemorySize;
80 static const char *SharedListName;
82 boost::interprocess::shared_memory_object shmobj;
83 boost::interprocess::mapped_region mapreg;
87 MessageManager *mManager;
IpcMessageTypes
Definition: ipcmsgtypes.h:47
implements a CircularBuffer to be used in a boost::interprocess::managed_heap_memory
Definition: ipcqueue.h:39
#define COMMONSSHARED_EXPORT
Definition: commons_global.h:23