SHM
Shared-memorybasedHandy-communicationManager
Public Member Functions | Protected Attributes | List of all members
irlab::shm::SharedMemory Class Referenceabstract

Class that abstracts the method of accessing shared memory. More...

#include <shm_base.hpp>

Inheritance diagram for irlab::shm::SharedMemory:
irlab::shm::SharedMemoryPosix

Public Member Functions

 SharedMemory (int oflag, PERM perm)
 
virtual bool connect (size_t size=0)=0
 
virtual int disconnect ()=0
 
size_t getSize () const
 
unsigned char * getPtr ()
 
virtual bool isDisconnected () const =0
 

Protected Attributes

int shm_fd
 
int shm_oflag
 
PERM shm_perm
 
size_t shm_size
 
unsigned char * shm_ptr
 

Detailed Description

Class that abstracts the method of accessing shared memory.

Definition at line 84 of file shm_base.hpp.


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