Belle II Software development
|
Public Types | |
enum | { c_memFileSize = 128000000 } |
Public Member Functions | |
DqmMemFile (std::string name="dqmhisto", const std::string &mode="readonly", int size=c_memFileSize) | |
DqmMemFile (int shm_id, int sem_id, int size=c_memFileSize) | |
TMemFile * | GetMemFile () |
int | UpdateSharedMem () |
int | ClearSharedMem () |
TMemFile * | LoadMemFile () |
EvtMessage * | StreamMemFile () |
bool | SaveToFile (std::string outfile) |
Private Member Functions | |
int | StreamHistograms (TDirectory *curdir, MsgHandler *msg, int &nobjs) |
Private Attributes | |
DqmSharedMem * | m_shm |
TMemFile * | m_memfile |
char * | m_buf |
std::string | m_name |
int | m_size |
bool | m_writeMode |
Definition at line 25 of file DqmMemFile.h.
anonymous enum |
Definition at line 27 of file DqmMemFile.h.
DqmMemFile | ( | std::string | name = "dqmhisto" , |
const std::string & | mode = "readonly" , |
||
int | size = c_memFileSize |
||
) |
Definition at line 20 of file DqmMemFile.cc.
DqmMemFile | ( | int | shm_id, |
int | sem_id, | ||
int | size = c_memFileSize |
||
) |
Definition at line 47 of file DqmMemFile.cc.
~DqmMemFile | ( | ) |
Definition at line 65 of file DqmMemFile.cc.
int ClearSharedMem | ( | ) |
Definition at line 100 of file DqmMemFile.cc.
TMemFile * GetMemFile | ( | ) |
Definition at line 74 of file DqmMemFile.cc.
TMemFile * LoadMemFile | ( | ) |
Definition at line 115 of file DqmMemFile.cc.
bool SaveToFile | ( | std::string | outfile | ) |
Definition at line 191 of file DqmMemFile.cc.
|
private |
Definition at line 153 of file DqmMemFile.cc.
EvtMessage * StreamMemFile | ( | ) |
Definition at line 132 of file DqmMemFile.cc.
int UpdateSharedMem | ( | ) |
Definition at line 80 of file DqmMemFile.cc.
|
private |
Definition at line 51 of file DqmMemFile.h.
|
private |
Definition at line 50 of file DqmMemFile.h.
|
private |
Definition at line 52 of file DqmMemFile.h.
|
private |
Definition at line 49 of file DqmMemFile.h.
|
private |
Definition at line 53 of file DqmMemFile.h.
|
private |
Definition at line 54 of file DqmMemFile.h.