SHM
共有メモリを用いた高速で扱いやすいプロセス間通信マネージャ
|
Posix方式の共有メモリのアクセス方法を記述したクラス More...
#include <shm_base.hpp>
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 |
![]() | |
SharedMemory (int oflag, PERM perm) | |
size_t | getSize () const |
unsigned char * | getPtr () |
Protected Attributes | |
std::string | shm_name |
![]() | |
int | shm_fd |
int | shm_oflag |
PERM | shm_perm |
size_t | shm_size |
unsigned char * | shm_ptr |