#include <SMcommon.h>
Public Member Functions | |
SharedMemory () | |
int | shm_initialize (key_t shm_key, int shm_size, int *shrd_id, int *shm_ptr) |
int | shm_access (key_t shm_key, int shm_size, int *shrd_id, int *shm_ptr) |
int | erase_shm (struct SHM_PARAM *param_ptr) |
|
Definition at line 65 of file SMcommon.c. |
|
Definition at line 57 of file SMcommon.c. References param_ptr, and SHM_PARAM::shd_param_id. Referenced by DataTaking::run(), and CounterDAQ::run(). |
|
Definition at line 39 of file SMcommon.c. Referenced by CounterDAQ::run(), DataTaking::ShMemory(), and MyMainFrame::ShMemory(). |
|
shm_initialize(key_t shm_key, size_t shm_size,int *shrd_id,int *shm_ptr) key_t shm_key INPUT: Keyword for Shared Memory size_t shm_size INPUT: Size of the SHM [bytes] int *shrd_id OUTPUT: Pointer to the Shared Memory ID int *shm_ptr OUTPUT: Pointer to the Top of SHM Definition at line 10 of file SMcommon.c. Referenced by DataTaking::run(), and CounterDAQ::run(). |