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

DataTaking Class Reference

Collaboration diagram for DataTaking:
[legend]
List of all members.

Public Member Functions

int ShMemory ()
void run ()
void start_time ()

Private Member Functions

char * fmttm (char *buf, struct tm *st)

Private Attributes

SharedMemory sm
int shd_param_id
SHM_PARAMparam_ptr
double * data_ptr
key_t key
time_t t
tm * ltm
char s [50]

Member Function Documentation

char * DataTaking::fmttm char *  buf,
struct tm *  st
[private]
 

Definition at line 48 of file viewer.c.

References param_ptr, and SHM_PARAM::StartTime.

Referenced by start_time().

void DataTaking::run  ) 
 

Definition at line 72 of file viewer.c.

References SharedMemory::erase_shm(), FIN, SHM_PARAM::Hist, key, SHM_PARAM::nEvent, SHM_PARAM::nOverFlow, param_ptr, PAUSE, RESTART, SHM_PARAM::shd_param_id, shd_param_id, SharedMemory::shm_initialize(), ShMemory(), sm, start_time(), SHM_PARAM::StartTime, and SHM_PARAM::status.

Referenced by main().

int DataTaking::ShMemory  ) 
 

Definition at line 27 of file viewer.c.

References key, param_ptr, PROJ_CHAR, shd_param_id, SharedMemory::shm_access(), and sm.

Referenced by run().

void DataTaking::start_time  ) 
 

Definition at line 38 of file viewer.c.

References fmttm(), ltm, s, and t.

Referenced by run().


Member Data Documentation

double* DataTaking::data_ptr [private]
 

Definition at line 11 of file viewer.c.

key_t DataTaking::key [private]
 

Definition at line 12 of file viewer.c.

Referenced by run(), and ShMemory().

struct tm* DataTaking::ltm [private]
 

Definition at line 16 of file viewer.c.

Referenced by start_time().

struct SHM_PARAM* DataTaking::param_ptr [private]
 

Definition at line 10 of file viewer.c.

Referenced by fmttm(), run(), and ShMemory().

char DataTaking::s[50] [private]
 

Definition at line 17 of file viewer.c.

Referenced by start_time().

int DataTaking::shd_param_id [private]
 

Definition at line 9 of file viewer.c.

Referenced by run(), and ShMemory().

SharedMemory DataTaking::sm [private]
 

Definition at line 8 of file viewer.c.

Referenced by run(), and ShMemory().

time_t DataTaking::t [private]
 

Definition at line 15 of file viewer.c.

Referenced by start_time().


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