Fraxinus
17.12-rc4
An IGT application
|
Shared Memory Client. More...
#include <cxSharedMemory.h>
Public Member Functions | |
SharedMemoryClient (QObject *parent=0) | |
~SharedMemoryClient () | |
bool | attach (const QString &key) |
bool | detach () |
int | size () |
int | buffers () |
QString | key () |
const void * | buffer (bool onlyNew=false) |
Grab and lock a read buffer. More... | |
void | release () |
Release our read buffer. More... | |
const void * | isNew () |
Return new buffer only if new is available, otherwise return NULL. More... | |
QDateTime | timestamp () |
cx::SharedMemoryClient::SharedMemoryClient | ( | QObject * | parent = 0 | ) |
Definition at line 149 of file cxSharedMemory.cpp.
cx::SharedMemoryClient::~SharedMemoryClient | ( | ) |
Definition at line 220 of file cxSharedMemory.cpp.
bool cx::SharedMemoryClient::attach | ( | const QString & | key | ) |
Definition at line 156 of file cxSharedMemory.cpp.
const void * cx::SharedMemoryClient::buffer | ( | bool | onlyNew = false | ) |
Grab and lock a read buffer.
Definition at line 174 of file cxSharedMemory.cpp.
|
inline |
Definition at line 120 of file cxSharedMemory.h.
bool cx::SharedMemoryClient::detach | ( | ) |
Definition at line 169 of file cxSharedMemory.cpp.
const void * cx::SharedMemoryClient::isNew | ( | ) |
Return new buffer only if new is available, otherwise return NULL.
Definition at line 200 of file cxSharedMemory.cpp.
|
inline |
Definition at line 121 of file cxSharedMemory.h.
void cx::SharedMemoryClient::release | ( | ) |
Release our read buffer.
Definition at line 205 of file cxSharedMemory.cpp.
|
inline |
Definition at line 119 of file cxSharedMemory.h.
|
inline |
Definition at line 125 of file cxSharedMemory.h.