Belle II Software  release-08-01-10
SharedMemory Class Reference
Collaboration diagram for SharedMemory:

Public Member Functions

 SharedMemory (const std::string &path, size_t size)
 
 SharedMemory (const SharedMemory &)
 
bool open (const std::string &path, size_t size)
 
bool open ()
 
void close ()
 
bool unlink ()
 
bool seekTo (size_t)
 
bool seekBy (size_t)
 
void * map (size_t, size_t)
 
void * map ()
 
bool isOpened ()
 
const std::string & getPath () const
 
size_t size () const
 
int getfd () const
 
bool truncate (size_t size)
 
const SharedMemoryoperator= (const SharedMemory &)
 

Static Public Member Functions

static bool unlink (const std::string &path)
 

Private Attributes

int m_fd
 
std::string m_path
 
size_t m_size
 
void * m_addr
 

Detailed Description

Definition at line 19 of file SharedMemory.h.


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