NorMIT-nav
2023.01.05-dev+develop.0da12
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 128 of file cxSharedMemory.cpp.
cx::SharedMemoryClient::~SharedMemoryClient | ( | ) |
Definition at line 199 of file cxSharedMemory.cpp.
bool cx::SharedMemoryClient::attach | ( | const QString & | key | ) |
Definition at line 135 of file cxSharedMemory.cpp.
const void * cx::SharedMemoryClient::buffer | ( | bool | onlyNew = false | ) |
Grab and lock a read buffer.
Definition at line 153 of file cxSharedMemory.cpp.
|
inline |
Definition at line 99 of file cxSharedMemory.h.
bool cx::SharedMemoryClient::detach | ( | ) |
Definition at line 148 of file cxSharedMemory.cpp.
const void * cx::SharedMemoryClient::isNew | ( | ) |
Return new buffer only if new is available, otherwise return NULL.
Definition at line 179 of file cxSharedMemory.cpp.
|
inline |
Definition at line 100 of file cxSharedMemory.h.
void cx::SharedMemoryClient::release | ( | ) |
Release our read buffer.
Definition at line 184 of file cxSharedMemory.cpp.
|
inline |
Definition at line 98 of file cxSharedMemory.h.
|
inline |
Definition at line 104 of file cxSharedMemory.h.