SHM
共有メモリを用いた高速で扱いやすいプロセス間通信マネージャ
Public Member Functions | Protected Attributes | List of all members
irlab::shm::SharedMemory Class Referenceabstract

共有メモリへのアクセス方法を抽象化したクラス 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

共有メモリへのアクセス方法を抽象化したクラス


Definition at line 84 of file shm_base.hpp.


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