nixd
Loading...
Searching...
No Matches
Public Member Functions | List of all members
nixd::util::AutoRemoveShm Class Reference

Shared memory object, the object will be removed in dtor. More...

#include <AutoRemoveShm.h>

Public Member Functions

 AutoRemoveShm (std::string ShmName, boost::interprocess::offset_t Size)
 
 ~AutoRemoveShm ()
 
const std::string & shmName () const
 
boost::interprocess::shared_memory_object & get ()
 

Detailed Description

Shared memory object, the object will be removed in dtor.

Definition at line 8 of file AutoRemoveShm.h.

Constructor & Destructor Documentation

◆ AutoRemoveShm()

nixd::util::AutoRemoveShm::AutoRemoveShm ( std::string ShmName,
boost::interprocess::offset_t Size )

Definition at line 5 of file AutoRemoveShm.cpp.

◆ ~AutoRemoveShm()

nixd::util::AutoRemoveShm::~AutoRemoveShm ( )
inline

Definition at line 15 of file AutoRemoveShm.h.

Member Function Documentation

◆ get()

boost::interprocess::shared_memory_object & nixd::util::AutoRemoveShm::get ( )
inline

Definition at line 19 of file AutoRemoveShm.h.

◆ shmName()

const std::string & nixd::util::AutoRemoveShm::shmName ( ) const
inline

Definition at line 17 of file AutoRemoveShm.h.


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