Definition at line 57 of file qsharedmemory.h.
#include <qsharedmemory.h>

Public Types |
|
| enum | AccessMode { ReadOnly, ReadWrite } |
| enum | SharedMemoryError
{ NoError, PermissionDenied, InvalidSize, KeyError, AlreadyExists, NotFound, LockError, OutOfResources, UnknownError } |
Public Member Functions |
|
| QSharedMemory (QObject *parent=0) | |
| QSharedMemory (const QString &key, QObject *parent=0) | |
| ~QSharedMemory () | |
| void | setKey (const QString &key) |
| QString | key () const |
| bool | create (int size, AccessMode mode=ReadWrite) |
| int | size () const |
| bool | attach (AccessMode mode=ReadWrite) |
| bool | isAttached () const |
| bool | detach () |
| void * | data () |
| const void * | constData () const |
| const void * | data () const |
| bool | lock () |
| bool | unlock () |
| SharedMemoryError | error () const |
| QString | errorString () const |
| enum AccessMode |
Definition at line 63 of file qsharedmemory.h.
| enum SharedMemoryError |
| NoError | |
| PermissionDenied | |
| InvalidSize | |
| KeyError | |
| AlreadyExists | |
| NotFound | |
| LockError | |
| OutOfResources | |
| UnknownError |
Definition at line 69 of file qsharedmemory.h.
| QSharedMemory | ( | QObject * | parent = 0 |
) |
| QSharedMemory | ( | const QString & | key, |
| QObject * | parent = 0 |
||
| ) |
| ~QSharedMemory | ( | ) |
| void setKey | ( | const QString & | key | ) |
| QString key | ( | ) | const |
| bool create | ( | int | size, |
| AccessMode | mode =
ReadWrite |
||
| ) |
| int size | ( | ) | const |
| bool attach | ( | AccessMode | mode = ReadWrite |
) |
| bool isAttached | ( | ) | const |
| bool detach | ( | ) |
| void* data | ( | ) |
| const void* constData | ( | ) | const |
| const void* data | ( | ) | const |
| bool lock | ( | ) |
| bool unlock | ( | ) |
| SharedMemoryError error | ( | ) | const |
| QString errorString | ( | ) | const |