fdhwlib  2.0.25
sharedMemory Class Reference

#include <sharedMemory.h>

List of all members.

Public Member Functions

Private Attributes


Detailed Description

Definition at line 28 of file sharedMemory.h.


Constructor & Destructor Documentation

sharedMemory::sharedMemory ( int  size,
const char *  dir = "~" 
)

Member Function Documentation

char* sharedMemory::getReference ( )
int sharedMemory::getSize ( )

Returns the size of the allocated shared memory segment.

The size can be different from the specified size in the constructor when a segment with the requested key was already existing

void sharedMemory::remove ( )

Member Data Documentation

int sharedMemory::shmid [private]

Definition at line 45 of file sharedMemory.h.

char* sharedMemory::shmptr [private]

Definition at line 46 of file sharedMemory.h.


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