Mobile API Reference  MicroStrategy 2019
MMultiProcess Namespace Reference

Classes

class  SharedMemory
 
class  SharedMemoryException
 
class  SharedMemoryID
 

Typedefs

typedef unsigned Int32 shm_size_t
 
typedef MBase::StrongPtr< SharedMemory, MBase::DeleteOperatorGeneric< SharedMemory > > SharedMemoryPtr
 

Enumerations

enum  SHM_ACCESS_MODE { SHM_READ, SHM_WRITE, SHM_DUMMY }
 Shared memory is created in either read or write mode. More...
 

Functions

DLL_SHAREDMEMORY_EXIM SharedMemoryCreateSharedMemory (const SharedMemoryID &iSharedMemId, SHM_ACCESS_MODE iMode=SHM_DUMMY)
 

Typedef Documentation

◆ SharedMemoryPtr

◆ shm_size_t

typedef unsigned Int32 MMultiProcess::shm_size_t

Enumeration Type Documentation

◆ SHM_ACCESS_MODE

Shared memory is created in either read or write mode.

Enumerator
SHM_READ 
SHM_WRITE 
SHM_DUMMY 

Function Documentation

◆ CreateSharedMemory()

DLL_SHAREDMEMORY_EXIM SharedMemory* MMultiProcess::CreateSharedMemory ( const SharedMemoryID iSharedMemId,
SHM_ACCESS_MODE  iMode = SHM_DUMMY 
)

Factory method to create an SharedMemory instance Attach my process to the shared memory specified by id

Exceptions
SharedMemoryException
Parameters
iSharedMemIdis shared memory segment identifier
iModecan be SHM_READ, SHM_WRITE or SHM_DUMMY (
Returns
pointer to a SharedMemory object, NULL if fail