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

Posix方式の共有メモリのアクセス方法を記述したクラス More...

#include <shm_base.hpp>

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

Public Member Functions

 SharedMemoryPosix (std::string name, int oflag, PERM perm)
 
virtual bool connect (size_t size=0)
 
virtual int disconnect ()
 
virtual bool isDisconnected () const
 
- Public Member Functions inherited from irlab::shm::SharedMemory
 SharedMemory (int oflag, PERM perm)
 
size_t getSize () const
 
unsigned char * getPtr ()
 

Protected Attributes

std::string shm_name
 
- Protected Attributes inherited from irlab::shm::SharedMemory
int shm_fd
 
int shm_oflag
 
PERM shm_perm
 
size_t shm_size
 
unsigned char * shm_ptr
 

Detailed Description

Posix方式の共有メモリのアクセス方法を記述したクラス


Definition at line 112 of file shm_base.hpp.


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