QSharedMemory

#include <QtCore/QSharedMemory>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QSharedMemory


Overview

Public Functions Index

QSharedMemory (QObject *parent=0)
QSharedMemory (const QString &key, QObject *parent=0)
~QSharedMemory ()
boolattach (AccessMode mode=ReadWrite)
const void *constData () const
boolcreate (int size, AccessMode mode=ReadWrite)
void *data ()
const void *data () const
booldetach ()
SharedMemoryErrorerror () const
QStringerrorString () const
boolisAttached () const
QStringkey () const
boollock ()
QStringnativeKey () const
voidsetKey (const QString &key)
voidsetNativeKey (const QString &key)
intsize () const
boolunlock ()

Public Types

AccessMode

ReadOnly
ReadWrite

SharedMemoryError

NoError
PermissionDenied
InvalidSize
KeyError
AlreadyExists
NotFound
LockError
OutOfResources
UnknownError

Public Functions

QSharedMemory (

QSharedMemory (

~QSharedMemory ()

Destructor.

bool attach (
  • AccessModemode)

const void * constData ()

bool create (
  • intsize,
  • AccessModemode )

void * data ()

const void * data ()

bool detach ()

SharedMemoryError error ()

QString errorString ()

bool isAttached ()

QString key ()

bool lock ()

QString nativeKey ()

void setKey (

void setNativeKey (

int size ()

bool unlock ()

Last modified: 2015-07-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus