#include <FUShmOutputModule.h>
Public Member Functions | |
void | detachShmBuffer () |
evf::FUShmBuffer * | getBufferRef () |
evf::FUShmBuffer * | getShmBuffer () |
SM_SharedMemoryHandle () | |
Public Attributes | |
evf::FUShmBuffer * | shmBuffer_ |
Definition at line 24 of file FUShmOutputModule.h.
SM_SharedMemoryHandle::SM_SharedMemoryHandle | ( | ) | [inline] |
Definition at line 26 of file FUShmOutputModule.h.
: shmBuffer_(0) { }
void SM_SharedMemoryHandle::detachShmBuffer | ( | ) | [inline] |
Definition at line 38 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::getBufferRef | ( | ) | [inline] |
Definition at line 46 of file FUShmOutputModule.h.
References shmBuffer_.
Referenced by edm::FUShmOutputModule::unregisterFromShm().
{ return shmBuffer_; }
evf::FUShmBuffer* SM_SharedMemoryHandle::getShmBuffer | ( | ) | [inline] |
Definition at line 30 of file FUShmOutputModule.h.
References shmBuffer_.
Referenced by edm::FUShmOutputModule::doOutputEvent(), edm::FUShmOutputModule::doOutputHeader(), edm::FUShmOutputModule::sendPostponedInitMsg(), and edm::FUShmOutputModule::start().
{ if(!shmBuffer_) { shmBuffer_ = evf::FUShmBuffer::getShmBuffer(); return shmBuffer_; } else { return shmBuffer_; } }
Definition at line 50 of file FUShmOutputModule.h.
Referenced by detachShmBuffer(), getBufferRef(), and getShmBuffer().