DISPLACE
1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
|
implements a CircularBuffer to be used in a boost::interprocess::managed_heap_memory More...
#include <ipcqueue.h>
Public Member Functions | |
IpcQueue () | |
~IpcQueue () | |
bool | push (IpcMessageTypes type, void *buffer, size_t len) |
IpcMessageTypes | pickOrWait (void *buffer, size_t maxlen, size_t *len) |
Static Public Member Functions | |
static void | forceCleanup () |
implements a CircularBuffer to be used in a boost::interprocess::managed_heap_memory
IpcQueue::IpcQueue | ( | ) |
IpcQueue::~IpcQueue | ( | ) |
|
static |
IpcMessageTypes IpcQueue::pickOrWait | ( | void * | buffer, |
size_t | maxlen, | ||
size_t * | len | ||
) |
bool IpcQueue::push | ( | IpcMessageTypes | type, |
void * | buffer, | ||
size_t | len | ||
) |