Fraxinus  16.5.0-fx-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::SharedMemoryClient Class Reference

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 ()
 

Detailed Description

Shared Memory Client.

See Also
SharedMemoryServer

Definition at line 105 of file cxSharedMemory.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

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.

int cx::SharedMemoryClient::buffers ( )
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.

QString cx::SharedMemoryClient::key ( )
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.

int cx::SharedMemoryClient::size ( )
inline

Definition at line 119 of file cxSharedMemory.h.

QDateTime cx::SharedMemoryClient::timestamp ( )
inline

Definition at line 125 of file cxSharedMemory.h.


The documentation for this class was generated from the following files: