#include <FUShmOutputModule.h>
Public Member Functions | |
void | detachShmBuffer () |
evf::FUShmBuffer * | getShmBuffer () |
SM_SharedMemoryHandle () | |
Public Attributes | |
evf::FUShmBuffer * | shmBuffer_ |
Definition at line 22 of file FUShmOutputModule.h.
SM_SharedMemoryHandle::SM_SharedMemoryHandle | ( | ) | [inline] |
Definition at line 24 of file FUShmOutputModule.h.
: shmBuffer_(0) { }
void SM_SharedMemoryHandle::detachShmBuffer | ( | ) | [inline] |
Definition at line 36 of file FUShmOutputModule.h.
References shmBuffer_.
Referenced by edm::FUShmOutputModule::stop(), and edm::FUShmOutputModule::~FUShmOutputModule().
{ if(!shmBuffer_) { // no shared memory was attached to! } else { shmdt(shmBuffer_); shmBuffer_ = 0; } }
evf::FUShmBuffer* SM_SharedMemoryHandle::getShmBuffer | ( | ) | [inline] |
Definition at line 28 of file FUShmOutputModule.h.
References shmBuffer_.
Referenced by edm::FUShmOutputModule::doOutputEvent(), edm::FUShmOutputModule::doOutputHeader(), and edm::FUShmOutputModule::start().
{ if(!shmBuffer_) { shmBuffer_ = evf::FUShmBuffer::getShmBuffer(); return shmBuffer_; } else { return shmBuffer_; } }
Definition at line 45 of file FUShmOutputModule.h.
Referenced by detachShmBuffer(), and getShmBuffer().