Project
Loading...
Searching...
No Matches
o2::utils::ShmManager Class Reference

#include <ShmManager.h>

Public Member Functions

bool createGlobalSegment (int nsubsegments=1)
 
void occupySegment ()
 
bool attachToGlobalSegment ()
 
voidgetmemblock (size_t size)
 
void freememblock (void *, std::size_t=1)
 
void release ()
 
int getShmID () const
 
bool hasSegment () const
 
bool readyToAllocate () const
 
bool isPointerOk (void *ptr) const
 
bool isOperational () const
 
void disable ()
 
void printSegInfo () const
 

Static Public Member Functions

static ShmManagerInstance ()
 

Detailed Description

Definition at line 58 of file ShmManager.h.

Member Function Documentation

◆ attachToGlobalSegment()

bool ShmManager::attachToGlobalSegment ( )

Definition at line 158 of file ShmManager.cxx.

◆ createGlobalSegment()

bool ShmManager::createGlobalSegment ( int  nsubsegments = 1)

Definition at line 107 of file ShmManager.cxx.

◆ disable()

void o2::utils::ShmManager::disable ( )
inline

Definition at line 99 of file ShmManager.h.

◆ freememblock()

void ShmManager::freememblock ( void ,
std::size_t  = 1 
)

Definition at line 232 of file ShmManager.cxx.

◆ getmemblock()

void * ShmManager::getmemblock ( size_t  size)

Definition at line 221 of file ShmManager.cxx.

◆ getShmID()

int o2::utils::ShmManager::getShmID ( ) const
inline

Definition at line 84 of file ShmManager.h.

◆ hasSegment()

bool o2::utils::ShmManager::hasSegment ( ) const
inline

Definition at line 85 of file ShmManager.h.

◆ Instance()

static ShmManager & o2::utils::ShmManager::Instance ( )
inlinestatic

Definition at line 61 of file ShmManager.h.

◆ isOperational()

bool o2::utils::ShmManager::isOperational ( ) const
inline

Definition at line 97 of file ShmManager.h.

◆ isPointerOk()

bool o2::utils::ShmManager::isPointerOk ( void ptr) const
inline

Definition at line 89 of file ShmManager.h.

◆ occupySegment()

void ShmManager::occupySegment ( )

Definition at line 177 of file ShmManager.cxx.

◆ printSegInfo()

void ShmManager::printSegInfo ( ) const

Definition at line 97 of file ShmManager.cxx.

◆ readyToAllocate()

bool o2::utils::ShmManager::readyToAllocate ( ) const
inline

Definition at line 86 of file ShmManager.h.

◆ release()

void ShmManager::release ( )

Definition at line 237 of file ShmManager.cxx.


The documentation for this class was generated from the following files: