CMS 3D CMS Logo

Public Member Functions | Public Attributes

SM_SharedMemoryHandle Struct Reference

#include <FUShmOutputModule.h>

List of all members.

Public Member Functions

void detachShmBuffer ()
evf::FUShmBuffergetBufferRef ()
evf::FUShmBuffergetShmBuffer ()
 SM_SharedMemoryHandle ()

Public Attributes

evf::FUShmBuffershmBuffer_

Detailed Description

Definition at line 24 of file FUShmOutputModule.h.


Constructor & Destructor Documentation

SM_SharedMemoryHandle::SM_SharedMemoryHandle ( ) [inline]

Definition at line 26 of file FUShmOutputModule.h.

                         :
    shmBuffer_(0)
  { }

Member Function Documentation

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]

Member Data Documentation

Definition at line 50 of file FUShmOutputModule.h.

Referenced by detachShmBuffer(), getBufferRef(), and getShmBuffer().