Main Page | Namespace List | Class List | File List | Namespace Members | Class Members | File Members

SharedMemory Class Reference

#include <SMcommon.h>

List of all members.

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)


Constructor & Destructor Documentation

SharedMemory::SharedMemory  ) 
 

Definition at line 65 of file SMcommon.c.


Member Function Documentation

int SharedMemory::erase_shm struct SHM_PARAM param_ptr  ) 
 

Definition at line 57 of file SMcommon.c.

References param_ptr, and SHM_PARAM::shd_param_id.

Referenced by DataTaking::run(), and CounterDAQ::run().

int SharedMemory::shm_access key_t  shm_key,
int  shm_size,
int *  shrd_id,
int *  shm_ptr
 

Definition at line 39 of file SMcommon.c.

Referenced by CounterDAQ::run(), DataTaking::ShMemory(), and MyMainFrame::ShMemory().

int SharedMemory::shm_initialize key_t  shm_key,
int  shm_size,
int *  shrd_id,
int *  shm_ptr
 

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().


The documentation for this class was generated from the following files:
Generated on Sun Dec 14 23:32:50 2008 by doxygen 1.3.5